Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run Coded UI Test thought TFS CI without active remote session? [duplicate]

I experienced a problem with launching Coded UI Tests using Team Foundation Server (TFS) Continuous Integration (CI) without a remote session. I have followed all of the recommendations mentioned in http://msdn.microsoft.com/en-us/library/dd293551.aspx but this still requires an active remote session. The recommendation was to set up a test agent and build service in interactive mode.

Are there any workarounds for running a Coded UI Test remotely?

P.S. We have Windows 7 on our test machine.

Any help will do :)

like image 320
fedya.ua Avatar asked Nov 04 '22 21:11

fedya.ua


1 Answers

I couldn't quite follow your question, but I had a problem that I think is something similar:

When running Coded UI Tests remotely, the machine can't be locked or have an active screensaver. If you are running a virtual machine, such as on Hyper-V, and you connect to it using Remote Desktop Connection, closing that connection will lock the screen.

In my case, we were using Hyper-V so I connected using Hyper-V client, and then closed that window. This doesn't lock the screen.

Source: Personal experience

like image 147
mejdev Avatar answered Nov 09 '22 12:11

mejdev