Forum Discussion
Ok I got some sucess .
Here are few concerns
1. For different project Suites do we have to create different batch files - mean each batch files for each project
suite ?
2. If project suite contain multiple projects/TestItems in each projects then how do we know to set up the time
interval ?
3. Since TestExecute machine is on VM which can be accessed using Remote desktop then how task scheduler
works if
a) we miniize the Remote desktop window
b) we close the Remote desktop
c) how can we see the reuslt fo batch file
- 1. I would create one single batch file that calls all the projects
- 2. You can set windows task scheduler to let the running instance finish before firing off a new one
- 3. You can miminize but not close the RDP connection. There HAS to be an active user session for GUI tests to run. You can specify where to save logs from the command line and save then on a network share for example.
How will you include multiple projects in different suites in a single batch file ? do you hav sample or example ? I can only see the example of one project in Testcomplete documentation .
https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/exit-codes.html
Per the documentation above, you can specify the .pjs file and it should run every project in the file.
You could also specify each project individually insuccession.
file_name
Launches TestComplete and loads the specified project (.mds file) or project suite (.pjs) into it
Hi guys,
The next solution in my opinion is the 'Network Suite Core' option in your project. With this option you can create jobs, connect your remote mashines and even distribute your project code in remote machines.
I suggest you to read this doc topics:
https://support.smartbear.com/testcomplete/docs/testing-with/advanced/distributed/index.html
https://support.smartbear.com/testcomplete/docs/testing-with/advanced/distributed/requirements.html
Also there is great online video on SmartBear Academy, click this link:
https://smartbearacademy.learnupon.com/dashboard
register -> and assain to first free training.
In video there is a 'TestComplete 101, 201, and 301' watch 301.
Hope this help you.