TFS- MTM - 无法成功配置测试控制器与 TFS 通信

TFS- MTM - Unable to successfully configure the test controller to communicate with TFS

我正在尝试建立一个系统,我可以从 MTM 运行 selenium 自动测试。

我面临的问题是我无法成功配置测试控制器。我相信这是由于一些许可问题。以下是我正在使用的设置

单击“应用设置”时出现的错误如下

E, 2016/08/22, 16:20:19.541, Failed to obtain the service account from the hosted TFS Team Project Collection https://xyz.visualstudio.com/DefaultCollection: Access Denied: Timothy Alex needs the following permission(s) to perform this action: Edit collection-level information
I, 2016/08/22, 16:20:19.542, Failed to connect to the tfs project collection https://xyz.visualstudio.com/DefaultCollection. Microsoft.VisualStudio.TestTools.ConfigCore.ConfigToolException: Failed to obtain the service account from the hosted TFS Team Project Collection https://xyz.visualstudio.com/DefaultCollection: Access Denied: Timothy Alex needs the following permission(s) to perform this action: Edit collection-level information
at Microsoft.VisualStudio.TestTools.ConfigCore.ControllerConfiguration.AttemptToAddServiceAccountToGroup(ControllerConfigurationUpdatePack updatePack, TfsTeamProjectCollection server, TfsServiceAccount account, DelegateStatusUpdate statusListener)
  at Microsoft.VisualStudio.TestTools.ConfigCore.ControllerConfiguration.ChangeTfsRegistration(ControllerConfigurationUpdatePack updatePack, DelegateStatusUpdate statusListener)
E, 2016/08/22, 16:20:19.551, Failed to obtain the service account from the hosted TFS Team Project Collection https://xyz.visualstudio.com/DefaultCollection: Access Denied: Timothy Alex needs the following permission(s) to perform this action: Edit collection-level information

日志表明我需要编辑集合级别的信息。我相信这是在默认集合级别,恐怕我不会获得此许可,因为这类似于超级管理员,我可以有权 delete/modify 集合中的现有项目。

我认为这不应该提供给所有测试人员,因为这可能会导致项目意外损坏。

如果我错了请纠正我,并建议我下一步需要做什么以确保我能够成功配置测试测试控制器。

非常感谢您对此的帮助。

您关于编辑集合级别信息权限的假设是错误的。这不是超级管理员。请仔细阅读https://msdn.microsoft.com/en-us/library/ms252587.aspx

只需询问您的 TFS 管理员

  • 将您的帐户添加到项目集合的项目集合测试服务帐户组或
  • 告诉您用于此目的的现有服务帐户。