Creating test data

When you create test data, you import data from a comma separated values (CSV) file.
To create test data:
  1. Create a CSV file:
    1. Open an Excel spreadsheet.
    2. 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.
      CSV example with column definitions
      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.
    3. When you are finished typing the data, click File > Save.
    4. Type a name for the file.
    5. In the Save as type field, select CSV (Comma delimited).
    6. Click Save.
    7. Close the spreadsheet.
  2. Next, import the CSV file:
    1. Point to the Construction icon (Construction), and click Create Test Data.
    2. Type a name for the test data.
    3. Optional: Type a description.
    4. In the Data File section, browse for the CSV file, and click Open.
    5. Save the test data.
The test data records display in the Data Records section.

Feedback