It's can be used to judge whether the page has the content you want.

This action notifies the program that you wish to validate whether for an element "Target is Found", "The Text Exists" or "Does Not Exist". Such Validation Actions help your program detect special conditions pertaining to the element before performing further actions on the element.


Validate Type

1. successful text

Whether the page has the text. e.g. 'OK', 'success', 'welcome'...


2. failing text

Whether the page has this failing text. e.g. 'fail', 'error'..


3. found target

Whether can find the target on the page. See select target.


4. js result

Run the javascript code on page, and validate the return value. For example:

rs = false;

will validate to fail.