I have to run one of the TC build agents from a Windows console since that's the only way for it to run Selenium webdriver tests.
However, since this is virtual machine (running Windows 2008 R2) the console gets shut down some time after I disconnected from RDP even though the RDP says the console app will continue to run.
My questions:
- Is there any other way to run Selenium webdriver tests with a Windows service agent instead of console?
- How can I keep the console agent running after disconnecting from RDP?
When leaving your RDP connection, you should execute a custom script inside à bat file:
This will close your connection, leaving the desktop active for user interractions.