如何使用 Microsoft 测试管理器/Visual Studio 2010 Ultimate 创建测试计划?它们在创建时不断被删除

发布于 2024-12-07 13:18:52 字数 605 浏览 2 评论 0原文

我的一位同事在使用 Microsoft Test Manager 2010 创建测试计划时遇到问题。我们正在使用 TFS 2010 和 Visual Studio Ultimate。他能够成功“创建”测试计划,但一旦完成,测试计划就会被删除。如果他刷新,那么测试计划就会消失,如果他尝试单击它,他会收到以下错误 -

测试计划已被删除

您尝试连接的测试计划已被删除,请选择另一个计划进行连接。

我确保他拥有在区域和迭代安全性中管理测试计划的正确访问权限。然而,让我担心的一件事是,如果我尝试从 TfsSecurity.exe 查看此 ACL,则不会出现任何结果。我已确保项目的 URI 也准确无误。我使用的命令是:

tfssecurity /acl CSS
--> $PROJECT:vstfs:///Classification/TeamProject/11ebab88-2892-4c85-b650-83720f194c21
--> /Collection:[our collection address]

此命令没有返回任何结果,这让我担心,因为我能够从 Visual Studio 中看到区域级别的一些安全设置。

有什么想法可能会发生什么吗?

One of my colleagues is facing an issue with creating a test plan using Microsoft Test Manager 2010. We are using TFS 2010 and Visual Studio Ultimate. He is able to successfully "create" the test plan, but as soon as he is done, the test plan is removed. If he refreshes, then the test plan disappears and if he attempts to click on it, he gets the following error -

The test plan has been removed

The test plan you tried to connect to has been removed, please select another plan to connect to.

I made sure he has the correct access rights to Manage Test Plans within the Areas and Iterations security. One thing that concerns me, however, is if I try to see the ACL for this from TfsSecurity.exe, nothing comes up. I have made sure the URI of the project is accurate as well. The command I am using is:

tfssecurity /acl CSS
--> $PROJECT:vstfs:///Classification/TeamProject/11ebab88-2892-4c85-b650-83720f194c21
--> /Collection:[our collection address]

No results are returned from this command, which concerns me because I am able to see some security settings for the Area level from within Visual Studio.

Any ideas what could be happening?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜灵血窟げ 2024-12-14 13:18:52

我发现 - 您需要“管理测试计划”和“查看此节点”才能实际管理测试计划。仅拥有其中一项权限将允许您创建新的测试计划或查看现有的测试计划,具体取决于您拥有哪一项权限。两者的组合允许您创建、编辑、查看和删除测试计划。

这有点违反直觉,特别是因为“查看此节点”权限的描述是“拥有此权限的用户可以查看此节点的安全设置”。

TFS 2010 中的“查看此节点”权限已更改为 TFS 2012 中的“查看此节点的权限”。

I figured it out - you need both 'Manage Test Plans' and 'View this Node' in order to actually manage the test plans. Only having one of the rights will either allow you to create new test plans or view existing test plans, depending on which right you have. The combination of the two allows you to create, edit, view, and delete test plans.

It is kind of counter-intuitive, especially since the description of the 'View this node' right is "Users who have this permission can view the security settings for this node."

The "View this Node" permission in TFS 2010 has changed to "View permissions for this node" in TFS 2012.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文