Editing datapools
After you data-drive a test
to create a datapool or create an empty datapool, you can edit the
records and variables in the datapool.
About this task
A datapool is a test dataset, a collection of related data records which supplies data values to the variables in a test script during test script playback. A record is a row in a datapool. A variable is a column in a datapool.
You can make the following changes to a datapool:
- Add, remove, move, or edit a record
- Add, remove, move, or edit a variable
- Edit datapool values
- Cut, copy, or paste a cell, a record, or a variable
Selecting a record
About this task
To select a record:
- Click the column number, for example, 0, 1, or 2.
Adding a record
Procedure
Removing a record
About this task
To remove a record:
- Select a record you want to delete, right-click the selected record, and then click Remove Record.
Moving a record
Procedure
To move a record before or after another record:
Editing datapool values
About this task
To edit datapool values:
- Select the cell you want to change, double-click the selected cell, and then type the new value of the cell.
Adding variables
Procedure
Removing variables
About this task
To remove a variable:
- Right-click a cell in the variable you want to remove, and then click Remove Variable.
Changing names, types, or move variables
Procedure
Cutting, copying or pasting cells, records, or variables
About this task
To cut, copy, or paste a cell, a record, or a variable:
- To delete data in a cell, record, or variable to the clipboard and copy it to the clipboard, select a cell, a record, or a variable, right-click, and then click Cut.
- To paste the contents of the clipboard, select a cell, record, or variable that you want to overwrite with the contents of the clipboard, right-click, and then click Paste.
- To copy a cell, record, or variable to the clipboard, select a cell, a record, or a variable, right-click, and then click Copy.