Ranorex Help Center

How can we help you?

Tracking UI Elements

You can navigate manually through the Ranorex Spy's element tree or use element tracking to identify UI elements in your application under test. The Ranorex Spy supports two ways of tracking UI elements:

Using the TRACK Button

Click the 'TRACK' button to start tracking a UI element. Move your mouse pointer over a specific control (e.g. button, text box) so that the currently identified object is highlighted. By clicking the control, the tracking mode will be stopped and all information on the selected UI element will be shown within Ranorex Spy.


Click the 'Track' button to start element tracking

Click the 'Track' button to start element tracking


Note To abort the tracking session press <ESC> or click the 'TRACK' button again.


Note Holding the <F12> key temporarily disables the tracking mechanism.


In some cases it might be necessary to track UI elements which are currently behind the Ranorex Spy window. Simply uncheck the 'Always On Top' checkbox to cause Ranorex Spy to minimize during the tracking process.
'Always On Top' checkbox within Ranorex Spy

'Always On Top' checkbox within Ranorex Spy

Instant Tracking

When tracking menu or pop-up items, you use the 'Instant Tracking' method by using a shortcut to select a UI element. Simply move your mouse pointer over a menu item and press the <CTRL> + <Win> key combination to instantly track the UI element. 'Instant Tracking' is not only available for popup items, it can be used for any UI element.


Instant tracking of menu items

Instant tracking of menu items