Create AI-powered validations
With the help of the AI Validation Assistant, you can check whether a scenario is true or false, or whether certain information is present or absent on the device screen. The AI Validation Assistant helps you turn your question into a valid pass or fail validation that you can then include as a value for the Validation parameter in the AI Visual Checkpoint command. The answer results in a pass or fail value.
While answering a validation question, the Validation Assistant might also perform calculations or suggest better wording.
Example
The following screenshots show sample validations. Click a screenshot to enlarge it.
Scenario: Online banking app
Scenario: Online book shop
To learn how to add validations with the AI Visual Checkpoint command, watch this video or review the instructions following the video.
To add a validation:
Make sure to open a device before using the AI Validation assistant button .
-
In the test editor, double-click the AI Visual Checkpoint command.
-
In the parameters pane, navigate to the Validation parameter, and click the AI validation assistant button .
The AI Validation assistant button appears only when the Usage value is Constant (default).
-
In the AI Validation assistant pane, at the bottom, type a validation.
At the top of the AI Validation assistant pane, AI presents you with the answer.
-
Select any of the following options based on the results and the suggested validation:
-
If the result is satisfactory, click Apply.
-
If you want to try validating the screen with the AI-suggested validation, click Try. Post validation, if the results are satisfactory, click Apply to include the validation as a value for the Validation parameter.
-