[英]Unable To Associate Automated Tests with Test Cases
I'm automating tests by means of CodedUI in VS2015 Enterprice(.NET4.7.2) and running them from Azure DevOps.我通过 VS2015 Enterprice(.NET4.7.2) 中的 CodedUI 自动化测试并从 Azure DevOps 运行它们。 I need to associate manual test with automated test case via Work Item, but I don't see my test case (checked into tfs) in "Automated test name"-List (but older tests are listed.) Even so this test case runs succesfully in Azure Pipeline with "Automation State"= planned.我需要通过工作项将手动测试与自动化测试用例相关联,但我没有在“自动测试名称”列表中看到我的测试用例(签入到 tfs)(但列出了较旧的测试。)即使这样这个测试用例运行在“自动化状态”= 计划的 Azure 管道中成功。 Why can test case not be listed in "Automated test name" and how can I add it and change "automation state" to automated?为什么测试用例不能在“自动化测试名称”中列出,如何添加它并将“自动化状态”更改为自动化? Thanks谢谢
The process to associate an automated test with a test case is:将自动化测试与测试用例相关联的过程是:
Q: What types of tests are supported?问:支持哪些类型的测试?
A: These are the limitations for each type of test:答:这些是每种测试类型的限制:
More details please kindly refer our official doc: Associate automated tests with test cases更多细节请参考我们的官方文档: Associateautomated testing with test case
If you are unable to see the Automated Option in the dropdown there are only 2 options available in the dropdown - 'Not Automated' and Planned
.如果您无法在下拉列表中看到自动选项,则下拉列表中只有 2 个选项可用 - 'Not Automated' 和Planned
。
This is caused you didn't associate automated tests successfully.这是因为您没有成功关联自动化测试。 To display the Automated
option, you need to Associate automated tests with test cases.要显示Automated
选项,您需要将自动化测试与测试用例关联。
Take a look at this similar issue: 'Automated' option not shown in 'Automation Status' dropdown in Testcase work Item看看这个类似的问题: 测试用例工作项的“自动化状态”下拉菜单中未显示“自动化”选项
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.