background image
<< Using Rational TestManager | Finding Out What Data Types You Need >>
<< Using Rational TestManager | Finding Out What Data Types You Need >>
Standard data types
Working with Datapools
10-8
Data Types
A datapool data type is a source of data for one datapool column.
For example, the Names - First data type (shipped with Rational Test as a standard
data type) contains a list of persons' first names. Suppose you assign this data type to
the datapool column FNAME. When Robot automatically generates the datapool, it
populates the FNAME column with all of the values in the Names - First data type.
Here is the relationship between data types, datapool columns, and the values
assigned to script variables during playback:
Standard and User-Defined Data Types
There are two kinds of datapool data types, as follows:
þ
Standard data types that are included with Rational Test. These data types
include commonly used, realistic sets of data in categories such as first and last
names, company names, cities, and numbers.
For a list of the standard data types, see Appendix C.
þ
User-defined data types that you create. You must create a data type if none of
the standard data types contains the kind of values you want to supply to a script
variable.
First Name
Data Type
FNAME
Datapool Column
Virtual Tester 1
Virtual Tester 3
Virtual Tester 2
FNAME="Frederick"
FNAME="Mary"
FNAME="Frank"
Charlotte
Frederick
Mary
Frank
Lauren
Eleanor
William
Victor
..., Frederick, ...
..., Mary, ...
..., Frank, ...
..., Lauren, ...
..., Eleanor, ...
..., Charlotte, ...
..., William, ...
..., Victor, ...
..., ..., ...
During datapool generation,
the First Name data type
populates the FNAME
datapool column with values
During playback, the FNAME
column supplies a different
value to the FNAME variable
in each instance of the script