...
OnError Settings for Suite Execution
On the Suite Suites screen, you can set following OnError optionsflags as per the test case requirements:
- ExitSuite: In case of any failure at any TC level or task level step of any task of a TestCaseTest Case, the suite execution will be stopped.
- ExitTCIteration: In case of any failure, execution will be skipped for the current iteration of the test case and execution will be continued for next iteration. If there is only one test case iteration, then the test case execution will stop and next Test Case in suite will be executed.
- Continue: Continue execution of suite in case of any failures.
...
Combination of OnError setting on the Test Cases and Suite Screen
...
- If on the Suites screen, user specifies value as "Continue" and on the Test Cases screen, values specified are "ExitTask" or "ExitTCIteration", then settings specified on the Test Cases screen will be applicable.
- For values other than "Continue", the setting on Suites screen overrides the settings specified on the Test Cases screen.
- If any task in a Test Case has "ExitTCIteration" / "ExitTask" / "Continue" on the Test Cases screen, but has "ExitSuite" on Suites screen, then in case of any error in Test Case (excluding invalid expression), Qualitia will effectively exists the suite execution.
On Error Condition |
| Overriding Screen | Result |
---|---|---|---|
TC Screen | Suite Screen | Setting |
|
Continue | Continue | TC | Continue |
ExitTask | Continue | TC | ExitTask |
ExitTCIteration | Continue | TC | ExitTCIteration |
Continue | ExitTCIteration | Suite | ExitTCIteration |
ExitTask | ExitTCIteration | Suite | ExitTCIteration |
ExitTCIteration | ExitTCIteration | Suite | ExitTCIteration |
Continue | ExitSuite | Suite | ExitSuite |
ExitTask | ExitSuite | Suite | ExitSuite |
ExitTCIteration | ExitSuite | Suite | ExitSuite |