Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to print link names in a for list
#1
I am trying to print all link names on a page using following code
For inCount = LBound(myHomePageLinks) To UBound(myHomePageLinks)
'If Browser("Horizon Blue Cross Blue").Page("Horizon – Plan Configurator").Link(intCount).Exist Then
'Reporter.ReportEvent micPass, "Found", myHomePageLinks(intCount)
'else
' Reporter.ReportEvent micFail, "Failed", myHomePageLinks(intCount)
'Print(arrayElements)
'msgbox(arrayElements)

'end If
'Next

But I am getting error @ this place: Link(intCount).Exist Then

Could someone please help with this issue

Thanks,
Sqadri
Smile
Reply


Messages In This Thread
how to print link names in a for list - by sqadri - 12-20-2011, 06:19 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)