简体   繁体   English

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

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

I am trying to set up a system where I can run selenium automated test from MTM. 我正在尝试建立一个可以从MTM运行硒自动测试的系统。

The issue I am facing is I am not able to configure Test Controller successfully. 我面临的问题是我无法成功配置测试控制器。 I believe this is due to some permission issue. 我相信这是由于某些权限问题造成的。 Below is the set up I am using 以下是我正在使用的设置

在此处输入图片说明

The error I am getting while clicking on Apply Settings is below 我在点击“应用设置”时遇到的错误如下

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

The log states that I need Edit collection-level information. 日志指出我需要编辑集合级别的信息。 I believe this is at the default collection level and I am afraid I will not get this persmission as this is something similar to super admin where I can have the power to delete/modify an existing project in the collection. 我相信这是默认的集合级别,我担心我不会获得此权限,因为这类似于超级管理员,在这里我可以删除/修改集合中的现有项目。

I believe this should not be provided to all the testers as this might lead to some accidental damages to the project. 我认为不应将其提供给所有测试人员,因为这可能会导致项目意外损坏。

Please correct me if I am wrong and advice as what I need to do next to make sure I am able to configure the test test controller successfully. 如果我错了,请纠正我,并提出下一步需要做的建议,以确保能够成功配置测试测试控制器。

Thanks a lot for your help on this. 非常感谢您的帮助。

Your assumption regarding Edit collection-level information permission is wrong. 您关于“编辑集合级信息”权限的假设是错误的。 It's not super admin. 这不是超级管理员。 Please read https://msdn.microsoft.com/en-us/library/ms252587.aspx carefully. 请仔细阅读https://msdn.microsoft.com/en-us/library/ms252587.aspx

Just ask your TFS admin 只需询问您的TFS管理员

  • to add your account to project collection's Project Collection Test Service Accounts group or 将您的帐户添加到项目集合的“项目集合测试服务帐户”组中,或
  • to tell you an existing service account used for this purpose. 告诉您用于此目的的现有服务帐户。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM