Forum Discussion
Since they are the same question, I combined your two posts here.
Let's see a screenshot of your object mapping where the qt items are.
Attaching screenshot of my Object Mapping window:
- Marsha_R3 years agoChampion Level 3
And what happens when you try to add your custom control?
- sameerjade3 years agoFrequent Contributor
I tried adding the custom control in 2 ways:
1. First I tried adding a custom control "TreeWidget" under Qt Controls>Tree widget. After saving changes, I try to select my control using object spy but there is no change. It still cannot highlight the items inside my control.
2. Second I tried the first approach in the below link i.e. find your custom control's base class in the object mapping window and select the "derived classes" checkbox. This enables TestComplete to find your derived classes/custom controls from that base class. However, my base class is "QWidget" and this base class is not listed in the Object Mapping window, therefore I cannot do this approach.
Please let me know if I am missing something. Thanks!
- Marsha_R3 years agoChampion Level 3
What type is your QWidget?