Assigning values for item types from a file

When a file contains values for an item type on your computer, then you can assign those values to the item type to generate the test data.

Before you begin

You must have created a file with item type values on your computer.

Procedure

  1. Log in to HCL OneTest Server and open the team space that contains your project.
  2. Open your project.
    The Overview page is displayed.
  3. Click Author > Data Fabrication.
    The Data Fabrication page is displayed.
  4. Click Files and import the file of item type values from your computer into your project.
  5. Open your schema from the Schemas tab.
  6. Select the item type for which you want to assign the values.
  7. Select Restrictions from the Item Properties drop-down list of the Properties dialog box.
  8. Enable the Values from file toggle button.
  9. Provide the details of the file that you want to use to get the values of the item type in the Values file field.
    You can use any one of the following methods to provide the details of the file:
    • Upload the file from your computer.
    • Provide the name of the imported file with an extension.
  10. Enter the column number of the file where the item type values are specified in the Values column number field.
  11. Save the changes.

Results

You have successfully assigned the values for item types from a file.

What to do next

You must prepare the structural view of the schema. See Designing a structural view of the schema.