Renaming or Copying a User-Defined Data Type
Chapter 11 - Working with Datapools
Rational Test can guarantee that a datapool contains unique rows only when
you generate datapool data through Robot or TestManager.
Creating a Datapool Outside Rational Test
To create a datapool file and populate it with data, you can use any text editor, such as
Windows Notepad, or any application, such as Microsoft Excel or Microsoft Access,
that can save data in .
For example, you can create a datapool file and type in the data, row by row and
value by value. Or, you can export data from your database into a .
file that you
create with a tool such as Excel.
After you create and populate a datapool, you can use TestManager to import the
datapool into the datastore. For information about importing a datapool, see Importing
a Datapool on page 318.
Use sequential or
With sequential or shuffle access, each datapool row is referenced
in the row access order just once. When the last row is retrieved, the
datapool cursor either wraps or datapool access ends.
With random access, rows can be referenced in the access order
multiple times. Therefore, a given row can be retrieved multiple
You can set row access order in any of these ways:
When editing the
section of a VU test
script in the Configure Datapool in Script dialog box, set
When editing a VU test script in Robot, add
to the list of flags in the
statement or the
When editing a GUI test script in Robot, set the
argument of the
Do not rewind the
cursor during a
If you rewind the datapool cursor during a test (through the VU
function or the SQABasic
command), previously accessed rows are
What to do
How to do it