我对VSTS手动测试用例有问题。当我试图编辑一个时,我收到了一条错误消息,如下所示:
字典中已存在具有相同关键字的元素
e<n.prototype.add@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-area-1319062352-vWRYJ179SKTshLwEQt_Tl9g==:3:2142ki<n.prototype.onAddParameterInSteps@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-view-1316919717-vxhr2NM2m2AZNsRLuD0JDHQ==:36:46195bi<n.prototype.onAddParameterInSteps@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-view-1316919717-vxhr2NM2m2AZNsRLuD0JDHQ==:36:40049tf<t.prototype.onAddParameterInSteps@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-view-1316919717-vxhr2NM2m2AZNsRLuD0JDHQ==:36:62452bi<n.prototype_updateParametersRefCountOnAddingStep/<https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-view-1316919717-vxhr2NM2m2AZNsRLuD0JDHQ==:36:39659.each@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-basejs-1370396394-vpQOf5w8kp8_6mpJi9ABtBQ==:15:12291bi<n.prototype._updateParametersRefCountOnAddingStep@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-view-1316919717-vxhr2NM2m2AZNsRLuD0JDHQ==:36:39614bi<n.prototype._calculateParameterRefCountsFromSteps@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-view-1316919717-vxhr2NM2m2AZNsRLuD0JDHQ==:36:40691bi<n.prototype.setParameters@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-view-1316919717-vxhr2NM2m2AZNsRLuD0JDHQ==:36:35794yt<t.prototype.readParameters@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-async135478241-v-UPJKxU6f1kHHOWlhqz1Q==:14:58274yt<t.prototype._onStepsLoaded@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-async13547841-v-UPjjKxU6f1kHHOWlhqz1Q==:14:72430o/<https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle公用-1174969321-vP7TYoPIwgcmodAk6tzLZw=:53:215u@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-async13547841-v-UPjjKxU6f1kHHOWlhqz1Q==:14:81038yt<t.prototype._fetch@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-async13547841-v-UPjjKxU6f1kHHOWlhqz1Q=:14:81408yt<t.prototype.invalidate@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-async13547841-v-UPjjKxU6f1kHHOWlhqz1Q=:14:57579c<n.prototype._onFieldChanged@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-async636480634-vHvWOSM8E8rCxBa3bYo2R7w=:149:2040o/<https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle公用-1174969321-vP7TYoPIwgcmodAk6tzLZw=:53:215u@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle公用-1174969321-vP7TYoPIwgcmodAk6tzLZw==:94:177o<n.prototype.invokeHandlers@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-common-1174969321-vP7TYoPIwgcmodAk6tzLZw==:94:526tr<n.prototype.fireEvent@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-area-1319062352-vWRYJ179SKTshLwEQt_Tl9g==:35:100720tr<n.prototype.fireFieldChange@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-area-1319062352-vWRYJ179SKTshLwEQt_Tl9g==:35:103810tr<n.prototype.evaluateFields@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-area-1319062352-vWRYJ179SKTshLwEQt_Tl9g==:35:112953tr<n.prototype.evaluate@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-area-1319062352-vWRYJ179SKTshLwEQt_Tl9g==:35:112662tr<n.prototype._takeUpdateResult@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-area-1319062352-vWRYJ179SKTshLwEQt_Tl9g==:35:110218vi<t.prototype.beginSaveWorkItemsInternal/<<<https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-area-1319062352-vWRYJ179SKTshLwEQt_Tl9g=:35:74066vi<t.prototype.beginGetWorkItemTypeExtensions@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-area-1319062352-vWRYJ179SKTshLwEQt_Tl9g==:35:69585vi<t.prototype.beginSaveWorkItemsInternal/<<https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-area-1319062352-vWRYJ179SKTshLwEQt_Tl9g=:35:74001.each@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-basejs-1370396394-vpQOf5w8kp8_6mpJi9ABtBQ==:15:12291vi<t.prototype.beginSaveWorkItemsInternal/<https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-area-1319062352-vWRYJ179SKTshLwEQt_Tl9g=:35:73876rt@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-common-1174969321-vP7TYoPIwgcmodAk6tzLZw==:59:938l/<https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle公用-1174969321-vP7TYoPIwgcmodAk6tzLZw==:59:1252i.Callbacks/l@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-basejs-1370396394-vpQOf5w8kp8_6mpJi9ABtBQ==:15:35816i.回拨/s.fireWith@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-basejs-1370396394-vpQOf5w8kp8_6mpJi9ABtBQ==:15:36641w@https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-basejs-1370396394-vpQOf5w8kp8_6mpJi9ABtBQ==:15:73448.send/t/<https://xxx.visualstudio.com/_public/_Bundling/Content?bundle=vss-bundle-basejs-1370396394-vpQOf5w8kp8_6mpJi9ABtBQ==:15:79367
会话Id:73288d72-580f-42fb-9aeb-f5cadb6b3bc5
只有当测试步骤包含参数时,我才会遇到此问题。刷新页面并重新打开测试用例后,颜色代码为黑色,并且不显示"保存"按钮。此外,...
的下拉列表为空。
现有的测试很好,运行它们也是可能的。处理bug、用户故事和任务都很好。
屏幕截图可以在这里找到
有办法解决这个问题吗?
这是由参数名称"@length"引起的,请将其删除或重命名为其他名称,如"@length1"即可。
这似乎是VSTS的一个错误,我帮助您在MS Connect Page上创建了一个反馈,有关详细信息,请参阅此链接:"字典中已经存在具有相同键的元素"错误发生在保存测试用例时,该测试用例包含名为"length"的参数。