Can anybody explain this tooltip script?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can anybody explain this tooltip script?
https://support.smartbear.com/viewarticle/9023
Why is there a loop?
What if I just want to get the tooltip text for one control only?
Partha Mandayam
Software Consultant
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is just an example on how to use a specific find method. If you are wanting to find a single tooltip, you could map it manually, or use the FindChildEx method.
Some other good starting points for object identification.
https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/index.html
Thanks,
Carson
Click the Accept as Solution button if my answer has helped
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I map it manually how do I find the tooltip text. Couldn't find any such property in Object Spy.
Even wText comes as blank.
@cunderw wrote:
This is just an example on how to use a specific find method. If you are wanting to find a single tooltip, you could map it manually, or use the FindChildEx method.
Some other good starting points for object identification.
https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/index.html
Partha Mandayam
Software Consultant
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you provide a screen shot of what you do see in the object spy?
Thanks,
Carson
Click the Accept as Solution button if my answer has helped
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Attached are 3 screenshots showing all the properties of the tooltip
@cunderw wrote:
Can you provide a screen shot of what you do see in the object spy?
Partha Mandayam
Software Consultant
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you add the *tooltips_class32* class to the Win32 Controls and Windows | Edit box list in the Object Mapping settings of your TestComplete project?
Thanks,
Carson
Click the Accept as Solution button if my answer has helped
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes I have added it. Then why doesn't it show the tooltip text?
@cunderw wrote:
Did you add the *tooltips_class32* class to the Win32 Controls and Windows | Edit box list in the Object Mapping settings of your TestComplete project?
Partha Mandayam
Software Consultant
