在最近的VSO更新之后发布将Ranorex CodedUI测试链接到MTM / VSO 2013 CI [英] Issue linking Ranorex CodedUI tests to MTM/VSO 2013 CI following recent VSO update
问题描述
我们有一个已建立的CI过程,它将118个Ranorex测试用例与MTM测试用例相关联,并在专用的自动化虚拟机上运行,这是由Visual Studio中的定时构建触发的。
CI进程仍然正常工作,但我刚刚试图添加另一个测试,发现由于VSO中测试用例工作项页面的布局的更改/ MTM,不再显示关联自动化功能。
所以你曾经点击椭圆,要链接的测试用例列表会出现: a href =http://i.stack.imgur.com/Tnr58.png =nofollow> VS CodedUI MTM_VSO工作项链接
如图所示,关联自动化选项卡已移动,并且不再显示链接机制:缺少MTM_VSO测试用例机制
我认为它是绑定到这最近的Microsoft VSO更新hxxps://www.visualstudio.com/en-但是我想知道其他人是否遇到过这个问题以及如何解决这个问题。
对于长篇文章,在Visual Studio页面上已提交了此反馈,请参阅此链接了解详情: https ://connect.microsoft.com/VisualStudio/Feedback/Details/2137069
目前,您可以通过以下步骤从测试程序集中创建测试用例
- 运行开发人员命令提示符并通过cd命令导航到调试文件夹。例如:
cd C:\xxx\xxx\solution\testproject\bin\debug
- 创建测试案例通过tcm testcase命令:
tcm testcase / collection:https:xxxxx / DefaultCollection / teamproject:yourproject / import /storage:xxx.dll
We have an established CI process which links 118 Ranorex test cases to MTM test cases and runs them on a dedicated automation VM, which is triggered by a timed build in Visual Studio.
The CI process is still working correctly, but I have just tried to add another test and found that due to changes in the layout of the test case work item page in VSO/MTM, the 'Associated Automation' function is no longer shown.
So you used to click on the ellipses and the list of test cases to be linked would appear: VS CodedUI MTM_VSO work item linking
As you can see in this image, the 'Associated Automation' tab has moved and the linking mechanism is no longer present: Missing MTM_VSO test case mechanism
I think it is tied into this recent Microsoft VSO update hxxps://www.visualstudio.com/en-us/news/2015-dec-10-vso (sorry for posting the link this way but I can't have more than 2 links) but I wondered if anyone else had encountered this issue and how to resolve it.
Sorry for the long post, but I wanted to make everything clear.
There is already a feedback submitted for this on Visual Studio page, refer to this link for details: https://connect.microsoft.com/VisualStudio/Feedback/Details/2137069
Currently, you can create the test case from your test assemblies via following steps first and then update the test cases.
- Run "Developer Command Prompt" and navigate to the debug folder via "cd" command. For example:
cd C:\xxx\xxx\solution\testproject\bin\debug
- Create test case for the test assemblies via "tcm testcase" command:
tcm testcase /collection:https:xxxxx/DefaultCollection /teamproject:yourproject /import /storage:xxx.dll
这篇关于在最近的VSO更新之后发布将Ranorex CodedUI测试链接到MTM / VSO 2013 CI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!