Ask a Question

Scheduling automated TestComplete Script on TestExecute machine

Valued 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 




Valued Contributor


Ran the same command directly from cmd window and it works - it launch the TE and run the Project Suite .

Did you create this batch file in Word or Google docs?  If so, I would paste it into Notepad or some other plain text editor and resave it.  It may have control characters in it that are causing a problem.

[Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
Valued Contributor



I wrote the script in Notepad. Saved as .bat extension.

Valued Contributor

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. 

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.


Showing results for 
Search instead for 
Did you mean: