multiple attribute weightings
Posted: Tue Sep 19, 2017 12:57 pm
Is there a way of creating rules to force Ranorex to use multiple attributes for an adapter role?
For example, in Ranorex, a Cell uses the Text attribute as it has the highest weighting by default.
I want it to use the ColumnIndex AND the RowIndex instead of the Text attribute.
So I create a rule that sets the Text attribute to zero.
I create another rule to set the ColumnIndex to 200
I create another rule to set the RowIndex to 200
So both the Column & Row index has the same weighting - I hoped that Ranorex would then use both attributes, but it doesn't. When I add a Cell object to the repository, it just uses the ColumnIndex.
Is there a way to force Ranorex to use two attributes (or more) when learning UI elements?
For example, in Ranorex, a Cell uses the Text attribute as it has the highest weighting by default.
I want it to use the ColumnIndex AND the RowIndex instead of the Text attribute.
So I create a rule that sets the Text attribute to zero.
I create another rule to set the ColumnIndex to 200
I create another rule to set the RowIndex to 200
So both the Column & Row index has the same weighting - I hoped that Ranorex would then use both attributes, but it doesn't. When I add a Cell object to the repository, it just uses the ColumnIndex.
Is there a way to force Ranorex to use two attributes (or more) when learning UI elements?