我的任务是运行在Jenkins Build中使用VSTS Build创建的HP-UFT测试脚本,然后自动传递测试脚本,并将测试结果附加到在Test 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中提到的步骤



发布于 2017-07-24 23:49:18
HP在Marketplace上提供了适用于VSTS的UFT测试工具,允许您运行UFT测试脚本。但是,如果这些任务与VSTS测试用例交互,我会感到非常惊讶。我确信可以使用UFT的测试结果更新VSTS中的测试用例,但我对UFT平台还不够熟悉,无法推测如何实现这一点。
https://stackoverflow.com/questions/45276084
复制相似问题