Add parameterized data sets
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- Automated Test Framework
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.
Procedure
- Navigate to .
- 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.
- Define the Order field to set the order in which data sets run.
- Specify the parameter value when the test runs.
- Click Submit.
Import The Import Test Run Data Sets form opens.
- Define the import behavior.
- Add: Adds the data in the file to existing test run data sets in the Test Run Data Sets table. For more information, see Add a record in the template.
- Replace: Downloads a template that includes any existing data sets in the Test Run Data Sets table. Replaces all existing data sets that have matching Sys IDs in the Test Run Data Sets table with data from the uploaded file. For more information, see Update a record in the template.
- In the Upload Test Run Data File section, select Yes to download an Excel template with the required fields, then upload a completed file. Alternately, select No to upload a completed file.
Each row in the file becomes an entry in the Test Run Data Sets table.
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.