Testcomplete Tests hangs when running for days through batch file on remote machines
We are running Testcomplete Tests on remote machines which have TestExecute .We use Batch file. With the help of Task scheduler we are running the tests for every 30 minutes of the day. SO the tests are running every day i.e. 24/7.
when the test finish running we are exporting the MHT report log as well.
Sometimes Test hangs - due to which no other following tests do not run. After looking at the remote machine I saw that the command window -opened by batch file is there and TestExecute started displaying the Testcomplete Indicator showing the Project Item. It hanged in there. SInce the tests are running for every 30 minutes it do not hangs every 30 minutes.
Attached the screenshot showing when TE tests hangs
Thanks
NG
On your batch file you must wait a little before killing process and launching new instance of TE. Process lifecyle treatment is not instant. So use some pause 3 to pause 3 seconds between each call.
It could be the problem..
About windows event log, on your panel on left side you have Windows logs entry with sub category, open the Application category and look at time where the problem occured if any special message appears.
Same for Security category and System category.