10:39 PM -
Advanced QTP,QTP
No comments
How to get Tool tip of Images in a web page
Set desc_img = Description.Create
desc_Img("html tag").value = "IMG"
Set list_imgs= Browser("abc").Page("abc").ChildObjects(desc_img)
For i = 0 To list_imgs.Count - 1
tool_tiptxt= list_imgs(i).GetROProperty("alt")
If tool_tiptxt <> "" Then
MsgBox "Tool tip text= " & tool_tiptxt
End If
Next
0 comments:
Post a Comment