RanoreXPath - Introduction | Ranorex Studio User Guide
Help CenterUser GuideRanorex Studio advanced

RanoreXPath

The purpose of RanoreXPath expressions is to uniquely identify UI elements in a desktop, web, or mobile application. Without RanoreXPath, Ranorex Studio couldn’t find the UI elements it’s supposed to perform actions on.

The RanoreXPath syntax is based on the XML description syntax XPath. The two are not the same, however.

The primary tool for working with RanoreXPath expressions is Ranorex Spy.

 

In this chapter

    Watch our on-demand webinar

    Mastering the RanoreXPath: Get an in-depth understanding of the RanoreXPath syntax, including how to use wildcards and regular expressions. Learn how to uniquely identify all types of UI elements, including invisible elements and elements with dynamic IDs.

    Recommended knowledge

    To make the most out of the information in this chapter, we recommend you also study the following chapters:

    Reference

    Ranorex Spy is the primary tool for working with RanoreXPath expressions. It is explained in

    Ranorex Studio advanced > ⇢ Ranorex Spy

    Reference

    UI elements, roles, capabilities, and attributes are explained in

    Ranorex Studio advanced > ⇢ UI elements.

    Expert topics

    While primarily an advanced topic, there are also some expert chapters related to RanoreXPath. Progress to them once you’ve finished studying this chapter.

    Reference

    Identifying dynamic UI elements and using RanoreXPath weights are explained in

    Ranorex Studio expert > ⇢ Identifying dynamic UI elements

    Reference

    Using regular expressions in Ranorex Studio is explained in

    Ranorex Studio expert > ⇢ Regular expressions in Ranorex Studio