使用TCM.exe将编码的UI测试导入MTM时出错 [英] Getting an error while importing coded UI Tests into MTM using TCM.exe
问题描述
使用TCM.exe将编码ui的测试导入MTM时出现以下错误
使用此命令: tcm.exe testcase / import / collection:< tfs URL> &NBSP; / teamproject:" PROJECT_NAME" &NBSP; /存储:" Test_Tests.dll" / syncsuite:xxxxxx / login:用户名,密码
在上面的命令中添加所有正确的详细信息,仍然在cmd中得到以下错误。不知道哪个字段无效,因为它只返回下面显示的一条班轮消息:
TF237086:无法保存工作项,因为至少有一个字段包含不允许的值。
有人可以帮忙解决这个问题吗?
您好Bonil,
您的TFS和VS的版本是什么?你可以手动创建一个测试用例吗?
尝试创建一个新的团队项目和测试计划,然后尝试导入测试并检查结果。
另一方面,你可以手动将测试方法链接到测试用例。
- 在MTM中创建测试用例
- 在Visual Studio中打开该测试用例
- 构建测试项目
- 打开Associated Automation选项卡并指定测试方法
问候
Starain
Getting below error while importing tests of coded ui to MTM using TCM.exe
Using this command : tcm.exe testcase /import /collection:<tfs url> /teamproject:"project_name" /storage:"Test_Tests.dll" /syncsuite:xxxxxx /login:username,password
Adding all correct details in above command ,still getting below error in cmd.Don't know which field is invalid as it is returning only one liner message shown below:
TF237086: The work item cannot be saved because at least one field contains a value that is not allowed.
Can someone help over here to fix this ?
Hi Bonil,
What’s the version of your TFS and VS? Can you create a test case manually?
Try to create a new team project and test plan, then try to import tests and check the result.
On the other hand, you can link the test method to test case manually.
- Create a test case in MTM
- Open that test case in Visual Studio
- Build your test project
- Open Associated Automation tab and specify test method
Regards
Starain
这篇关于使用TCM.exe将编码的UI测试导入MTM时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!