Ask a Question

Using batch file to run multiple projects on Testexecute machine every day

SOLVED
nisgupta
Valued Contributor

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

5 REPLIES 5
tristaanogre
Esteemed Contributor

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

Not attached the screenshot - part of my batch file - rest everything is same as mentioned in the Testcomplete documenatation.

 

We are using different projects here. These differenct projects in different project suites.

tristaanogre
Esteemed Contributor

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
sonya_m
SmartBear Alumni (Retired)

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

nisgupta
Valued Contributor

@sonya_m 

I am still working with the smartbear support team

 

thanks

NG

cancel
Showing results for 
Search instead for 
Did you mean: