Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to capture tool tip within a web element
#1
Not Solved
Any idea how to capture tooltip text within a web element object? i  tried spying the web element object and there is no "tooltip" property so how can i get the text value?

Moderator Note: Check this article on 4 Ways to capture tool tip in UFT (QTP)
Reply
#2
Not Solved
Did you check the native property of the object? I believe property 'title' serves the purpose in such cases.
Reply
#3
Not Solved
do you mean i have to try this?

Code:
aux=Browser("x").Page("z").WebElement("y").Object.title

when we need to acces the native properties do we have to put "object.property"?
thats right?
Reply
#4
Not Solved
Tool Tips can be easily read through DOM technique, that is reading the source code of a web page through QTP. Let me know if you need details on how to do it.

Thanks
Davesh Khanna
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Page element keep changing chong67 4 4,267 11-08-2016, 09:17 PM
Last Post: Paul Rammone
  Choosing element from array marvson 1 1,782 06-29-2016, 02:55 PM
Last Post: Ankesh
  Web Element: Not able to select value from drop down in Web Element. Rajeev 4 4,986 08-04-2015, 06:03 PM
Last Post: kbhargava505
  how to click on tool tip.. venkatesh9032 3 2,171 05-22-2015, 08:03 PM
Last Post: babu123
  How to connect two web element objects? zawarepradeep@gmail.com 1 2,521 07-23-2014, 11:23 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)