Page 1 of 1

Unable to differentiate two controls having the same propert

Posted: Thu Aug 30, 2012 5:21 pm
by sac.sharma
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?

Re: Unable to differentiate two controls having the same propert

Posted: Fri Aug 31, 2012 3:46 pm
by Support Team
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