Scheduling automated TestComplete Script on TestExecute machine
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have Bamboo or Jenkins or GoAnywhere or any other tool that lets you schedule jobs? That will work for TestExecute.
Marsha_R
[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.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, We are using Jenkins with TestComplete plugin installed and it works perfect. Try this too.
https://support.smartbear.com/testcomplete/docs/working-with/integration/jenkins/index.html
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create a batch file to kick off Test Complete from the command line and use windows task scheduler.
Thanks,
Carson
Click the Accept as Solution button if my answer has helped
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the updates.
As I am running on TestExecute machine , I am looking at the documentation and I see only Window task scheduler and from there it also point to bactch file.
https://support.smartbear.com/testexecute/docs/running/scheduling-runs.html
Now the question is if we create batch file then where we can save the batch file ?
I am under the impression window task schduler will pick the batch file and run the batch according to the time specified in Task Scheduler.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could save the batch file pretty much anywhere so long as the user that is running the task has access to the location.
Thanks,
Carson
Click the Accept as Solution button if my answer has helped
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 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.
Thanks,
Carson
Click the Accept as Solution button if my answer has helped
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/...
