YUI Data Tables

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 32
Joined: Fri Dec 03, 2010 6:15 pm
Location: Morrisville, NC

YUI Data Tables

Post by JoeR » Tue Feb 19, 2013 3:16 pm

Our website uses the YUI data tables. The issue is the the IDs for objects change each time the page is loaded. For example here are 2 paths for the same tr tag:


Does anyone have a suggestion as to how to deal with the unique IDs that change.


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

Re: YUI Data Tables

Post by Support Team » Wed Feb 20, 2013 12:23 pm


In cases when the unique ID is not unique, which shouldn't be the case, you could manually use another attribute, like the "InnerText" in order to identify the cell uniquely or you could also disable the "search by unique ID" in the Settings window of Ranorex Spy.
If you disable it you have to add a new rule to the Path Weight Editor in order to prevent Ranorex from using the attribute ID for object identification.
Your rule could look similar to the following one:
, you could also add a condition in order to specify when the rule should be used.

You do not have the required permissions to view the files attached to this post.