Conditionally run steps

Sometimes you need to run some steps based on a condition. For example, you may want to fill a form only when the form is shown. You need a conditional when your application logic is nondeterministic.

Adding conditionals

  1. Add a Check or a JS step.
  2. Open the conditional tab from the step.

  3. Define whether the next step is skipped when the check or the JS step passes or fails.

With the conditional, your trace can skip one or more following steps. Using routines, you can skip multiple steps.