Forum Discussion

azeezuddin's avatar
azeezuddin
New Contributor
12 years ago

Unable to work fully with QT Controls...


Hi,


We’re doing feasibility study of one desktop application. QT version used for this application is 4.8.5 (as per the info from dev). We’re using trial version of Test Complete 9.31.3889.7 in Windows 8 (X64) environment. 


 


Problem we’re facing is few controls of the application are not getting recognized by Test Complete. Neither the objects are recognized by Object Spy nor they are loaded in Object browser.


 


Please refer to enclosed project suite for all kinds of project properties While mapping few objects Test Complete recognizes objects up to some hierarchy and there upon all its child objects are shown as one single object. Please find below


 One simple Example in our case. • Aliases.Test.wndQWidget.StackedWidget.MainContainer.Container.FilesContainer.Splitter.filesTabs.qt_tabwidget_stackedwidget.filesView.TreeView.qt_scrollarea_viewport


 


Object QT Class wndQWidget MainWindow StackedWidget QStackedWidget MainContainer MainContainer Container QStackedWidget FilesContainer FilesContainer Splitter QSplitter filesTabs FilesTabController qt_tabwidget_stackedwidget QStackedWidget filesView FilesView TreeView TreeView qt_scrollarea_viewport QWidget Objects in side “qt_scrollarea_viewport” object are not being recognized by Test Complete and these objects are not even available in Object Browser. 


 


Test Complete 9.31.3889 by default supports QT version 5.0, Since our QT version is 4.8.x, we’ve downloaded Test Complete Module for 4.8 from the below link and followed the instructions from there upon. http://support.smartbear.com/downloads/testcomplete/qt-modules/


 


With default QT version 5.0 we were stuck at “wndQWidget (MainWindow)” object itself. Please provide us required help so that Test Complete recognizes all objects.

1 Reply


  • Hi Mohammad,


     


    As far as I understand, the whole Qt application is recognized fine by TestComplete. The issue is related only to the correct recognition of several objects, right? As this issue may be computer-specific, I recommend that you contact our TestComplete Support team to investigate the situation.