Scenarios

Overview

A scenario is a high-level description of what you are testing. It consists of Steps that break down the scenario further, and Assertions that serve as validation criteria. A scenario can only be considered a success if it meets the validation criteria. Otherwise, it will be tagged as failed.

Create a new scenario

To create a new scenario, follow these steps:

  1. Add a new scenario node.

  2. Enter a valid name of the new scenario in the Create/Select Scenario field.

  3. Optional. Add a description for your scenario.

To add steps and assertions to your scenario, see Create a Test Flow.

Rename a scenario

To rename a scenario, follow these steps:

  1. Select the scenario node.
  2. Enter a new name.
  3. Select Rename to <new name>.
  4. Click Rename on the popup window.

The scenario with a new name is displayed.

Clone a scenario

To clone a scenario, follow these steps:

  1. Select the scenario node.
  2. Enter a new name.
  3. Select Clone to <new name>.
  4. Click the Clone button.

The cloned scenario replaces the older scenario.

Delete a scenario

To delete a scenario, click the more options icon in the upper-right corner of the scenario box, then select the Remove icon from the menu.

A prompt will ask whether to delete the scenario from this flow or from the entire version. Select your preferred option to continue.

Delete from test flow

If you select Remove from test flow, the scenario is deleted only from the current flow. Other flows using the scenario remain unaffected. There is no confirmation prompt, so verify you have selected the correct scenario before proceeding.

Delete scenario entirely

If you select Delete scenario entirely, the scenario is permanently removed from the version.

If the scenario is used in other flows, a pop-up will display all affected flows. You must delete the scenario from these flows before proceeding.

After deleting the scenario from all flows, you can now delete it entirely. A prompt specifying the version where it will be deleted is displayed.

Scenario usage

In the scenario usage tab, all the flows using the selected scenario node are displayed.

When the hyperlink is clicked, a new tab will open displaying the selected flow.