Forum Discussion

prichard's avatar
prichard
Occasional Contributor
9 years ago

Version 11 keeps freezing

Hello,

 

I have just installed the version 11 of TestComplete and I am experiencing TestComplete freezes while its waiting for an application to run or exit.

For example, TestComplete is hanging while processing the following VBS routine : 

 

Do While sys.WaitProcess("SQLCMD").Exists

    Timeout = Timeout +1

    call aqUtils.Delay(10000, "Attente restauration base de données")

    if TimeOut = 70 then

      Call log.Error("Le processus SQLCMD a atteint un Timeout, il va être tué")

      sys.Process("SQLCMD").Terminate

      Exit Do

    end if

  Loop

 

The SQLCMD exit without error but, sometime, testComplete is hanging. Its progress bar is freezed while processing aqUtils.Delay(...)

 

Then I need to kill TestComplete process. 

This VBS routine did not cause any problem while I was using the TestComplete version 10.

 

My system is a Window server 2008 R2. I have already opened a support ticket (Case #00137385)

 

Any help would be much appreciated. Thanks !

7 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Prichard,

     

    I believe that the TestComplete Support team will get in touch with you shortly. One clarification question: This line

    call aqUtils.Delay(10000, "Attente restauration base de données")

    delays the script execution for 10 seconds. Is TestComplete hanging longer?

     

     

    • prichard's avatar
      prichard
      Occasional Contributor

      Hi Tanya,

       

      Yes, TestComplete is hanging longer and I need to kill it through Windows Taskmgr. In fact, TestComplete execution progress bar is freezed displaying the aqUtils.Delay message string. Then I click on Pause Button and after that I click the Stop Button.

      TestComplete processes then "OnStopTest General Events" without error.

      When "OnStopTest General Events" are done, it hangs, displaying the aqUtils.Delay message.

      • TanyaYatskovska's avatar
        TanyaYatskovska
        SmartBear Alumni (Retired)

        Thanks for the clarification.

        Do you do anything special in the OnStopTest event handler?