How to add and identify custom Qt controls
Hello,
I am using TestComplete to test a desktop application. Object spy catches an entire box but no objects inside of it. It is Qt based. I already tried a a couple of ways but they are not working.
Object spy returns this with the box selection:
Sys.Process("Abc").....QtObject("TreeView").QtObject("qt_scrollarea_viewport")
First I tried adding a custom Qt control in my projects object mapping page (based on the below link). After adding the custom control and saving, object spy still can't find the inside objects.
https://support.smartbear.com/testcomplete/docs/general-info/supported-technologies/controls/qt.html
Then I tried using the Text Recognition Technology in TestComplete (based on the below link) by calling the TextObject method but it looks like It must use the class name returned by the WndClass property of the object and since my control is Qt object it only has QtClass and therefore it is not able to invoke the TextObject method.
Any ideas how we can do this for Qt controls? Thanks!