I am facing this issue: on a specific screen I have several labels (text) and some other elements: textboxes, comboboxes etc, like this:
Label 1 - Textbox 1
Label 2 - Textbox 2
Label 3 - Combobox 3 etc.
The labels are not linked to their mate element. Also, the elements have unique ID's in the database, but Ranorex doesn't see them. So far I can identify these elements (i.e. textboxes) by ChildIndex Value. But the hard part comes when this index changes (whether the order/location is changed, or strangely with every new build of the app Ranorex finds different indexes).
So I was wondering if there is any possibility to include another item in xpath, for example to reference the item on the same line with another.
e.g. textbox1=myapp/screen1/text[@location.Y=$variableRepositoryItem.Y] or even better:
textbox1=myapp/screen1/text[@location.Y=$variableRepositoryItem.Y and location.X=$variableRepositoryItem.X+100]
where in this case $variableRepositoryItem is bound to Label1.
I hope my question is clear enough for you to understand. If not, I will try harder

AUT: Android app
Thank you!