Introduction to Custom Test Script Types

prevnext

Component Description and Communication Overview


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.)

File Path in Installation Directory Description
rttss.dll Rational Test\ The C Test Script Services library. Used for scripts executed inside TSEE process space.
rttssremote.dll Rational Test\ The C proxy Test Script Services library. Used for scripts executed by a proxy server started by the TSEA.
rttsee.exe Rational Test\ The command line TSEE. Used for testing a TSEA or TSS implementation.
tsea Rational Test\ Directory where TSEA components must reside.
rttss.lib Rational Test\rtsdk\c\lib\ The TSS LIB file for linking.
rttssremote.lib Rational Test\rtsdk\c\lib\ The TSS proxy LIB file for linking.
rttss.h Rational Test\rtsdk\c\include\ The header file defining the TSS calling interface.
tsea.h Rational Test\rtsdk\c\include\ The header file defining the TSEA calling interface.
testtypeapi.h Rational Test\rtsdk\c\include\ The header file defining the TSCA calling interface.

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:

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.

prevnext


Rational TestManager Extensibility Reference Rational Software Corporation
Copyright (c) 2003, Rational Software Corporation http://www.rational.com
support@rational.com
info@rational.com