How to capture tool tip within a web element - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: How to capture tool tip within a web element (/Thread-How-to-capture-tool-tip-within-a-web-element) |
How to capture tool tip within a web element - frebuffi - 10-29-2014 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) RE: How to capture tool tip within a web element - Ankesh - 10-29-2014 Did you check the native property of the object? I believe property 'title' serves the purpose in such cases. RE: How to capture tool tip within a web element - frebuffi - 10-29-2014 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? RE: How to capture tool tip within a web element - learning_UFT - 11-10-2014 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 |