Forum Discussion

eban143's avatar
12 years ago

Support for Qt 4.8 Desktop App Testing

Hello!



We are using the Qt application developed in Qt version 4.8. I read in some documentation that the Test Complete 10 can not read the private and the protected class functions. There should be a separate debug of the application done using Visual C++. http://support.smartbear.com/viewarticle/57362/.



Also I could not read the text field using the property and the Object checkpoints. Is it also related to the previous point? It only selects the whole Qwidget as a full and could not get into the Qwidget using the Property and Object checkpoints. How can I proceed with my testing for the text fields, icons, verification checks if I cannot even locate the fields using checkpoints.

Any help is appreciated!



Best Regards, Ebi.

  • Hi Ebanezar,


     


    It only selects the whole Qwidget as a full


    It looks like TestComplete doesn't recognize your application properly. TestComplete 10 supports Qt 5 apps by default. As you are using Qt 4.8, a special module should be installed to TestComplete replacing the existing one. You can find the module, as well as the installation notes, on this page:



     

  • ilo_90's avatar
    ilo_90
    New Contributor
    Hello!

    I'm testing with TestComplete 9.30 an desktop application,  there is an element called QWidget which is no level of detail, there is a plugin or a chance to have more control over this QWidget? Qt 4.8.0 Support Modules don't help.

     Thank you!
  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 3 rankChampion Level 3
    Hi Alesya,



    Just to double-check: you downloaded Qt 4.8.0 support file for TestComplete 9.30 (http://downloads.smartbear.com/testcomplete/qt-support-modules/TC_9_30_3373_Qt_4_8_0_Support.zip) from http://support.smartbear.com/downloads/testcomplete/qt-modules/, installed it as specified in the documentation from the archive (restarted TestComplete) and it did not help.

    Is the above correct?



    P.S. I believe that you verified that your tested application is using Qt 4.8.0 but not some other Qt version...
  • ilo_90's avatar
    ilo_90
    New Contributor
    Tested application uses Qt 4.8.2. I've read it in help chapter "Troubleshooting Qt Applications", that qt dll's should be named QtCore4.dll, QtGui4.dll. In my case used QtCore_Ad_4.dll and QtGui_Ad_4.dll (Company Digia Plc). Could it be the reason that components beyond class QWidget couldn't be defined? 
  • googleid_107949's avatar
    googleid_107949
    Occasional Contributor
    Our application uses Qt 4.8.1 by Digia Plc. The application modules are named: QtCoreX.dll, QtGuiX.dll, QtWinMigrateX.dll, QtXmlX.dll - they are not recognized by the patches provided by SmartBear.