Lesson 3: Create and add variables to a Web UI test
In this lesson, you will learn how to create and add test variables to store values and reuse them across test steps. By using variables, you can manage test data centrally and apply it dynamically during test execution.
Ensure that you have completed the previous lessons in this tutorial.
In the recorded test, the Employee ID value was manually entered as
012345. In this task, you will create a test variable to store
a new Employee ID 23456 and modify the recorded test step to use
this variable instead of the manually entered value. This method helps make the test
more flexible and reusable by separating test data from test logic.
You have now added the variable to the recorded step.
You have completed Lesson 3.