Micro Focus QTP (UFT) Forums
How to access text in tool tip - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: How to access text in tool tip (/Thread-How-to-access-text-in-tool-tip)



How to access text in tool tip - Sreedevi - 07-08-2009

Hi,

I want to retrieve the text from the tool tip. I am able to check if the tool tip exists (as there is some property to check the same) but unable to retrieve the text. If anyone knows please let me know .

Regards,
Sreedevi.


RE: How to access text in tool tip - KVK - 07-08-2009

Please paste the code that you are using to check if the tooltip exists.

Which type of Object are you trying to verify the tool tip?


RE: How to access text in tool tip - Sreedevi - 07-08-2009

I am working on SwfObjects (DotNet).
I could check the existence of tool tip using ShowNodeToolTips property.
But I need text of the SWFTreeView Object tool tip of a particular node in the tree.

Regards
Sree


RE: How to access text in tool tip - KVK - 07-08-2009

Hi

Try this and let me know if this works

Code:
a = SwfTreeView("Tree").Object.Nodes.Item(0).Text

msgbox a