I'm trying to run automated GUI tests via Team Foundation Server. I developed those tests using third party software (TestComplete), but integrated them into Visual Studio 2013, and now use a batch script calling MStest.exe to execute those tests remotely on a physical server.
Using TFS works fine as long as I open and maintain a remote dektop connection to the Build PC when TFS starts the Build....Visual Studio Team Foundation Server 2015 will run the build steps like creating the VS solution, deploying a test agent on the build server, and finally executing the batch files, in the end producing th .trx file I'm after.
Without an open RDC, the step of deploying an agent will fail, saying "The job has been abandoned because agent XX did not renew the lock. Ensure agent is running, not sleeping, and has not lost communication with the service."
I'm rather new to automated testing and the architecture of TFS, so sorry if I'm somehow vague about terminology or forgot to mention relevant information...but can anyone help on this please?