简体   繁体   English

MTM 2017通过vNext构建支持编码的UI测试执行

[英]MTM 2017 Supports Coded UI test execution with vNext build

We were using MTM 2015 and TFS 2015. While trying to run the Coded UI automation with vNext build started encountering an issue 我们使用的是MTM 2015和TFS2015。尝试通过vNext构建运行编码UI自动化时开始遇到问题

The build directory of the test run either does not exist or access permission is required 测试运行的构建目录不存在或需要访问权限

Started digging deep and then came across this link msdn . 开始深入挖掘,然后遇到此链接msdn

At the end if you see Q and A: 最后,如果您看到问与答:

Q: Can I use vNext builds to run automated tests in lab environments? 问:我可以使用vNext版本在实验室环境中运行自动化测试吗?

A: Currently only XAML builds are supported with automated testing. 答:目前仅自动测试支持XAML构建。 Microsoft Test Manager does not support Team Foundation 2015 build (also called Build vNext). Microsoft测试管理器不支持Team Foundation 2015构建(也称为Build vNext)。 Microsoft Test Manager will allow you to associate a vNext build with your Test Plan, but when you try to trigger an automated test using a lab environment, your test run will fail and the error log will show you the following message - which may be misleading. Microsoft Test Manager将允许您将vNext内部版本与测试计划相关联,但是当您尝试使用实验室环境触发自动测试时,您的测试运行将失败,并且错误日志将向您显示以下消息-这可能会误导您。

The build directory of the test run either does not exist or access permission is required 测试运行的构建目录不存在或需要访问权限

Question is does MTM 2017 supports Coded UI automation execution with vNext build? 问题是MTM 2017是否通过vNext构建支持编码UI自动化执行? If not when can we expect this MTM + vNext build work without any issues? 如果不是,我们何时可以期望此MTM + vNext构建工作正常进行?

No. That feature will not be added to MTM; 不会。该功能不会添加到MTM; MTM and Lab Management are deprecated in favor of the full web-based test hub experience. 不赞成使用MTM和实验室管理 ,而希望使用基于Web的完整测试中心体验。 When you run MTM 2017, it even pops up a warning telling you this. 当您运行MTM 2017时,它甚至会弹出警告告诉您。 It's also worth noting that Coded UI is deprecated in favor of Selenium for web browser-based testing and Appium for desktop testing. 还值得注意的是,不赞成使用编码UI,而建议使用Selenium进行基于Web浏览器的测试,而使用Appium进行桌面测试。 Although all of these tools are still supported, they are no longer receiving feature updates. 尽管仍支持所有这些工具,但它们不再接收功能更新。

You can run test automation from release definitions in TFS 2017 and 2018. 您可以根据TFS 2017和2018中的版本定义运行测试自动化

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 自动在mtm中运行测试用例(未编码的UI) - Run test cases in mtm automatically (not coded UI) 可以使用编码的UI测试和MTM来创建将自动播放所有测试用例的测试套件吗? - Can Coded UI tests and MTM be used to create a test suite that will automatically play all test cases? 作为构建的一部分,在TFS 2017中运行Code-UI - Running Coded-UI in TFS 2017 as part of the build 如何使用vNext运行编码的UI测试? - How to run Coded UI tests using vNext? URL作为MTM / TFS自动编码的UI测试中的参数 - URLs as parameters in MTM/TFS automated coded UI tests 在VNext版本中执行Visual Studio测试任务期间无法发布测试结果 - Unable to publish test results during execution of Visual Studio Test task in VNext build 仅在tfs 2017中测试vnext中增量的更改 - only test changes incremental in vnext with tfs 2017 TFS 2017 vNext Build使用Powershell获得工作空间 - TFS 2017 vNext Build Get workspace with powershell 将Visual Studio编码的UI测试与VSTS / TFS构建管道集成在一起 - Integrate Visual Studio Coded UI Test with VSTS/TFS Build pipeline TFS Build Workflow为编码的UI测试添加了新的测试活动 - TFS Build Workflow add a new test activity for Coded UI tests
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM