Professional Documents
Culture Documents
Now, I'm going to show how to show how to capture tool tips of images
located on a Web page.
Let's verify this code in practice. For example, let's check tooltips from Wikipedia
Main page:
I've prepared QTP script, which gets all image from this page and checks their
tooltips ("alt" property):
Dim descImage, listImages, attrAltText, attrSrcText
When I run this code in QTP, it shows all images containing non-empty tool tip:
The same message boxes will be shown for others images on a Web page.