Documentation

VerifyGreaterThan

VerifyGreaterThan command is used to verify that first value is greater than second value. It verifies that left hand side is greater than right hand side numerically , where left hand side is represented by either Locator(Page and Element) or value mentioned in element section and right hand side is represented by the value mentioned in parameter section.

Select VERIFYGREATERTHAN 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 greater 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 VERIFYGREATERTHAN 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 greater than second value then this test step will pass else this will fail.

Was this page helpful?