Automated test case with encoded user interface via Octopus tentacle axis

I am trying to run my automated test cases deployed in a virtual machine and try to run it using the Octopus Deployment tool. I installed the test agent and Octopus Tentacle on my machine. Octopus runs the DLL very well for automated test cases. But while Octopus is trying to run test cases, it gives me an error, as shown below: -

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)

I set my password in the test agent and set it as an attractive process, but still I encountered the same problem.

I run my DLL as shown below through Octopus.

 & "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" "C:\MyWebaPP\Automated_test\Automated_test.dll"

I tried every way to find. Please help me with this.

Thanks in advance!

+4
1

.

Octopus: http://help.octopusdeploy.com/discussions/questions/5080-tentacle-running-interactive-tests Octopus Deploy , .

" ", , Octopus Tentacle , .

, , , . , , RDP- ( UI...).

, Octopus Tentacle , (.. Tentacle.exe ), , RDP . , " ". , Octopus Tentacle Service.

. . , Windows , , .

FireDaemon Pro ( ), Windows, . , , , , Windows session0 ( ). , , .

+2

Source: https://habr.com/ru/post/1658175/


All Articles