Command-Line and Custom Adapters
Implementing Test Cases
83
Command-Line and Custom Adapters
There are two ways to extend TestManager to support a new test script type:
s
Use the command-line adapters
s
Build custom adapters or use adapters provided by Rational and its partners
Command-Line Adapters
TestManager provides two command-line adapters:
s
Command-Line Test Script Console Adapter
Use when the test script's test tool or
editor provides a command-line interface for creating and editing the test script
and when the test script can be opened with the standard File Open dialog box (for
example, Perl scripts).
s
Command-Line Test Script Execution Adapter
Use when the test script's test tool
provides a command-line interface for running the test script.
Custom Adapters
Instead of using the command-line adapters, you can build your own custom
adapters or use adapters provided by Rational Software and its partners.
There are two types of custom adapters:
s
Custom Test Script Console Adapter
Required for test scripts that are created with
a test tool that does not provide a command-line interface for creating and editing
test scripts and for test scripts that cannot be opened with the standard File Open
dialog box.
s
Custom Test Script Execution Adapter
Required if the test script's test tool does
not provide a command-line interface for running the test script.
For information about creating custom adapters, see the
Rational TestManager Extensibility
Reference
.
After these adapters have been created, you must define the new test script type in
TestManager and register the DLL. (For information, see the next section, Defining a
New Test Script Type.) You should then be able to open and run a test script of that type
from TestManager. Depending on how the Test Script Console Adapter was
implemented, you might also be able to create and edit test scripts of that type.