10-21-2010, 11:10 AM
Sorry, DP >> Descriptive Programming
Add these lines after your second line i.e, after search action
Add these lines after your second line i.e, after search action
Code:
set Ldesc=Description.create()
Ldesc("micclass").value="Link"
Ldesc("name").value="Officeworks.*"
set objWebLink=Browser("Officeworks | Officesupplies,").Page("Officeworks | Officesupplies,_2").ChildObjects(Ldesc)
If objWebLink.Count>0 Then
' As i am seeing the link with that name is only one on the page, i am using 1st link to click as:objWebLink(0)
objWebLink(0).Click
End If