cancel
Showing results for 
Search instead for 
Did you mean: 

Run GUI Tests using Test Execute on Windows server 2012 R2 when session is disconnected

SOLVED
Highlighted
Occasional Contributor

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

 

 

1 REPLY
Community Manager

Re: Run GUI Tests using Test Execute on Windows server 2012 R2 when session is disconnected

Hi @Nandhakumar,

 

The approach listed in the Disconnecting From Remote Desktop While Running Automated Tests article should help you.

 

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
2018 NEWS
Top Kudoed Authors