Editing a datapool

In a manner similar to editing a spreadsheet, you can add, modify or remove data from a datapool.

When you right-click on the datapool editing grid, you see the datapool editing popup menu shown in the following figure.



Before you can add data to a datapool, it must contain at least one equivalence class (named row index) and one variable (column). The table shown above contains a single equivalence class with four rows and three columns. To add data to a datapool, you just type in a cell and hit Enter. Thus, to add data to the lastname column in the forth row, you click that cell and type a name followed by the Enter key.

This task explains how to add a new element. The Delete and Edit actions work similarly. To relocate or remove a row, you right-click on the row. To rename, relocate, or remove a column, you click the column name.

To add a structural element to a datapool, right-click in the Data Table grid and select one of the following.

OptionDescription
Add Equivalence Class

The Add Equivalence Class dialog box opens.

  1. In the Group Name field, type a name meaningful to you.

  2. In the Add pull-down box, select the equivalence class below which to add this equivalence class. If this is the first equivalence class, it is added to the top left.

  3. Click OK.

The new equivalence class is added to the leftmost (row index) column.

OptionDescription
Add Variable

The Add Variable dialog box opens.

  1. In the Name field, enter a descriptive name (employee name, account ID, etc.) for the data that will be entered into this column.

  2. In the Type field, enter a type description, such as String.

  3. In the Add pull-down box, select the column that should be on the left side of the new column. If this is the first column, it is added to the right of the equivalence class (row index) column.

  4. Click OK.
Add Record

The Add Record dialog box opens.

  1. In the Add Into pull-down box, select the equivalence class in which to add this new row.

  2. In the Index pull-down, select the number of the row that should be below the new row.

  3. Click OK.

 

Parent topic

Providing tests with variable data
Previous topic: Opening a datapool
Next topic: Accessing a datapool from a Hyades test