@martinshort
Try the below code. You will have to create a description object for link type. And inside the loop u will have to change the index property.
Let me know if you need more help.
Regards,
Ankesh
Try the below code. You will have to create a description object for link type. And inside the loop u will have to change the index property.
Code:
'Set parent object till the frame
Set oParent=Browser("Browser").Page("Martin Short CanopiusORSA").Frame("Frame")
'Create a description for link
Set objLinkDescription=Description.Create
objLinkDescription("micClass").value="Link"
objLinkDescription("name").value="Lloyds Submission"
'Get the total count
intCount=objLinkDescription.Count
'Run a loop from index 0 till the count
For intIndex=0 to intCount
'assign index value at run time in loop
objLinkDescription("index").value=intIndex
'click on the link
oParent.Link(objLinkDescription).Click
msgbox "Click successful"
Next
'Release the object
Set objLinkDescription=Nothing
Let me know if you need more help.
Regards,
Ankesh