Introduction to Custom Test Script Types |
The built-in Command Line test script type uses a command line execution adapter included with TestManager. This adapter allows TestManager to run any test script (more precisely, any program) that can be executed from the command line. No customization is required for this extension feature. A test script run by the command line adapter can include any of the Test Script Service (TSS) calls documented in Chapter 3.
To run a test script using the command line execution adapter:
This box can also name an installed program that executes the test script. For example, perl myTestScript.pl
.
If the program must be compiled or linked, you must do this outside TestManager.
Note: If the program includes TSS calls, it must be linked with %ratl_rthome%\rtsdk\c\lib\rttssremote.lib
. (The environment variable %ratl_rthome%
, pointing to your installation path, is set during product installation.) Also, the program must connect to a TestManager listener port. Appendix A provides an example of a C program that makes TSS calls.
Rational TestManager Extensibility Reference | Rational Software Corporation |
Copyright (c) 2003, Rational Software Corporation | http://www.rational.com support@rational.com info@rational.com |