Welcome to the Ranorex Support Portal

Track by recording

When you record test steps in Ranorex Studio, UI elements are automatically tracked and therefore identified as you perform actions on them. This is tracking by recording. If you’ve read through the chapters in Ranorex Studio fundamentals, you should already be familiar with this method. We’ll take a quick look at it again on this page by way of a simple example.

In this chapter

Test example definition

To explain tracking by recording, we’ll record a click on a UI element in the Test database of the Ranorex Studio Demo Application.

  1. The Test database tab in the demo application.

  2. The test database working environment.


Track by recording

Now let’s see how tracking by recording actually works.

  1. Start the demo application and click the Test database tab.

  2. Start Ranorex Studio and create a new blank solution.

  3. Open the default recording module and click RECORD.

  4. Ranorex Studio disappears and the Recorder control center appears, indicating an active recording.


  1. In the Test database tab, click the Female radio button.


  1. Click Stop in the Recorder control center.



Once you’ve stopped recording, Ranorex Studio displays the recording module view with the actions table and the current repository.

  1. Mouse click action linked to the repository item RdbFemale that represents the Female radio button.


  1. The repository contains the repository item RdbFemale. This repository item represents the Female radio button and is the result of the tracking process.


  2. The RanoreXPath of the repository item. This path identifies the position of the UI element in the AUT’s UI.


Tracking mechanism for tracking by recording

  • While recording, Ranorex Studio monitors user interactions with the UI and automatically tracks UI elements.
  • When a user interaction occurs, Ranorex Studio identifies the targeted UI element and stores it as a repository item, which is a representation of the UI element.
  • Usually, one repository item represents one UI element.
  • Ranorex Studio recognizes when a UI element is used more than once and then reuses the corresponding repository item.



Get the latest test automation information right in your mailbox.


© 2024 Ranorex GmbH. All Rights Reserved