2016-08-22 29 views
0

我正在嘗試設置一個系統,可以從MTM運行硒自動測試。TFS-MTM - 無法成功配置測試控制器與TFS通信

我面臨的問題是我無法成功配置測試控制器。我相信這是由於一些許可問題。下面是建立我使用

enter image description here

的錯誤我得到,而在應用設置點擊低於

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 

,我需要編輯收藏級信息的日誌狀態。我相信這是默認的集合級別,我恐怕我不會得到這個許可,因爲這是類似於超級管理員,我可以有權刪除/修改集合中的現有項目。

我相信這不應該提供給所有的測試人員,因爲這可能會導致項目的意外損害。

請糾正我,如果我錯了,並建議我需要做下一步,以確保我能夠配置測試測試控制器成功。

非常感謝您的幫助。

回答

1

您對編輯集合級別信息權限的假設是錯誤的。這不是超級管理員。請仔細閱讀https://msdn.microsoft.com/en-us/library/ms252587.aspx

只問你的TFS管理

  • 添加帳戶到項目集合的項目集合測試服務帳戶組或
  • 告訴你用於此目的的現有服務帳戶。
+0

感謝您的信息。 TFS Admin將我的帳戶添加到Project Collection Test Service Accounts組。但仍然有同樣的錯誤。 –

+0

我剛剛檢查過,項目集合測試服務帳戶組默認沒有編輯集合級別的信息權限。但正如你所理解的那樣,編輯集合級別的信息權限不是超級管理員,你能否問TFS管理員授予明確地爲你的帳戶編輯集合級信息權限?一般來說,測試控制器(或後來的實驗室管理)必須具有一定的寫入權限才能正常工作。如果您遵循正式的測試控制器/實驗室管理說明,請不要害怕詢問這些權限。 – qxg