Before you can test your Delphi applications, you must install the Rational燨bject Testing Library for Delphi and the Rational Test Delphi Enabler. You then need to run the Enabler, which adds one line of code (SQASrvr,) to your project, and then you need to recompile your project in Delphi to make it Robot-testable.
Be sure to install Delphi 3.0, 4.0, or 5.0 for Windows Me, NT, XP, 98, or 2000 before you install the Object Testing Library for Delphi and the Enabler.
To install the 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.
3Type drive:\SETUP.EXE and choose OK to start the Rational Setup wizard.
4When the list of Rational Test Enablers appears, choose Rational Test Delphi Enabler.
5.Follow the onscreen instructions to complete the installation.
To add the Rational Object Testing Library:
You now need to run the Enabler, which adds one line of code to your project, and爐hen you need to compile the project. You only need to run the Enabler once for each project you爓ant to make testable.
1.Click Start ?Programs ?Borland Delphi
?Rational Test Delphi Enabler to open the Enabler.
2.Click Browse under Delphi Project. Select the project you want to make Robot-testable and click燨K.
3.Choose the correct compiler version, depending on which version of Delphi you have installed on your computer.
4.Select Add Rational Object Testing Library
5.Optionally, uncheck Backup Project File if you don抰 want a backup file to be created before the project file is converted.
6.Optionally, uncheck Launch Delphi After Conversion if you don抰 want Delphi to be automatically started after the conversion. (If this is not checked, you will need to start Delphi manually after the conversion.)
7.Click Convert. The Enabler will:
-Optionally create a backup file of the project.
-Add the line SQASrvr, to your project file (after the uses line).
-Optionally start Delphi.
8Click the Close button in the Enabler. If an information dialog pops up, click Yes to reload the project.
9In Delphi, recompile your project.
Note: The Rational Object Testing Library is not visible and is non-intrusive, and there are no license restrictions on it. Therefore, you can leave it in the application when you distribute it. However, see Removing the Rational Object Test Library if you wish to remove it from your project.
我遇到以下问题:
我是先安装的delphi6.0和它的补丁。
再安装robot2003(我的robot2003大概320MB不知道大小对不对),已经robot的补丁。
然后在安装“To install the Enabler:”的时候,执行到第4步就出现问题了。原文是“4。When the list of Rational Test Enablers appears, choose Rational Test Delphi Enabler.”但是我根本在安装过程中找不到
list of Rational Test Enablers appears,这到底是怎么回事呢?
我的版本是2003.06.00.436.000作者: z517testing 时间: 2004-12-10 15:34
一般可以安装,你在网上重新下载一个Rational Test Enablers试一试!作者: wookt 时间: 2004-12-13 15:07 标题: z517testing你好,Rational Test Enablers是robot的一个组件吗?