Working with Test Scripts |
If you trap errors in your test script, you are intercepting the errors before TestManager can become aware of them. If you handle the error and take no other action, the script continues to run, and TestManager could log a Pass result for the script.
If an error occurs and the script does not contain error handling logic, the test script stops running, the next script in the suite is run, and TestManager logs a Fail result for the script and a description of the error.
If you want to trap certain errors, but you want the log to reflect a Fail result for the test script, use one of the Test Script Services logging methods to log the Fail result.
Rational Test Script Services for Visual Basic | Rational Software Corporation |
Copyright (c) 2003, Rational Software Corporation | http://www.rational.com support@rational.com info@rational.com |