Forum Discussion

akash_pancholi's avatar
akash_pancholi
Occasional Contributor
13 years ago

Application crashes when using testcomplete Refresh

I'm testing an MFC application and it crashes frequently when using Refresh method, it has happened with few different objects, tab control, application process itself. Any suggestion/workaround?




4 Replies

  • Hi Aakash,



    To help us investigate the problem, please follow the steps below:



    1. Download AQtime Standard, which is our free profiling tool, from our web site:

    AQtime Standard



    2. Install the tool.



    3. Start AQtime with the -NotOpenApp command line argument. For example, you can use the following command line:

    "C:\Program Files\SmartBear\AQtime 7\Bin\AQtime.exe" -NotOpenApp



    4. Select the 'File | New Project From Module...' main menu item.



    5. In the Open File dialog, select the executable file of the tested application and click Open.



    6. Take a look at the AQtime toolbar - there is a combo box. Open it and select the "Tracing | Exception Trace Profiler" item.



    7. Select the "Options | Options..." main menu command - the Options dialog will appear.



    8. Enable the "Profiling Time | Event View | Debug Events | Generate dump on exception" option and specify a dump folder.



    8. Set the "Profiling Time | Event View | General | Exceptions | Depth shown" setting to 100 and click OK.



    9. Click the Run toolbar button (the green arrow) or press F5 to start the profiling.



    10. AQtime will start the tested application and generate dump files for all exceptions that will occur in the application until it is closed.



    11. Reproduce the problem.



    12. After the problem occurs, right-click somewhere within the Event View panel (it is opened by default at the bottom of AQtime's window) and select the 'Save All...' item.



    13. Save the panel's contents to an HTML file and send me the file along with all of the generated dump files via our Contact Support form.



    Thanks in advance.
  • akash_pancholi's avatar
    akash_pancholi
    Occasional Contributor
    Attached please find the dump and log from AQTime. This time I was refreshing the a tabcontrol object MSVC class name 'CMainTabCtrl' and application closed. If I take out the call to refresh, this issue is resolved, but it sometimes fails to find dynamic object in the tree.



    Thanks,

    Aakash
  • Hi Aakash,



    Thank you for the files. We'll look into the information the dumps provide and get back to you as soon as we have some results.
  • Hi Aakash,



    Thank you for sending the log file. Unfortunately, we were unable to find the exact cause of the problem and want to recreate the problem here in order to investigate it. If it is possible for you to send us your application, please contact us directly via the Contact Support form.
     



    If you cannot send the application, please try disabling all the Open Application extensions one by one in order to find out which exactly one causes the problem. You can enable or disable extensions in the Extensions dialog (File | Install Extension...). Here is the list of the Open Applications extensions:




    .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


    Silverlight Open Application Support


    UI Automation Support Plug-in


    Visual Basic Open Applications


    Web Testing Plug-In


    Open Applications Support