51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1963|回复: 4
打印 上一主题 下一主题

[原创] QTP9.2 高手请帮忙!!!!

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2007-8-21 17:16:13 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我在QTP9.2的帮助上看到如下一段内容,想设置一下,没有找到。请求高手帮指引下!不是看不懂英文,是找不到设置!

     Although by default, the Browser test object has only the CreationTime property in its description, you can add properties to the description to enhance proper Browser identification. For example, the HasToolbar identification property (True/False) can be used to help filter out popup advertisement browser windows, which do not normally have toolbars, and the OpenedByTestingTool identification property (True/False) can help to identify the specific browser(s) that QuickTest opened. You can add these identification properties to the default browser object definitions in the Object Identification dialog box or to a specific browser object in the Object Properties dialog box or the Object Repository dialog box.

解释一下:
1.启用HasToolbar功能,过滤掉弹出的广告窗口
2.启用OpenedByTestingTool功能,过滤其他已经打开的窗口

[ 本帖最后由 three116 于 2007-8-21 17:48 编辑 ]
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

  • TA的每日心情
    开心
    2016-2-27 08:48
  • 签到天数: 2 天

    连续签到: 1 天

    [LV.1]测试小兵

    2#
    发表于 2007-8-22 00:08:13 | 只看该作者
    不明白楼主有什么不明白的地方,这是以Browser 对象来说明的。默认情况下 识别Browser 对象只有CreationTime 这个属性,根据需要,你也可以增加HasToolbar 或OpenedByTestingTool  这些属性去以更好地识别Browser 对象。

    实在 不知道楼主到底有什么问题。另外,楼主对OpenedByTestingTool的理解有误
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    3#
     楼主| 发表于 2007-8-22 09:48:22 | 只看该作者

    谢谢walker的答复!

    看了你的答复,我懂了,会设置了。本来以为在界面上有选项可以设置,实际上是在对象仓库中添加对象属性对话框中添加HasToolba和OpenedByTestingTool属性。
    不好意思上面的英文没看完,最后一句说明了怎么设置了!

    OpenedByTestingTool属性我理解错了,能帮解释下吗?
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2016-2-27 08:48
  • 签到天数: 2 天

    连续签到: 1 天

    [LV.1]测试小兵

    4#
    发表于 2007-8-22 22:32:29 | 只看该作者
    the  OpenedByTestingTool identification property (True/False) can help to identify the specific browser(s) that QuickTest opened
    OpenedByTestingTool  识别属性(True或False)可以帮助你识别QTP已打开的特定窗口。
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    5#
     楼主| 发表于 2007-8-23 09:46:24 | 只看该作者
    哦谢谢了
    问题已经完全解决了
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

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

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

    GMT+8, 2024-6-27 14:44 , Processed in 0.088200 second(s), 27 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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