我的任務是運行使用VSTS Build在Jenkins Build中創建的HP-UFT測試腳本,然後自動傳遞測試腳本並將測試結果附加到Test Hub中創建的相關測試用例中。 步驟我跟隨: -如何使用構建和發佈定義在Test Manager/Hub內運行自動化測試?
1. Download the Private Agent(Windows) and create a Build Definition using Jenkins Template.
2.Create a Jenkins Connection(Jenkins is on my Local)using Service Endpoint, Add the following Tasks in the Build Definition.
1.Queue Jenkins Job 2.Download Artifacts 3.Publish Artifacts
4.Publish Test Results
3.Queue the Build using Default Agent Queue,and Build got succeeded.
Hence I am able to integrate Jenkins with VSTS. Now Next Task is to associate this Build with a particular Test Case in Test Hub and attach the screenshots there and automatically pass/fail the Script based on Build Status.
我下面在https://www.visualstudio.com/en-us/docs/test/continuous-testing/run-automated-tests-from-test-hub
提到的步驟請注意: - 我的測試不是基於Visual Studio和更確切地說,它這是使用運行自動化測試案例HP工具稱爲UFT。
如果使用Unified Functional Testing擴展進行測試,結果如何? –
@ starain-MSFT我正在執行https://github.com/hpsa/ADM-TFS-Extension/wiki/Unified-Functional-Testing-(UFT)-TFS-Extension中提到的步驟 我被困在錯誤消息: - 「找不到具有以下功能的代理程序:UFT_LAUNCHER」 –
您是否重新啓動構建代理? unpack.ps1應該添加UFT_LAUNCHER環境變量。 –