background image
<< Chapter 18 - Testing Delphi Applications | To add the Object Testing Library >>
<< Chapter 18 - Testing Delphi Applications | To add the Object Testing Library >>

Running the Rational Test Delphi Enabler

Testing Delphi Applications
18-2
Making Delphi Applications Testable
Before you can test your Delphi applications, you must install the Rational Object
Testing Library for Delphi and the Rational Test Delphi Enabler. Then run the
Enabler, which adds one line of code (
SQASrvr,
) to your project, and then
recompile your project in Delphi to make it Robot-testable.
Installing the Rational Object Testing Library and Enabler
Be sure to install Delphi 3.0, 4.0, or 5.0 for Windows NT, Windows Me, Windows
2000, or Windows 98 before you install the Object Testing Library for Delphi and
the Enabler.
To install the Library and Enabler:
1. Insert the Rational Suite CD-ROM into your CD-ROM drive.
2. Do one of the following:
From the Windows taskbar: Choose Start >
Run.
From Program Manager: Choose File >
Run.
3. Type
drive:\SETUP.EXE
and choose OK to start the Rational Setup wizard.
4. When the list of Rational Test Enablers appears, choose Rational Test Delphi
Enabler.
5. Follow the onscreen instructions to complete the installation.
Running the Rational Test Delphi Enabler
After you install the Object Testing Utilities, run the Delphi Enabler, which adds
one line of code to your project and compile the project.
You only need to run the Enabler once for each project you want to make testable.
NOTE: You may freely distribute the Rational Object Testing Library for Delphi
and the Enabler. The SQAOBTST directory on the CD-ROM contains a setup
wizard for these and other items. You may copy this directory to a network drive
or to a diskette for distribution to your developers.
NOTE: The Rational Object Testing Library is not visible, is nonintrusive, and
has no license restrictions on it. Therefore, you can leave it in the application
when you distribute it.