10-25-2012, 10:01 AM
Hi,
Try to use the below code:
Regards,
Sankalp
Try to use the below code:
Code:
lnknam="Site Search" 'passng thru a var as i got to parameterize the test
'Link Object
Set alllink=description.Create
alllink("micclass").value="Link"
alllink("name").value=lnknam
Browser("title:=.*","micclass:=Browser").Page("title:=.*").Link(alllink).Click
Set allink=Nothing
Set alllink=description.Create
alllink("micclass").value="Link"
Set lnk=Browser("title:=.*","micclass:=Browser").Page("title:=.*").ChildObjects(alllink)
msgbox lnk.count
Regards,
Sankalp