exit test case
Description
Exit the current test case (skip all remaining action lines in the current test case), and then continue with the next test case.
Arguments
exit status
(Optional) Determine whether the overall final result status must be Not Finished or not. (See Notes below.)
Possible values:
- complete: The operation is successful.
- incomplete: (Default) The operation is unsuccessful.
Valid contexts
This action may be used within the following project items: test modules and user-defined actions.
Notes
This action can be used to handle an error situation.
This action will exit from the
INITIAL
andFINAL
sections of a test module, as well as from test cases.When invoked from within a user-defined action, the calling test case is exited.
exit status argument:
- This argument applies to TestArchitect 8.3 Update 5 and higher.
Table 1. Exit Status Reference
Status Description Incomplete (Default) The overall status of test results is always Not Finished. Complete The overall status of test results is not necessarily Not Finished.
Applicable Built-In Settings
The following settings are applicable to this action: none.
Example - Case 1: Exit status is Incomplete
Action Lines
Result
When exit test case with the value of Incomplete is executed, the overall status of this test result is Not Finished.
Example - Case 2: Exit status is Complete
Action Lines
Result
When exit test case with the value of Complete is executed, the overall status of this result is by definition Not Finished. Inf act, in this example, the status is Passed, because checkpoints are successful.