QTP是性能測試的良器。許多人都用它來做功能測試,但是它有個缺陷是批量執行測試案例的功能太弱。還好,QTP開發公司
推出了“Multi Test Manager ”。
今天打算進行批量案例執行,發現無法執行,報下面的錯誤:
Unable to launch QuickTest Professional. Try and end theses processes from the Task Manage: "QTAuto~1EXE" and "QTPro.exe"
如圖:
錯誤原因:
1. QTP中沒有開啓允許外部程序運行案例的選項。
2. QTP沒有啓動。(很鬱悶吧,你必須先運行了QTP才能運行它!)
解決方法:
1. QTp菜單點擊“Option”-> “RUN”選項卡,將下面的
“Allow other Mercury products to run tests and components”打上勾。
2. 在運行“Multi Test Manager”前啓動QTP。