Forum Discussion

Oferv's avatar
Oferv
Super Contributor
15 years ago

TC display playback but don't do anything

Hi,



recently when running my script for long time i can see TC on running state and says playback on the top right hand side (where the information balloon) but, actually it does nothing.it can hang like this for hours until i'll stop it manually.

anyone have any idea what can cause that? i don't think i have any endless loop there!



Thanks

6 Replies

  • Hello Ofer,


    Please answer the following questions:

    1. What script language are you using in your tests?

    2. Does the issue occur when running a particular test in your project or any script test?

    3. What is your computer configuration? Can you reproduce the problem on another computer?


    Thanks in advance.

  • Im getting this issue as well. I cant run any script within my project. The scripts work fine in my other projects which are in the same solution file.



    The playback icon is displayed and then nothing occurs. It also seems as though TestComplete/TestExecute hangs because the CPU usage goes to 100%.



    I should also add that all my script is doing is logging a message.



    Im using C# script. It was working and now it suddenly doesnt.



    Any ideas please, this issue is becoming critical. Thanks.
  • Hello Ivan,


    To help us investigate the issue, please follow the instructions below:


    1. Disable the debugger in TestComplete and check whether the issue persists. To disable the debugger, you need to uncheck the Enable Debugging item on the Test Engine toolbar or in the Debug menu.


    2. Try disabling TestComplete's OpenApps plug-ins and check whether the issue persists.

    Here is the list of the OpenApps plug-ins:

    - .NET Open Application Support

    - Delphi and C++ Builder Open Applications Support

    - Java Open Application Support

    - JavaFX Open Application Support

    - MSAA Open Applications

    - Microsoft Visual C++ Open Application Support

    - Open Applications Support

    - Qt Library Support Plug-In

    - Silverlight Open Application Support

    - Visual Basic Open Applications


    To disable the plug-ins, select File | Install Extensions from the TestComplete main menu, in the ensuing dialog, uncheck all the plug-ins you want to disable and click Ok.


    3. If there are event handlers in your project, please disable them as well and check whether the issue persists.


    Also, could you please send several dump files to our Support Team? To do this, please follow the instructions below:


    1. Download the Debugging Tools for Windows for 32-bit process or  Debugging Tools For Windows for 64-bit process package and install it.

    2. When TestComplete hangs when running the script, open the Start | Run dialog and execute the following command:

    "C:\Program Files\Debugging Tools for Windows\windbg.exe" -pn TestComplete.exe -Q -pd -c ".dump /m C:\Dump1.dmp;q"


    This command will make WinDbg write a memory dump of the TestComplete.exe process to the "C:\Dump1.dmp" dump file. After the dump is written, WinDbg will be closed.

    3. Correct the dump file name in the above command line (for example, change it to Dump2.dmp), wait for two minutes and execute the command again.

    4. Repeat step 3.

    5. Use this web form to send all the generated dump files to our Support Team.


    Thanks in advance.

  • I started another thread about a similar issue...  My tests eventually do run but I see the Playback indicator for up to 2 minutes before they do...  I am running my scripts from a fairly large (>700 scripts) project though.  



    Still hoping that this is a bug and not expected behavior...
  • I have this working now. I removed the changes to a script i made then it started working. Must had been some syntax it didnt like. It surly compiled fine.
  • Ivan,

    I'm glad to know that your script tests work again. Still, you can keep in mind the instructions I have posted in case you face the same issue again and undoing the script changes does not help.

    Good luck.


    Charles,

    Let's continue working on your issue in the thread you have created.

    Thank you.