Introduction to Custom Test Script Types |
The following table lists and describes the test script adapter components on Windows NT systems. (UNIX systems have components of the same names but with appropriate suffixes.)
The following Rational Rose® diagram illustrates how the test script adapter components described in the previous table work together, using the Rational Java adapter components as an example.
A TestManager suite can contain many test scripts of different types. When a user runs a suite, TestManager relies on the Test Script Console Adapter (TSCA, described in Chapter 4) to locate scripts of the supported types, and to associate each script type with the programs(s) used to edit or view the scripts. The TSCA used for Java test script types is rtconsoleadapter.dll
, located in the Rational Test
folder under the Rational installation directory.
To play back test scripts, TestManager starts a Test Script Execution Adapter (TSEA) that knows how to execute each test script type. The Java TSEA is rttseajava.dll
, located in the Rational Test\tsea
folder under the Rational installation directory.
The design of a TSEA differs depending on the languages involved and on its scope. The Java TSEA in the diagram has four components:
rttseajava.dll
) implementing the TSEA API (described in Chapter 2). This is the component that receives and responds to calls from the TSEE and initializes a Java virtual machine. A session is opened and one or more tasks (scripts of type Java) are created. The TSEE remains in contact with the TSEA C component until the session is complete.
rttseajava.jar
) that executes Java scripts, which may include calls to the rttssjava.jar
component.
rttssjava.jar
) implementing, in Java, the TSS C library functions in rttss.dll
(Chapter 3).
rttssjava.dll
). Calls from rttssjava.jar
to rttss.dll
go through this layer, which converts between Java and C data types and structures.
At the bottom of the diagram is the Test Script Services library, implemented by a dynamic-link C library. This is the layer where requested services are performed and integrated into the TestManager UI. The Java TSEA can be linked with rttss.dll
for direct script execution or with rttssremote.dll
for proxy execution.
Rational TestManager Extensibility Reference | Rational Software Corporation |
Copyright (c) 2003, Rational Software Corporation | http://www.rational.com support@rational.com info@rational.com |