cancel
Showing results for 
Search instead for 
Did you mean: 

Testcomplete Tests hangs when running for days through batch file on remote machines

SOLVED
Highlighted
Super Contributor

Re: Testcomplete Tests hangs when running for days through batch file on remote machines

attached.

Highlighted
Super Contributor

Re: Testcomplete Tests hangs when running for days through batch file on remote machines

@BenoitB 

 

I am trying to understand as I have less knowledge of window event log. I have attached the window event screen . Now where I should navigate to see the log ?

Highlighted
Community Leader

Re: Testcomplete Tests hangs when running for days through batch file on remote machines

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.

 

 

 

Un sourire et ça repart

View solution in original post

Highlighted
Super Contributor

Re: Testcomplete Tests hangs when running for days through batch file on remote machines

@BenoitB 

Attached the log under the Application log. Mostly errors are Group Policy drive maps.

 

Highlighted
Community Leader

Re: Testcomplete Tests hangs when running for days through batch file on remote machines

In System any errors ?

 

About the group policy you noticed, that means something in this system is linked to a network drive which is not available. I dunno if related to your problem.

 

 

Un sourire et ça repart

Highlighted
Super Contributor

Re: Testcomplete Tests hangs when running for days through batch file on remote machines

Do not see any errors Under the System

As far as group policy errors we are seeing those errors at the times where TE tests do not hanged. I will contact our IT department 

 

I will check on other remote machines whether we have group policy errors.

 

 

Highlighted
Super Contributor

Re: Testcomplete Tests hangs when running for days through batch file on remote machines

Confirmed with IT department Group policy is not causing the TE tests hang.

 

Do you think put some delay after exiting from TestExecute every time will fix the issue ?

 

This is the below command line I will be using 

 

timeout /T 10 

Highlighted
Community Leader

Re: Testcomplete Tests hangs when running for days through batch file on remote machines

I think that it cost nothing to try  😉

 

When it hangs, no minidump of TE ?

Perhaps use another software to monitor process execution and find why it hangs.

https://www.ittsystems.com/best-process-operating-system-monitoring-tools/

 

Did you confirm that occurs on several computers or only one ?

If only one it can be simply a hardware problem (memory check ?) or in-deep windows bug.

 

 

Un sourire et ça repart

Highlighted
Super Contributor

Re: Testcomplete Tests hangs when running for days through batch file on remote machines

I have time delay of 3 seconds. Let 's see what happens.

 

Here is one more thing we want to mention 

On remote machine After each project run we export MHT report to another folder in the remote machine and that folder is shared so that I can check from my machine. Does it cause TE tests hangs ?

 

thanks

NG

New Here?
Join us and watch the welcome video:
Top Kudoed Authors