Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
object's description matches more than one
#8
Solved: 11 Years, 3 Months ago
Please note to check the existance of any object you should use Exist.

Code:
If Browser(...).Page(...).Link(...).exist Then
'''
End IF
Your bwlow code will not work as you are just specifying the index,
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
Reply


Messages In This Thread
RE: object's description matches more than one - by Ankesh - 10-18-2012, 06:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Taking Property values in Description objet throw Excel Sheet devarapallliramana 3 3,099 03-11-2014, 10:50 PM
Last Post: supputuri
  error with msdn's description of overwrite value of CreateTextFile ?? anu05446 1 2,577 03-10-2014, 02:48 PM
Last Post: basanth27
  Description about Types of Ordinal Identifier abhijit.airforce 1 2,472 12-27-2013, 02:57 PM
Last Post: Ankesh
  WebElementobject's description matches more than one of the objects sumanth 5 3,859 10-29-2013, 03:15 PM
Last Post: Sathiya
Sad Empty Server description SAP GUI 7.20 with QTP11 sylvester618 2 4,681 09-10-2013, 06:05 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)