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:

To be able to click the AI Validation assistant button , you need to open a device.

  1. In the test editor, double-click the AI Visual Checkpoint command.

  2. 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 .
  3. 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.

  4. 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.