51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 3244|回复: 3
打印 上一主题 下一主题

WinRunner VB Support?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2004-11-12 15:16:13 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在WinRunner安装包中,有个vbDev文件夹,其中的ReadMe记载了一个WinRunner VB support的方法。 如下:

WinRunnerAddIn.Connect:
1.        Adds a reference to the 'wrvbasr.dll' component.
2.        Adds a new code Module to the VB Project called "WinRunnerSupport".
3.        Adds a line to the WinRunnerSupport Module:
        Global asr As New WRVBASRLib.VbMod
4.        Adds code to the StartUp object:
        If the Startup Object is a Form, the AddIn adds the following line of code to the Form_Load event:  asr.Init Forms

        If the Startup Object is Sub Main, the AddIn adds the following line of code to the Main() method:  asr.Init Forms


我试了一次,发现对VB控件的识别不如没加载这个DLL,尤其是对第三方的控件。 不知道哪位大虾能解释一下?这到底是怎么回事?
:s
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏

该用户从未签到

2#
 楼主| 发表于 2004-11-15 11:31:21 | 只看该作者

没人睬我! 郁闷ing

回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2004-11-15 12:50:14 | 只看该作者
那你这个可以加上去吗?自己试一下吧!

我对这个不太了解?
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2004-11-15 12:55:06 | 只看该作者
第三方控件就不好说
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-5-6 00:36 , Processed in 0.072119 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表