zw261432300 发表于 2010-12-27 15:21:48

QTP录制delphi程序为什么录制不了

公司的软件大部分都是用delphi开发的,我用QTP9.5并且装载了delphi9.5的插件,但是在录制的时候脚本没有反映,是怎么回事?
我是QTP菜鸟,请达人指教,感激不尽!上图

FLY000 发表于 2011-1-18 11:41:23

dephi程序要开发编译的时候,加一条语句

FLY000 发表于 2011-1-18 11:45:37

帮助文档的内容
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.
页: [1]
查看完整版本: QTP录制delphi程序为什么录制不了