Repository items & actions | Ranorex
HomeUser GuideRanorex Studio FundamentalsRepository items & actions

Repository items & actions

Within Ranorex Studio, actions and UI-elements are separately stored and managed. Nevertheless, they are intrinsically tied to each other. This chapter is to introduce and explain the differences and the link between them.

In this chapter

    Actions & action list

    Within Ranorex Studio, actions and the identified (referring) UI-elements are separately stored and managed. Actions are stored and managed within the action list of a recording module which is part of the recorder view in Ranorex Studio.

    Actions in action list of recorder view in Ranorex Studio

    Actions in action list of recorder view in Ranorex Studio

    Further reading

    The concept of action is introduced and explained in > Ranorex Studio fundamentals > Actions > ⇢ Introduction.

    UI-elements & repository items

    Every UI-element which is involved in a test recording is identified by Ranorex and referenced by one repository item in the current repository.

    UI-elements & repository items

    UI-elements & repository items

    Important to know:

    • A UI-element has its representation in a repository item
    • Repository items are organized in a tree-like data structure in the repository
    • The repository is part of the recorder view in Ranorex Studio

    Repository items & actions

    Repository items and actions are intrinsically tied to each other. This fundamental concept is introduced in a first summary herein.

    Link between actions & repository items

    Link between actions & repository items

    Action referring to UI-element

    • Action #4 represents the click on the Submit button
    • This action, therefore, refers to the UI-element Submit button

    Repository item

    • The repository item BtnSubmitUserName refers to the UI-element Submit button
    • This repository item is referenced whenever the Submit button is invoked

    Link between action and repository item

    • The link between the action and the UI-element is made through the corresponding repository item
    • The link is established in column #6 of the action component