Analyze the generated recorded actions and repository items after each recording to prevent errors. Review how these elements connect.
Recorded actions
The actions table in the recording module view contains four individual actions, numbered accordingly.
- Action 1 – Mouse click: This action performs a click in the EnterYourName text box.
- Action 2 – Key sequence: This action enters Harry in the EnterYourName text box.
- Action 3 – Mouse click: This action clicks Submit, which updates the welcome message with the name entered in step 3.
- Action 4 – Validation: This action validates whether the welcome message has been updated correctly.
Repository items
Several of the recorded actions manipulate UI elements. Ranorex Studio represents these UI elements as repository items in the repository, which appear in the lower half of the recording module view.
- Item 1 – EnterYourName: This repository item represents the EnterYourName text box.
- Item 2 – Submit: This repository item represents the Submit button.
- Item 4 – Welcome: This repository item represents the Welcome text label.
Ranorex Studio automatically links actions that manipulate UI elements, such as clicking a button, to the corresponding repository item. The repository item appears next to the action in the actions table. When you click the action, the item is also highlighted in the repository.
Actions that don’t manipulate UI elements, such as starting an application, are not linked to repository items.
Continue with 6. Run a Test and Check the Report.