Thanks,
I am using thsi code to find a link but when I want to click on this link it does not recognise it. Could you please see if there is anything wrong. aLSO WHENEVER i CLICK INSIDE A PAGE THE NUMBER KEEPS INCREASING LIKE Page(xxx_50) and next time it will be Page(xxx_51), is there a way to avoid this
Thanks,
Sqadri
I am using thsi code to find a link but when I want to click on this link it does not recognise it. Could you please see if there is anything wrong. aLSO WHENEVER i CLICK INSIDE A PAGE THE NUMBER KEEPS INCREASING LIKE Page(xxx_50) and next time it will be Page(xxx_51), is there a way to avoid this
Thanks,
Sqadri
Code:
Set Des_Obj = Description.Create
Des_Obj("micclass").Value = "Link"
'set parent and child objects
Set link_col = Browser("Horizon Blue Cross Blue").Page("Horizon – Plan Configurator_5").ChildObjects(Des_Obj)
linkCount= link_col.count
For i =0 To linkCount -1
linkTag = link_col(i).GetROProperty("name")
Reporter.ReportEvent micPass, "Link Name", linkTag
'if group number '111' exists in the group No link then exit
If Instr(linkTag, groupNo) Then
Reporter.ReportEvent micPass, "Found Group NO", linkTag
FAILS ON THE FOLLOWING LINE
Browser("xxx").Page("xxx_50").Link(linkTag).Click
