Forum Discussion

ameett's avatar
ameett
Contributor
14 years ago

Test Complete(7.5) gets hanged while debugging

Hello,



I am using Test Complete ver7.5. From last few days I am facing the problem of the Test Complete getting Hanged while doing the debugging. It utilizes almost 98% capacity of CPU.

Could you please help me to sort this issue out?



Thanks in Advance,

Shelar Ameett

3 Replies

  • Hello Ameett,

    Could you please provide us with more information on your problem?

    1. Do you have any expressions or variables in the Locals or Watch List panel in TestComplete? Does the issue persist if you disable these expressions?

    2. Does TestComplete hang when debugging a particular place in your tests? If it does, could you please provide us with a detailed description of the steps that cause TestComplete to hang?

    3. Have you had any software or hardware updates on your computer recently?

    4. What version of Microsoft Visual Studio is installed on your computer (if any)? What is the version of the pdm.dll file installed on your computer?

    Also, could you please make sure that the issue persists with the latest version of TestComplete (8.60)? You can download a free trial version from here.

    Thanks in advance.
  • Hello Julia,

    Answers to your questions as below-

    1) After disabeling expressions or variables in the Locals or Watch List the issue still persists.

    3)I am using a computer through Remote desktop connection...and has no idea about any software or hardware updates on that computer.By the way what kind of software or hardware updates will affect the debugger?

    4)I don't have Microsoft Visual Studio installed on my machine. the version for pdm.dll is 6.00.8424.---3.5 DotNet Framework is installed on my machine.

    2)Background-There is a form which has a ToolStrip which in turn has small buttons represented as small icons.

    Purpose-To click the button

    When I do Recording the button names doesn't appears instead it is recorded as ToolStrip["Click"](39,3)...I have written a code wherein the excat button is clicked. Code is somewhat like this-

    -I first finds out the ToolStrip object by FindChild method

    -Get the total number of buttons on the ToolStrip

    -Run a loop till the required Name of the button is not found

    -Once it is found I click that button

    ToolStrip["Items"]["Item"](<buttonIndex>)["PerformClick"]()

    -----------

    Now when no new window is opening it works fine.....as in case of New or Save button..........but in case of a button, on clicking of which a new window opens TestComplete gets hanged.On closing of that window it works smoothly thereafter.

    Please let me know if you need any more details.



    Thanks

    Ameett Shelar
  • Hello Ammeet,


    Thank you for the provided information. Unfortunately, this information doesn't seem to be enough for us to analyze the problem.


    Please follow the instructions below to help us collect more information on the problem:


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


    2. When TestComplete hangs, 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:\TCDump1.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. Create a memory dump for your tested application as well:

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


    Change TestedApp_Name to the actual name of your tested application's process. You can see it in Task Manager.


    4. Repeat steps 2-3 twice again to save another set of dump files with different file names.


    6. Submit a request via our Contact Support Form and attach the resulting files to your request.


    Thanks in advance.