【发布时间】:2016-08-22 14:55:16
【问题描述】:
我正在尝试建立一个可以从 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
日志指出我需要编辑集合级别的信息。我相信这是在默认集合级别,恐怕我不会获得此权限,因为这类似于超级管理员,我可以有权删除/修改集合中的现有项目。
我认为这不应该提供给所有测试人员,因为这可能会导致项目意外损坏。
如果我错了,请纠正我,并建议我下一步需要做什么,以确保我能够成功配置测试测试控制器。
非常感谢您在这方面的帮助。
【问题讨论】:
标签: tfs azure-devops mstest mtm