简体   繁体   中英

How to know that in QTP/UFT which add-in's were used in any random test project?

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

You can get that info using QTP/UFT Automation Object Model.

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

Ref:

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

You can open the test and then you can check and modify the add-in's for opened test from “File-Settings-Properties” .

Other things you can do with Add-in Manager are shown in below link

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

Check the Important section of that link to see the screenshot of the option that I have specified.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM