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 AI Validation Assistant might also perform calculations or suggest better wording. For a number of examples, see AI commands FAQ
To learn how to add validations with the AI Visual Checkpoint command, watch this video or review the instructions following the video. You may also want to check out the following resources:
To add a validation:
To be able to click the AI Validation assistant button , you need to open a device.
-
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).
Important: When the AI Validation assistant is open in the left pane, the device screen is paused. To interact with the device screen, click the Unfreeze device screen button.
-
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.
-
Click any of the following options in the box 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.
-