Echo steps

Echo steps let you print logs to the test run output. You can use echo steps to provide descriptions and annotations about the intent behind steps and flows. They can even be used to debug test by printing variable values to the output logs.

Examples of Echo Steps

  • Assert that the 'Submit' button is disabled if field is empty.
  • Creating a Generate Variable like: "{{@randomUserEmail}}" and printing its value: "[email protected]"

How to insert echo steps in a test

  1. Navigate to the step you'd like to add an echo, and ensure that the web page is in the desired state.
  2. Click the "Add step" plus button in the toolbar at the bottom of the screen.
  3. Enter a message to print to the test output logs. Both patterns and variable values will be resolved in the logs.

👍

Echo steps as headers

If you put "#", “##”, or “###” at the start of an echo step, it will become a header in the test to visually break up different parts of the test. More than three hash tags will be grouped to header level three.

259259

Example of an echo message

  1. After typing in the value you'd like to print a log about, you'll notice a step added to the test.
260260
  1. Run your test. Notice the echo step messages printed to the test output logs.
562562

📘

Echo steps won't result in test failures

If for any reason a create variable step was deleted and the echo wasn't, or if the variable name was changed, a failed echo step won't terminate the rest of your test run. We simply skip the logging and print a warning message instead.


Did this page help you?