When you create test data, you import data from a comma separated
values (CSV) file.
To create test data:
- Create a CSV file:
- Open an Excel spreadsheet.
- In the spreadsheet, the first row of data must be the column
definitions. Follow the format of ColumnName:TYPE,
where the type can be STRING, NUMBER, BOOLEAN,
or ENUMERATION.
Note: Defining columns is required when manually creating test data
in the preceding step. It is optional when migrating manual test scripts that
include test data; however, do not include actual data in the first row of
a CSV file.
- When you are finished typing the data, click .
- Type a name for the file.
- In the Save as type field, select CSV
(Comma delimited).
- Click Save.
- Close the spreadsheet.
- Next, import the CSV file:
- Point to the Construction icon (
), and click Create
Test Data.
- Type a name for the test data.
- Optional: Type a description.
- In the Data File section, browse for the CSV file, and click Open.
- Save the test data.
The test data records display in the Data Records section.