Add parameterized data sets
Add or import test data to specify parameter runtime values.
Before you begin
- Create a parameterized test
- Add a parameter to a test step
- Role required: atf_test_admin, atf_test_designer, or admin
About this task
A data set, also known as a test run data set, includes runtime data used when the test runs. You can set a value for every parameter available to the current test. Data sets specify the parameter value during test runs.
Test designers can add data sets manually, or import data from a file.
Note: If you create a parameterized test that includes Custom UI test steps, the system only uses the first data set to retrieve components.
Procedure
Navigate to All > Automated Test Framework > Tests.
Open a parameterized test.
In the Test Run Data Sets related list, add or import data sets.
| Option | Description |
|---|---|
| Add | The New Parameter Value Set form opens. This form includes all parameters available to the current test.
|
| Import | The Import Test Run Data Sets form opens.
|
What to do next
Click Run Test. Automated Test Framework runs each parameterized test once per data set, using the same test steps and execution order. For example, if a parameterized test has five data sets, Automated Test Framework runs the test five times, once for each data set.
Parameterized tests display test results by the execution order of the data sets. Open each test result record to view the test details.
Parent Topic:Parameterized tests