我試圖運行部署在虛擬機上我的自動化測試案例,並試圖用八達通部署工具的幫助來觸發它。我在我的機器上安裝了測試代理和Octopus Tentacle。八達通觸發了DLL對自動化測試案例非常well.But而八達通試圖運行測試用例它給我一個錯誤如下: -編碼的UI自動化測試案例通過章魚觸手
Microsoft.VisualStudio.TestTools.UITest.Extension.UITestException: To run tests that interact with the desktop, you must set up the test agent to run as an interactive process. For more information, see "How to: Set Up Your Test Agent to Run Tests That Interact with the Desktop" (http://go.microsoft.com/fwlink/?LinkId=255012)
Error 01:59:38
If you are running the tests as part of your team build, you must also set up the build agent to run as an interactive process. For more information, see "How to: Configure and Run Scheduled Tests After Building Your Application" (http://go.microsoft.com/fwlink/?LinkId=254735)
設置我的密碼測試劑並將它設置爲intractive過程但我仍面臨同樣的問題。
我觸發如下我的DLL通過八達通。
& "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" "C:\MyWebaPP\Automated_test\Automated_test.dll"
我嘗試了每一種方式,我found.Please幫助我在這。
在此先感謝!