Can I branch [Scenarios] with if statements and while statements?
  • 09 Apr 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Can I branch [Scenarios] with if statements and while statements?

  • Dark
    Light

Article Summary

At this time, we do not support branching or looping when testing.

However, there are ways to create a single [Test Scenario] without a need for branching:

  • If you want to check if one of the branches fails:
    In the Scenario Edit Page, click on the step that you want to check for failures. Click on the When this step fails dropdown, select Ignore and continue.

  • If there is a large number of steps in the branching Test Scenario:
    Create a [Step Group] for the test content up to the point of branching. Then, select [Step Group] from the New Scenario Page and create a scenario for each branch.

Related article:


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.