Dim obj,oAllLink_Page,Link_Count_Page,iName,iURL
Set obj=description.Create()
obj1("micclass").value="Link"
Set oAllLink_Page=browser("Find a Flight: Mercury").Page("Find a Flight: Mercury").ChildObjects(obj1)
Link_Count_Page=oAllLink_Page.count
msgbox Link_Count_Page
For i = 0 to Link_Count_Page -1
iName= oAllLink_Page(i).getroproperty("name")
iURL= oAllLink_Page(i).getroproperty("url")
msgbox " Name of Link - " &iName
msgbox " URL - " &iURL
No comments:
Post a Comment