Working with Test Scripts

prevnext

Returning Information from Test Scripts


Test Script Services calls can deposit information in any of these locations:

The following sections describe these locations.


Test Log

TestManager uses the test log (or log) to list the test cases that have been run and record whether they pass or fail. TestManager generates reports based on the logged information.

You can also write pass/fail results to the log as well as log messages and report errors.

The following are the Test Script Services logging methods:

For additional information about logging errors, see Trapping Errors.

TestManager determines the location of the log file as follows:


Error File and Output File

As a development and debugging aid, you can write information to an error file and an output file.

Use the utility methods StdErrPrint and StdOutPrint to write to the error and output files.

TestManager determines the location of the error and output files as follows:


TestManager Shared Memory

Shared memory is used to provide data for the TestManager runtime console. Shared memory is also used to pass information between test scripts.

To write data to shared memory, use the methods described in the following sections:

These methods work only in test scripts that are run from TestManager.

prevnext


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