Create repository items | Ranorex Studio User Guide
Help CenterUser GuideRanorex Studio fundamentals

Create repository items

In this chapter, you’ll find out which automatic and manual ways of creating repository items and adding them to your repository there are.

In this chapter

    Automatic creation during a recording

    When you’re recording a test with Ranorex Recorder and you perform an action on a UI element, the corresponding repository element is created and added to your repository automatically.

    Example of recorded repository items

    Repository items created automatically during a recording

    With the Track button

    The Track button is available in the repository view and Ranorex Spy. It lets you track UI elements manually and create repository items in this way. This is useful when you quickly need to re-identify a UI element that has changed, for example.

    Reference

    Using the Track button is explained in detail in

    Ranorex Studio advanced > Tracking UI-elements > ⇢ Track button

    With instant tracking

    Instant tracking is another way of creating repository items manually. It’s particularly useful for manually identifying UI elements that aren’t easily accessible, like items in a drop-down menu. Instant tracking is activated by pressing the shortcut Ctrl+WIN when you’re moused over the desired UI element.

    Reference

    Using instant tracking is explained in detail in

    Ranorex Studio advanced > Tracking UI-elements > ⇢ Instant tracking.

    With Ranorex Spy

    Finally, you can also add repository items manually from Ranorex Spy, a dedicated tool for mapping and identifying UI elements.

    Further reading

    Ranorex Spy is introduced in Ranorex Studio advanced > ⇢ Ranorex Spy.

    In the repository view

    Finally, you can create repository items manually in the repository view itself.

    To do so:

    Right-click an app folder, a rooted folder, or a simple folder.

    Click Add new item > Item.

    Manually specify the item’s path and name it.

    Reference

    The RanoreXPath used to identify repository items is explained in

    Ranorex Studio advanced > RanoreXPath > ⇢ Introduction