10-21-2010, 09:52 AM
Hi
You can use DP to get all links in the page and click on 1st link by using the index as 0.
OR
try for last statement as:
If this didn't work and if the link name begins with "Officeworks", then try with
Please let me know if u get any problem.
You can use DP to get all links in the page and click on 1st link by using the index as 0.
OR
try for last statement as:
Code:
Browser("Officeworks | Officesupplies,").Page("Officeworks | Officesupplies,_2").Link("index:=0").Click
Code:
Browser("Officeworks | Officesupplies,").Page("Officeworks | Officesupplies,_2").Link("name:=Officeworks.*,index:=0").Click
Please let me know if u get any problem.