You can control how your steps in your test case behave or take action based on conditions that you set.
To do this, follow the steps below:
1- Navigate to your test case and click on the step where you need to make conditions.
2- Select one of the Runtime Options that best suits your condition. The following are the available options:
- Halt on Failure: If this step fails, the entire test case will stop running. This can be used to make sure a step to be needed for the entire test case to continue and is not possible without it.
- Continue on Failure: If this step fails, the entire test case will resume normally but this step will be marked as Fail. This can be used to ignore particular steps if they are not necessarily needed for this test case to complete. A description will appear to inform you what this step encountered while running.
- Continue with Pass Status: If this step fails, the test will resume normally but this step will be marked as Pass whether or not it failed. A description will appear to inform you what this step encountered while running.
Additional Options:
You can also use one of the following additional options prior to running your test case:
1- Skip: this is used to skip a step while the test case is running. You can click on the checkbox under Skip next to the step you do not want Subject7 to run.
2- Breakpoint: You can add a breakpoint for your test case to stop when reaching this breakpoint. This can be done by clicking the checkbox under Break next to this step. This will highlight the entire step in red to indicate the break.
Comments
Please sign in to leave a comment.