Working with Test Scripts |
When running a test script, TestManager checks the time stamp of the compiled script. If the compiled script is out of date, TestManager compiles the script before running it.
To compile a script, TestManager locates the compiler javac.exe on your computer's system path. If TestManager can't find a compiler, it generates an error.
For information about running scripts with TestManager, see the Rational TestManager User's Guide.
A Java script is compiled to a .class file. By default, the file is stored in the test script source folder.
The .class file is assigned the same root name as the .java file.
If a script contains inner classes (classes declared within classes), each class is compiled to its own file.
You can enter Java compiler options by doing the following from TestManager:
_TMS_TSO_JAVA_COMPILATIONFLAGS
This method specifies command-line options, which take precedence. For example, option - classpath overrides the classpath environment variable.
Rational Test Script Services for Java | Rational Software Corporation |
Copyright (c) 2003, Rational Software Corporation | http://www.rational.com support@rational.com info@rational.com |