background image
<< Editing the DATAPOOL_CONFIG | Standard data types >>
<< Editing the DATAPOOL_CONFIG | Standard data types >>
Using Rational TestManager
Planning and Creating a Datapool
10-7
For information about defining datapool columns, see Step 2. Defining
Datapool Columns and Generating the Data
on page 10-19.
You also assign a data type to each datapool column. Data types supply a
datapool column with its values. For information about data types, see Data
Types
on page 10-8.
­
Generating the data. Once you configure the datapool and define its
columns, you populate the datapool simply by clicking Generate Data.
With Robot, you can create and populate a datapool immediately after recording
or at any other time, as long as the datapool commands are in the script.
The following figure illustrates the three stages of datapool creation:
NOTE: You can also create and populate a datapool file manually and import
it into the project. For more information, see Using Rational TestManager.
In Robot, click Edit
Modify DATAPOOL_CONFIG or accept the defaults.
Plan the Datapool
What datapool columns do you need?
What data type should you assign each column?
Do you need to create data types?
Generate the Code
Select the Use datapools recording option.
Record the transaction(s), and then stop recording.
Robot automatically generates datapool commands.
Robot automatically matches up script variable
names with datapool column names.
Session Scripts
Manually add datapool commands to the script.
Match up script variable names with datapool
columns.
GUI Test Scripts
Create and Populate the Datapool
Datapool Information.
In Robot or TestManager, define datapool columns (including
assigning a data type to each datapool column).
Generate the data.
Session Test Scripts
Session and GUI Test Scripts