background image
<< Defining Datapool Columns | Rational Test uses to compute random values >>
<< Defining Datapool Columns | Rational Test uses to compute random values >>

The maximum number of characters

312
Chapter 11 - Working with Datapools
Sequence
The order in which the values in the data type specified in
Type
are
written to the datapool column. Select one of these options from the
list:
s
Random
­ Writes numeric and alphanumeric values to the
datapool column in any order.
s
Sequential
­ Writes numeric values sequentially (for example, 0, 1,
2...). With decimal numbers, the sequence is based on the lowest
possible decimal increment (for example, with a
Decimals
value of
2, the sequential values are 0.00, 0.01, 0.02, ...).
s
Sequential
is only supported for numeric values (including date
and time values) and values generated from user-defined data
types.
When you select Sequential with numeric data types, and you
specify a
Minimum
and
Maximum
range,
Interval
must be
greater than 0.
s
Unique
­ With data type Integers - Signed, ensures that numbers
written to the datapool column are unique. Also, set
Repeat
to 1,
and define a
Minimum
and
Maximum
range.
Do not confuse the
Random
and
Sequential
settings in this grid with
Random
and
Sequential
access order in the Configure Datapool in
Script dialog box.The
Random
and
Sequential
settings in this grid
determine the order in which values are written to an individual
datapool column at datapool creation time.
Random
and
Sequential
access order determine the order in which virtual testers access
datapool rows at suite runtime.
Repeat
The number of times a given value can appear in a datapool column.
Repeat
cannot be set to 0.
To make values unique with Integers - Signed data types and
user-defined data types, set
Repeat
to 1. For unique Integers - Signed
values, also set
Sequence
to either Sequential or Unique.
When defining unique values, ensure that the number of rows you
are generating is not higher than the range of possible unique values.
Length
The maximum number of characters that a value in the datapool
column can have. If the datapool column contains numeric values,
Length
specifies the maximum number of characters a number can
have, including a decimal point and minus sign, if any.
For example, for decimal numbers as high as 999.99, set
Length
to 6.
For decimal numbers as low as -999.99, set
Length
to 7.
Length
cannot be 0.
Decimals
Specifies the maximum number of decimal places that floating point
values can have. Maximum setting is 6 decimal places.
Grid Column
Description