Ask a Question

Can anybody explain this tooltip script?

mcp111
Contributor

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?

Regards

Partha Mandayam
Software Consultant
6 REPLIES 6
cunderw
Community Hero

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

 

https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-all/findch...


Thanks,
Carson

Click the Accept as Solution button if my answer has helped

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

 

https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-all/findch...


 

Regards

Partha Mandayam
Software Consultant

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

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?


 

Regards

Partha Mandayam
Software Consultant

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

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?


 

Regards

Partha Mandayam
Software Consultant
cancel
Showing results for 
Search instead for 
Did you mean: