标题: QTP录制delphi程序为什么录制不了 [打印本页] 作者: zw261432300 时间: 2010-12-27 15:21 标题: QTP录制delphi程序为什么录制不了 公司的软件大部分都是用delphi开发的,我用QTP9.5并且装载了delphi9.5的插件,但是在录制的时候脚本没有反映,是怎么回事?
我是QTP菜鸟,请达人指教,感激不尽!上图作者: FLY000 时间: 2011-1-18 11:41
dephi程序要开发编译的时候,加一条语句作者: FLY000 时间: 2011-1-18 11:45
帮助文档的内容
1: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.
2: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.