标题: 紧急求助:winrunner的delphi插件如何使用 [打印本页] 作者: zibeike 时间: 2008-1-6 11:49 标题: 紧急求助:winrunner的delphi插件如何使用 安装了winrunner插件,看好像需要输入delphi工程的路径,这样的话,测试的时候必须是用Delphi程序的源码吗?如果不在工程里加入Delphi的插件,是不是即使启动的时候选择了delphi插件,对delphi程序也是不起作用的哪? 如果识别不了控件,可以用什么方法解决呢? 热切盼望回复,谢谢。作者: lantianwei 时间: 2008-1-6 16:51
估计还是没有注册码的问题,但很难解决,我也没有作者: lantianwei 时间: 2008-1-6 17:54
以下信息希望对你有所帮助
There are two ways to setup Delphi Support with the TestSrvr Unit. You can run the Delphi Project Setup Wizard or Link to the TestSrvr.pas module. The TestSrvr unit is a WinRunner agent that handles communications between WinRunner and your Delphi application.
Using the Delphi Project Setup Wizard To Enable Communications
You must run the Wizard for each Delphi project that you want to test.
Run the Delphi Project Setup Wizard and follow the instructions on the screen.
Recompile your project.
Linking to the TestSrvr.pas Module to Enable Communications
You must perform the following steps for each project that you want to test.
1. Add the WinRunner Installation folder\TestSrvr folder to your Delphi project search path or copy the contents of the WinRunner Installation folder\TestSrvr folder to your project folder.
2. Add TestSrvr to the Users section of your applications project file (project.dpr) as shown in the example below:
program flight;
uses
TestSrvr,
Forms,
Windows;
($R*.RES)
begin
Application.Initialize
Application.Title :='Flight Reservation';
Application.Run;
end.
Note that TestSrvr must be the first unit in your project.
3. Compile your Delphi project.
Configuring Support for TwwDBGrid
If your application includes the TwwDBGrid from InfoPower, follow the instructions below to
enable support for this grid.
1. Add MercWwControl, to the Users section of your applications project file (project.dpr) after TestSrvr as shown in the example below:
program flight;
uses
TestSrvr,
MercWwControl,
Forms,
Windows;
($R*.RES)
begin
Application.Initialize
Application.Title :='Flight Reservation';
Application.Run;
end.
2. Recompile your appliction.作者: ryqkitty 时间: 2008-1-7 17:13
去下个插件来装下,不然的话,有点麻烦的。
我看到精华区里面有的下载的哦!