Lesson 3: Add descriptive headings to the data

In this lesson, you will add descriptive headings to the dataset you created in the previous lesson. Descriptive headings make it easier to add data to the dataset.

Procedure

  1. In the Data Driven Commands table, under the Variable header, replace ItemText with Composer.
    Insert Data Driven Actions
  2. Repeat sequentially, replacing each cell in the Variable column with a descriptive name for each heading in the Variable field. Use the text in the following variables list as descriptive names.
    Note: Do not use spaces in Variable names. Typically, you would look at the application to determine the appropriate headings for each row, but we have done that for you in the following variables list:
    Variable
    Composer
    Item
    Quantity
    CardNo
    CardType
    ExpiryDate
    Name
    Street
    CityStateZip
    Phone
    HCL OneTest UI automatically updates the test script as you change each of the Variable names.
  3. Click OK.

Results

Now the dataset has descriptive headings that make it easier to add more data. You will add more data to the dataset after you finish recording the test script.