Please note to check the existance of any object you should use Exist.
Your bwlow code will not work as you are just specifying the index,
You should use the below code instead.
Regards,
Ankesh
Code:
If Browser(...).Page(...).Link(...).exist Then
'''
End IF
Code:
Browser("name:=.*").Page("title:=.*").Link("index:="&x)
You should use the below code instead.
Code:
if Browser("name:=.*").Page("title:=.*").Link("html tag:=A","text:=Rate this","index:="&x).Exist Then
'do your task
End IF
Regards,
Ankesh