Forum Discussion

anna_gl's avatar
anna_gl
Occasional Contributor
6 years ago

TestExecute freeze with indicator 'Playback' status endless

I'm developing .Net Program with TestExecute. I followed the direction in document "Calling Script Routines via COM"
(https://support.smartbear.com/testexecute/docs/running/automating/com/calling-script-routines.html).

First of all when I make same unit run in several times(it was for sample test, I did it 100 times), I find out that the processing time increased gradually. 

The goal of unit is just mouse click and input keyboard values on Browser "Firefox".

So I wanted to make the last process time similar as time of begining, and I tried quit "TestExecute Process", recreate the process and reconnect at code.

 

What I've used is

 => (ITestCompleteCOMManager)TestExecuteManager.Quit();

and

=> var TestExecuteObject = Activator.CreateInstance(Type.GetTypeFromProgID(TEProgID));

 

And after the Quit method, I give it pause until Process really died.

But when new created Process launched with unit, it stucks with indicator status "Playback" endlessly.

I can't get why TestExecute stops. 

Please help. If there's a another way to reduce the process time of end part, Let me know. Thanks a lot.

 

1 Reply

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi anna_gl,

     

    If you can stably reproduce this issue, I suggest that you:

    1) check that you are using the latest TestExecute version

    2) contact the Support team and provide them with the debug info.