Documentation

VerifyContains

VerifyContains is used to verify if the given string or part of string(substring) is available on the specified locator on the web page or not.

Select VERIFYCONTAINS command from the action drop down, select desired Screen name, Element key and provide the string or substring in the parameter section as shown below:

After completing this step, test step will look as below:

If the string or part of string (substring) is found on the specified locator on the web page then this test step will pass else this will fail.

Was this page helpful?