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.

You can include variables in your validation, either by selecting them from a list of existing variables or by creating a new variable as you type. To learn more about variables in Scriptless Mobile, see Configure test variables.

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

Important: If you access and use any features provided in Beta mode, we would love to hear your feedback or functionality suggestions before the Beta feature becomes generally available and fully supported under a subscription license model. Feel free to contact Perfecto Support anytime!
Tip: During your dialog with the assistant, click thumbs-up on good answers, or click thumbs-down if the assistant's answer was not helpful. Thank you!

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.

  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 . This 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. The validation can include one or more variables:

    • To add a variable, type ${. This brings up the list of existing variables you can select from (provided any variables are defined).

    • To create a new variable, enter it in the following format: ${variable-name}

  4. To submit your validation, click the send button .

  5. If prompted for a variable value, enter the missing value.

  6. Based on the results and the suggested validation, do any of the following:

    • If the result is satisfactory, click Apply.

    • If you want to test 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.