|
QTP的delphi插件安装后,还需要对被测程序进行配置才能正常使用。
方法如下:
You must perform the following steps for each application that you want to test.
To link to the MicDelphiAgent.pas module:
1. Add the <QuickTest Professional Installation folder>\dat\Extensibility\Delphi folder to your Delphi project search path or copy the contents of the <QuickTest Professional Installation folder>\dat\Extensibility\Delphi folder to your project folder.
2. Add MicDelphiAgent to the Uses section of your application's project file (project.dpr) as shown in the example below:
program flight;
uses
MicDelphiAgent,
Forms,
Windows;
($R*.RES)
begin
Application.Initialize
Application.Title :='Flight Reservation';
Application.Run;
end.
3. Compile your Delphi project. |
|