0
我正在尝试设置一个系统,可以从MTM运行硒自动测试。TFS-MTM - 无法成功配置测试控制器与TFS通信
我面临的问题是我无法成功配置测试控制器。我相信这是由于一些许可问题。下面是建立我使用
的错误我得到,而在应用设置点击低于
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 Admin将我的帐户添加到Project Collection Test Service Accounts组。但仍然有同样的错误。 –
我刚刚检查过,项目集合测试服务帐户组默认没有编辑集合级别的信息权限。但正如你所理解的那样,编辑集合级别的信息权限不是超级管理员,你能否问TFS管理员授予明确地为你的帐户编辑集合级信息权限?一般来说,测试控制器(或后来的实验室管理)必须具有一定的写入权限才能正常工作。如果您遵循正式的测试控制器/实验室管理说明,请不要害怕询问这些权限。 – qxg