An existing application has an html table, within the body tag, there are multiple td tags with the same name
Ranorex isn't able to all of them to the repository, since all of them have the same XPath. ( )
How can I add these items to the repository?
I tried making a recording, the repository that was automatically created contained only one repository item..
NOTE: I cannot make any changes to the application
Identify Elements Uniquely
Identify Elements Uniquely
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Identify Elements Uniquely
Hello,
You could try to use the integrated Ranorex Spy by tracking the parent tree node (TR), right click and choose “Add to Repository (incl. children).
Please let me know if this works.
Regards,
Bernhard
You could try to use the integrated Ranorex Spy by tracking the parent tree node (TR), right click and choose “Add to Repository (incl. children).
Please let me know if this works.
Regards,
Bernhard
Re: Identify Elements Uniquely
I did try that . It does add the items, but yet again I was unable to identify them uniquely from my code.
In the end I just used FindChildren<Ranorex.OptionTag> and iterated through the List of OptionTags, identifying eaach one through the InnerText property that happened to be unique.
In the end I just used FindChildren<Ranorex.OptionTag> and iterated through the List of OptionTags, identifying eaach one through the InnerText property that happened to be unique.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Identify Elements Uniquely
Hello,
Sorry, but I'm not sure. Could you solve the problem?
Please let me know if you need more assistance.
Regards,
Bernhard
Sorry, but I'm not sure. Could you solve the problem?
Please let me know if you need more assistance.
Regards,
Bernhard
Re: Identify Elements Uniquely
Yes , the items are not in the repository, but i can access them from my code
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Identify Elements Uniquely
Ok,
Thank you!
Regards,
Bernhard
Thank you!
Regards,
Bernhard