VerifyLessThan

VerifyLessThan command is used to verify that first value is less than second value. It verifies that LHS is less than RHS numerically , where LHS is represented by either Locator(Page and Element) or value mentioned in element section and RHS is represented by the value mentioned in parameter section.

Select VERIFYLESSTHAN command from the action drop down, leave Screen blank, provide first value in Element key and second value in parameter section as shown below:

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

If first value is less than second value then this test step will get pass else this step will get fail.

In case we are comparing a value from a web element with another value in that case user has to select VERIFYLESSTHAN command from the action drop down, select desired Screen name, Element key and second value to compare in parameter section.

If first value(found on the web page using locator) is less than second value then this test step will pass else this will fail.

Was this page helpful?