Editing a datapool

You can add, modify, or remove data from a datapool, similar to the way you work with a spreadsheet using the Datapool Editor. If you created datapool using HCL OneTest™ Data, you can update the data at the click of a button or update it automatically for every test run.

About this task

If your datapool changes are extensive, it might be easier to delete the datapool, enter the revised data into a CSV file, and import the data into a new datapool. If your changes are minor, it is easier to edit the datapool.

Procedure

  1. To edit the data in the Datapool editor, double-click the datapool in the Test Navigator:
    Option Description
    To change the data in a cell Type over the data, just like you would do in a spreadsheet.
    To add a row Right-click the row above the one to be added, and select Add Record.
    To remove a row Right-click the row to be deleted, and select Remove Record.
    To add and populate a column
    1. Click the Overview tab.
    2. In the Variables section, click the column above the one to be added, and click the Add button.
    3. Click the EquivalenceClass1 tab to display the datapool cells. To populate the cells, type directly into each one.
    To change a column name
    1. Click the Overview tab.
    2. In the Variables section, double-click the column name and type the correct name.
    To change the order of a column
    1. Click the Overview tab.
    2. In the Variables section, select the column name, and click the Up or Down buttons to manipulate the column position.
    To select all rows Right-click any row, and then select Select All. Alternately, press Ctrl+A.
  2. To update the data that was generated from HCL OneTest Data, in the Test editor, ensure that the Common Options category is selected, and click Datapool Properties.
    1. To update the data once, click Update datapool. The Update datapool content with HCL OneTest Data dialog box would display the new set of data. Click OK.
    2. To update the data automatically for every run, select the Update datapool during deployment check box.
Feedback