Forum Discussion

gabrielg's avatar
gabrielg
Contributor
9 years ago

Testexecute stops running

Hi,

I have a project which alfter 1 hour and twenty minutes, 1 hours and 30 minutes, 1 hour and 40 minutes, randomly, always stops. There is no error in the log. There is no information in the event viewer. The screen saver is disabled in the machine. I thought it could be because i was passing a lot of information between testitems, in the form of a project variable of Object Type, so I changed it to store that information in a json file, but that didnt do anything, and my project continues to stops without any information of why.

 

Any ideas ?

3 Replies

    • gabrielg's avatar
      gabrielg
      Contributor

      No, no way

      I am working With TestExecute via COM, but in the last versions when I do what follows I am not getting any result from the integrationObject (in fact doesnt get to that line either). So I dont have much to check to know why Testexecute suddenly stops with that project.

       

          IntegrationObject.RunProject(projectName);
          
          // Wait until the test run is over
          while (IntegrationObject.IsRunning()){
              WScript.Sleep(100);    
          }
          
          // Check the results
          switch(IntegrationObject.GetLastResultDescription().Status)
          {

       

      • Marsha_R's avatar
        Marsha_R
        Champion Level 3

        If you run it from TestComplete on the same machine, does it still fail?