background image
<< Directives - INCLUDE, EXCLUDE, OVERRIDE | Viewing Datapool Values >>
<< Directives - INCLUDE, EXCLUDE, OVERRIDE | Viewing Datapool Values >>

Datapool Fields grid

Working with Datapools
10-20
Step 2. Defining Datapool Columns and Generating the Data
To complete the creation of the datapool that you started in Step 1. Editing Datapool
Configuration
on page 10-14, def
ine the datapool's columns and populate it with data.
You do so in the Datapool Specification dialog box.
The Datapool Specification dialog box contains the Datapool Fields grid. Each row
in the grid represents a datapool field -- that is, a column of data in the datapool file.
When the dialog box opens, the grid lists a datapool column name and a default
column definition for each script variable that is assigned the value
INCLUDE
or
OVERRIDE
in the Configure Datapool in Test Script dialog box.
You define and populate the datapool as follows:
1. To insert one or more new columns into the datapool file:
a. Click the row located either just before or just after the location where you
want to insert the new datapool column. (Note that the order in which
datapool column names are listed in Name determines the order in which
values are stored in a datapool record.)
An arrow appears next to the name of the datapool row you clicked.
b. Click either Insert before or Insert after, depending on where you want to
insert the datapool column.
c. Type a name for the new datapool column (40 characters maximum).
Make sure there is a script variable of the same name listed in the Configure
Datapool in Test Script dialog box. The case of the names must match.
Script Data
A value that was provided during recording. The value was assigned
to the script variable in Name.
If there is no value in this column for a particular script variable, a
length of 1 is assigned to the datapool column associated with the
script variable.
This value can only be modified in the script.
(Continued)
Field or Column
Description
NOTE: If the Datapool Specification dialog box is not open, see Step 1. Editing
Datapool Configuration
on page 10-14 to learn how to open it.