Unable to differentiate two controls having the same propert

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
sac.sharma
Posts: 4
Joined: Fri Jun 22, 2012 11:25 am

Unable to differentiate two controls having the same propert

Post by sac.sharma » Thu Aug 30, 2012 5:21 pm

I am facing problem to identify two Thtag controls having the same properties
.//table[#'tableDetails']/tbody/tr[2]/th[@innertext='Name']


How can i add some other property (like location)to one of them?
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Unable to differentiate two controls having the same propert

Post by Support Team » Fri Aug 31, 2012 3:46 pm

Hello,

The best way is to add a unique ID or to set another attribute to separate the two elements in your HTML code.
What's the difference between the two tables?
Could you send us a snapshot file please?

Regards,
Bernhard
Ranorex Support Team