There are scenarios in which a test step should be made optional. Meaning, even if the optional step fails, the test will continue moving forward without interruption. There are also scenarios in which a test step will require suppression, meaning the step when flagged, will not have its action carried out, thus not affecting the test case. In this tutorial, learn how to set both scenarios.
To Make a Step Optional or Suppressed in a Test Case
1. Go to the Project>>Functional Tests Tab.
2. Select the test case and click on the test Actions drop-down menu >> Details.
3. Click into a test step to get to the slider view. To make a step optional or suppressed:
4. Select the step, then click on the gear icon. See below:
4. This will open that step and offer the Optional Action and Suppress Action checkboxes to be selected.
Select Optional Action to make the step optional. This means even if the steps fail, the test will continue forward.
Select Suppress Action to flag the step, indicating its action should not be carried out at all during test execution. Use case: If a test case flow is temporarily changed and the edit of the entire test is not desired or perhaps to carry out a/b test workflows for comparison.
*Notice when Optional Action has been checked, the Optional flag will display for that action. The same will show for Suppress Action.
There also exists a second way to mark a step optional or suppressed. See below for futher instruction:
1. In slider view, select Edit Action Log from the Edit drop-down menu (see below)
4. Go to the second tab titled SETTINGS See the list of options. Specifically, Optional Action and Suppress Action.
7. Then click Save to save the selections.