Run GUI Tests using Test Execute on Windows server 2012 R2 when session is disconnected
Hi All,
I have Automation Test Suite running in Windows Server 2012 R2 machine (through remote connection) using TestExecute (since I was not permitted to install TestComplete in the server).
I have setup the tests to run on specified time using Task scheduler. Most of the times, I connect to the server using remote login before the scheduled task runs and check if the GUI web scripts gets invoked correctly. However, I sometimes forget to connect to the server. In such case, the Task scheduler job runs successfully. But all the GUI tests are failing due to No GUI. Could you please let me know if there is a work around that I can use to make the GUI tests run even when I am not connected to the server. (Note: I was able to run the similar scripts designed in UFT in the server with No GUI mode. I wish to achieve the same using TestExecute)
Kindly provide your suggestions or thoughts.
Thanks and Regards
Nandhakumar N
Hi Nandhakumar,
The approach listed in the Disconnecting From Remote Desktop While Running Automated Tests article should help you.