06-03-2010, 10:12 AM
so the issue is for clicking the page links, this is not becuase you have done the regular expression for page url. however it will help to identify the page correctly after each click.
to click on the different page links, see if below code helps you
let me know if I am still not getting your issue properly
to click on the different page links, see if below code helps you
Code:
'Put your statement for the initial steps
'...
'get the number of links
Set oLinks = Description.Create
oLinks("micclass").Value = "Link"
oLinks("html tag").Value = "A"
Set AllLinks = Browser("Meghalaya Directory Search").Page("Meghalaya Directory Search").ChildObjects(oLinks)
nLinks =AllLinks.count
For i = 1 to nLinks
oLinks("text").Value = i
'Put your statements to test the Page here
'...
'...
Browser("Meghalaya Directory Search").Page("Meghalaya Directory Search").Link(oLinks).Click
Next
'Leave the OR as it is you have done till now