Using batch file to run multiple projects on Testexecute machine every day
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using batch file to run multiple projects on Testexecute machine every day
We are run the Testcomplete script on remote Testexecute machine using batch files as mentioned in the link
https://support.smartbear.com/testexecute/docs/running/automating/command-line/exit-codes.html
But we observed that sometime Projects do not run - it is beacuse of TestExecute process do not get closed completely due to which projects failed to run in the next runs.
We are using the same batch script as shown in the link above. The only difference is that multiple projects have been included as attached .
How can we resolve the issue ?
Thanks
NG
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't see the attached batch file.
My assumption is that the /exit is not being used on all lines in the batch file and, hence, TestExecute is not exiting properly.
For running multiple projects, that's what a Project Suite is for. Have you considered creating multiple project suites and then just including the appropriate projects in those suites? That might simplify things as well.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can still combine all those projects into a project suite simply for execution purposes. Projects are not "locked" in project suites. You can create an empty suite and add projects to it simply for the purpose of execution.
In any case, the /exit flag seems to be just fine in that screen shot. I'd do some investigation, though, to make sure such is the case in ALL lines, that there's not a mis-spelling or something.
if this problem persists where "exit" is not happening, I'd suggest contacting support directly.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much tristaanogre!
Hi @nisgupta, have you tried tristaanogre's suggestion? Please share your current progress with us.
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
