Error Handling

An error may be generated by either native code or any of the following instructions in a test script:

Refer to each of these keywords to see when the instructions generate an error.

Error handling behavior is specified with the keyword ON ERROR. According to the choice specified by ON ERROR, the script may continue normal execution, skip the current block, or exit.

Test Results

When no errors occur during execution of a C++ Test Script Language script, the script receives Passed status. Otherwise, it is considered Failed.

When the test is completed, the errors appear in the Report Viewer or in the UML/SD Viewer as red notes.