环境是QTP10+Delphi
用的QTP10自带的Delphi插件作者: lj1989524 时间: 2010-11-23 12:15
坐等高人作者: yunbin_7 时间: 2010-11-23 16:38
还没有用过Delphi。。期待别人的解答。作者: TIB 时间: 2010-11-25 16:15
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.作者: TIB 时间: 2010-11-25 16:16
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.作者: FLY000 时间: 2010-11-30 16:02 回复 1#lj1989524