Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to retrieve tool tip text of an object
#6
Solved: 10 Years, 9 Months, 1 Week ago
Saket's suggestion should work if the application you are working is a Web Based. Else it doesnt make a difference.

If you are working on something for which you know the co-ordinates of the object then you can exploit user32.dll to get a method called SetCursorPos to the co-ordinate and then use

Code:
tooltip = Window("nativeclass:=tooltips_class32").GetROProperty("text")
msgbox tooltip

I have posted the solution on this forum several times. Search using SetCursorPos and you will get the solution.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
RE: How to retrieve tool tip text of an object - by basanth27 - 10-08-2009, 11:41 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,187 06-25-2015, 11:32 AM
Last Post: johnny77
  QTP Automation: How to retrieve Reporter.Reportevent Message scsenthil 1 5,263 11-14-2013, 07:51 PM
Last Post: spannerj
  How to retrieve ArrayList saved in Environment Variable Gautam26 8 4,474 11-07-2013, 08:26 PM
Last Post: ssvali
  Read text from text file and save it into a variable in qtp arpan 3 12,132 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,019 05-22-2013, 09:36 AM
Last Post: learnQtptips

Forum Jump:


Users browsing this thread: 1 Guest(s)