Device log validation in Perfecto automation

You can validate that the device log contains a specific text by retrieving text from the device log and using it as input for a validation step in a Perfecto automation script.

To perform device log validation through automation:

  1. Define a variable of type String, with no value and clear the Runtime checkbox.

  2. Add the Device log command to the script using the variable defined in step 1 as the result variable.

  3. Add a string command checkpoint using the same variable as the evaluated variable, Contain as the operator, and the text you're looking for as the value.

  4. If you want the script to fail in case the text is not found, change the On Error policy of the validation from CATCH to ABORT. If you want to use the checkpoint as a logical branch in your script, add a condition: