Ranorex Help Center How can we help you?

Editing RanoreXPath

The RanoreXPath is used for identifying objects and elements on the screen. Each repository item refers to a RanoreXPath used to identify the corresponding UI element.

In order to reduce work required for maintaining path expressions, repository items like buttons, text fields and list items are automatically grouped within application folders holding the base path for each child item.

RanoreXPath separation

RanoreXPath separation

Press <ENTER> to change the RanoreXPath expression of an item using the edit mode or open the Path Editor by clicking the 'Edit' button.
'Edit' button opens Ranorex Spy

'Edit' button opens Ranorex Spy

Path Editor to change attributes used for identification

Path Editor to change attributes used for identification

Use the path editor to select alternative attributes or to combine multiple attributes for unique UI element identification. Additionally, you can create variables to be used instead of static string values for data driven identification (for more information see Lesson 3: Data-Driven Testing - Using Variables within the Repository). Learn more about how to work with the path editor in Lesson 9: Ranorex Spy - The Path Editor.

After changing the identification attribute from 'AccessibleName' to 'Text' you can quickly verify the new RanoreXPath using 'Highlight element' as shown below.


Highlight the modified element to check the modified path

Highlight the modified element to check the modified path

Save button as highlighted element

Save button as highlighted element