Micro Focus QTP (UFT) Forums
Read hover text - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Read hover text (/Thread-Read-hover-text)



Read hover text - linhke - 02-24-2010

Hi,

First see the image, i set an incorrect email, has the validation error then when moving the mouse to web element (!), has a hover text posted. Can any body tell me is there any solution for QTP to catch the hover text?

Thanks and BRs,
linhke

[attachment=412]


RE: Read hover text - jsknight1969 - 02-25-2010

usually hover text is either the Alt property of an image or the title property of a link. Try using Object.GetTOProperty("alt").