我們在運行編碼UI測試的實驗室環境中遇到問題。在工作組測試機器的環境中運行TFS 2012編碼UI測試
注意,部署成功完成,但測試失敗,出現以下錯誤:
Deployment
Lab environment: Win 7 VM
Build definition did not specify a clean snapshot. It is a best practice to use clean snapshot when running the lab workflow.
The application was deployed successfully from the following build location:\tfssvr106\TFS\BuildDrop\ServerAssistant_Production\ServerAssistant_Production_20130816.1
Build definition did not specify a post deployment snapshot. It is a best practice to take post deployment snapshot when running the lab workflow.
Test Results
Test run (Id) : ServerAssistant - Coded UI_20130816.12 (96) Test run needs investigation Test run details
0 of 1 test(s) passed, 1 failed, 0 inconclusive, View Test Results
測試結果有以下錯誤......
The build directory of the test run either does not exist or access permission is required.
從構建的診斷日誌記錄具有以下...
TestDirectory = \tfssvr106\TFS\BuildDrop\ServerAssistant_Production\ServerAssistant_Production_20130816.1
我們不希望測試運行從建立放置位置,因爲這是一個域服務器共享,測試VM是一個工作組機器。我們寧願在工作組VM代理從其本地C運行測試:
如果我們使用我的域帳戶工作組機器驗證到生成放置份額,測試運行良好。
所有文件都存在,並準備從運行C:通過我的部署任務。我們如何從VM的C:運行測試?
任何意見將不勝感激!
非常感謝!我們最終能夠將我們的服務器重新配置爲以單域配置運行,但這對於瞭解未來將有幫助! – mwigdahl