【问题标题】:How to know that in QTP/UFT which add-in's were used in any random test project?如何知道在 QTP/UFT 中任何随机测试项目中使用了哪些插件?
【发布时间】:2016-02-27 13:18:04
【问题描述】:

这里的情况是我有一个已经测试过的项目,但我不知道该测试项目中使用了哪些加载项,所以我的问题是我如何知道该测试中使用了哪个加载项项目使用该测试脚本准备测试环境?

【问题讨论】:

    标签: testing vbscript qtp hp-uft qtplugin


    【解决方案1】:

    您可以使用 QTP/UFT 自动化对象模型获取该信息。

    Set QTP = CreateObject("QuickTest.Application")
    arrAddins = QTP.GetAssociatedAddinsForTest(testPath)
    

    参考:

    http://helpfiles.intactcloud.com/QTP/11.00/QTP11-00_AutomationObjectModel/QuickTest~Application~GetAssociatedAddinsForTest.html

    【讨论】:

      【解决方案2】:

      您可以打开测试,然后您可以从“文件-设置-属性”查看和修改已打开测试的加载项。

      您可以使用插件管理器执行的其他操作如下链接所示

      http://www.ufthelp.com/2013/04/understanding-add-in-manager-in-uft.html

      检查该链接的重要部分以查看我指定的选项的屏幕截图。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2021-01-18
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2013-01-02
        • 2011-12-19
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多