background image
<< Modifying DATAPOOL_CONFIG | Valid row numbers >>
<< Modifying DATAPOOL_CONFIG | Valid row numbers >>
Use Test Script Data
Working with Datapools
10-16
Access Order
Determines the sequence in which datapool rows are accessed:
þ
Sequential
Sequential
Sequential
Sequential ­ Rows are accessed in the order in which they are
physically stored in the datapool file, beginning with the first
row in the file and ending with the last.
þ
Random
Random
Random
Random ­ Rows are accessed in any order, and any given row
can be accessed multiple times or not at all.
þ
Shuffle
Shuffle
Shuffle
Shuffle ­ Each time TestManager rearranges, or "shuffles," the
access order of all datapool rows, a unique sequence results. Each
row is referenced in a shuffled sequence only once.
Think of non-sequential access order (Shuffle and Random) as
being like a shuffled deck of cards. With Shuffle access order, each
time you pick a card (access a row), you place the card at the bottom
of the pack. With Random access order, the selected card is
returned anywhere in the pack -- which means that one card might
be selected multiple times before another is selected once.
Also, with Shuffle, after each card has been selected once, you
either resume selecting from the top of the same access order
(Wrap at end of file? is Yes), or no more selections are made
(Wrap at end of file? is No).
With Random, you never reach the end of the pack (there is no
end-of-file condition, so Wrap at end of file? is ignored).
Use Test Script Data Specifies the source of the values that script variables are assigned
during suite runtime, as follows:
þ
Always
Always
Always
Always ­ Script variables are assigned the values provided during
recording rather than values from the datapool. Recorded values
are listed in the Test Script Data column.
This option overrides the runtime meaning of the
INCLUDE
directive in the Usage column. It also adds the flag
OVERRIDE
to the
DATAPOOL_CONFIG
section of the script.
This option provides a convenient way to run the script even if
the datapool file is missing or incomplete.
þ
Obey Usage
Obey Usage
Obey Usage
Obey Usage ­ Script variables associated with the
INCLUDE
directive in the Usage column are assigned datapool values.
Script variables not associated with the
INCLUDE
directive are
assigned values in the Test Script Data column.
No flag is added to
DATAPOOL_CONFIG
with this option.
(Continued)
Field or column
Description