admin管理员组文章数量:1296305
I am working with azure devops, and using Java selenium to runs test scripts. The problem I am facing is that when I try to post the results back to test case, it creates new run ID and posts there, instead of the triggered run.
As per Vs Test Run; I have run ID as below;
But when I enabled the Publish Result to Azure Pipelines on Maven Task, it publishes the result with new Run ID as below;
My intention is to update the result on the same run ID as per VS Test Run. How can I do this?
I am working with azure devops, and using Java selenium to runs test scripts. The problem I am facing is that when I try to post the results back to test case, it creates new run ID and posts there, instead of the triggered run.
As per Vs Test Run; I have run ID as below;
But when I enabled the Publish Result to Azure Pipelines on Maven Task, it publishes the result with new Run ID as below;
My intention is to update the result on the same run ID as per VS Test Run. How can I do this?
Share Improve this question asked Feb 11 at 21:16 ClinOne Test2ClinOne Test2 11 bronze badge 1 |1 Answer
Reset to default 0Each time you publish results, you will get a different test run. If your aim is to execute tests from different tasks and then aggregate them and publish them as a single test run, then disable publishing test results from the maven task and then add a simple PublishTestResults@2
task after all the tests have run.
As your screenshot shows a Classic Build pipeline, use the task named "Publish Test Results":
Be sure to set mergeTestResults
to true.
本文标签:
版权声明:本文标题:How can I update the Test Case result of automated ones back to Azure Test Case based on the triggered run? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741634344a2389555.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
PublishTestResults@2
task after all the tests have run? Hope it can resolve your query in this post. Thx for the update. – Alvin Zhao - MSFT Commented Feb 25 at 2:23