TDD (test driven development) and BDD (behavior driven development) are unique software development techniques that differ in what they are testing and how they are testing it. Despite their similar names, they serve distinct purposes. What Is TDD? TDD stands for test...
Analyze your recording
Required time: 3 minutes
The actions table in the recording view contains 4 individual actions, numbered accordingly. Let’s take a closer look at them.
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.
Several of the actions listed above manipulate UI elements. These UI elements are represented as repository items in the repository, which appears 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 – LblWelcomeMessage
This repository item represents the Welcome Message text label
The link between actions and repository items
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, aren’t linked to repository items.
The ‘Mouse’ action performs the mouse click into the text box. The ‘Key sequence’ action enters Harry in it. Both actions are linked to the EnterYourName repository item
Repository item that represents the manipulated UI element