To prevent errors, analyze the generated recorded actions and repository items, and how these are connected after each recording.
Recorded actions
The actions table in the recording 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, updating the welcome message with the name entered in step 3. -
Action 4 – Validation
This action validates whether the welcome message has been updated correctly. - Action 5 - Mouse click
This action clicks Exit, closing the application.
Repository items
Several of the actions listed above manipulate UI elements. These UI elements are represented as repository items in the repository, which appear in the lower half of the recording view.
-
Item 1 – EnterYourName
This repository item represents the EnterYourName text box -
Item 2 – BtnSubmitUserName
This repository item represents the Submit button - Item 3 - RxButton Exit
This repository item represents the Exit button -
Item 4 – LblWelcomeMessage
This repository item represents the Welcome Message text label
Actions that manipulate UI elements, such as clicking a button, are automatically linked 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.