PHP: Make test fail

In order to make a test fail due to changes in data, click Editor->Control->EVAL to insert a PHP code evaluation.

See How to evaluate a PHP commands to manipulate variables and clipboard (Experimental feature) for details on EVAL action.

EVAL error("Text 'Step 1' not found.")

Makes the test fail with “Text ‘Step 1’ not found.” as error message:

Befor playing EVAL step.
After playing EVAL error(“Text ‘Step 1’ not found.”)


If we would like to assert that the clipboard contains value “Testing” use

EVAL $CLIPBOARD=="Testing"||error("myerror")

Well done so far!

Was something unclear?

We have our own Slack workspace for your support, which you are welcome to join.