Dim descImage,listImages,attrAltText,attrSrcText
Browser("Browser_2").Navigate "http://www.medusind.com/"
Browser("US Healthcare Revenue").Page("US Healthcare Revenue").Image("Medusind Solutions - Enabling").Click 150,9
Browser("Browser_2").Navigate "http://www.medusind.com/index.asp"
set descImage = description.create
descImage("html tag").value = "IMG"
SET listImages = Browser("Webpage error").page("US Healthcare Revenue").childobjects(descImage)
For i=0 to listimages.count-1
attrAltText = ListImages(i).GetRoProperty("alt")
attrrcText = listImages(i).GetRopRoperty("src")
If attrAltText <> "" Then
Msgbox "Images src: " & attrSrcText & vbnewline & "Tooltip: " & attrAltText
End If
Next
Browser("Webpage error").CloseAllTabs
No comments:
Post a Comment