nisgupta
6 years agoValued Contributor
Scheduling automated TestComplete Script on TestExecute machine
What is the best way to schedule automated TestComplete Script on TestExecute machine ?
For e.g. I need to run one TestComplete project after every 15 minutes . How we can do it ?
Please advise
Thanks
Nishchal
Finally I figured out.
Here we can mention the following commands in bat file when running multiple projects in sequence
"C:\Program Files (x86)\SmartBear\TestExecute 14\Bin\TestExecute.exe" "Path to the Project1.mds" /run /exit
"C:\Program Files (x86)\SmartBear\TestExecute 14\Bin\TestExecute.exe" "path to Project2.mds" /run /exit
We can also continue running the GUI tests if close the RDP connection. The details are in the link below.
https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/keeping-computer-unlocked.html
To disconnect from Remote Desktop, run the following command on the remote computer (in the Remote Desktop window) as an Administrator:
%windir%\System32\tscon.exe RDP-Tcp#NNN /dest:console
RDP-Tcp#NNN is the ID of your current Remote Desktop session, for example, RDP-Tcp#0. You can see it in the Windows Task Manager on the Users tab, in the Session column.