Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to retrieve tool tip text of an object
#2
Solved: 12 Years, 10 Months, 2 Weeks ago
Hi Sreedevi,

Have you tried searching this forum? there are many threads discussed on the same topic.

try this example which is for a link object
Code:
Browser("").Page("").Frame("").Link("").mouseover
wait 2
tooltip = Window("nativeclass:=tooltips_class32").GetROProperty("text")
msgbox tooltip

or if you can see the tooltiptext in the properties list of object at spy then you can try with this as well
Code:
Browser("").Page("").Frame("").Link("").GetROProperty("TooltipText")

does this help?

Reply


Messages In This Thread
RE: How to retrieve tool tip text of an object - by Saket - 10-08-2009, 10:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Verify Static Object Text which is changing Dynamically with Expected Result johnny77 0 3,627 06-25-2015, 11:32 AM
Last Post: johnny77
  QTP Automation: How to retrieve Reporter.Reportevent Message scsenthil 1 5,811 11-14-2013, 07:51 PM
Last Post: spannerj
  How to retrieve ArrayList saved in Environment Variable Gautam26 8 5,783 11-07-2013, 08:26 PM
Last Post: ssvali
  Read text from text file and save it into a variable in qtp arpan 3 14,001 06-19-2013, 08:34 PM
Last Post: arpan
Exclamation Retrieve the complete height and width of a browser beyond the visible part as wel learnQtptips 0 2,368 05-22-2013, 09:36 AM
Last Post: learnQtptips

Forum Jump:


Users browsing this thread: 2 Guest(s)