background image
<< Using Datapools with GUI Scripts | Part 5 - Testing IDE Applications >>
<< Using Datapools with GUI Scripts | Part 5 - Testing IDE Applications >>

Accessing a Datapool from GUI and Session Scripts

Using Datapools with GUI Scripts
10-25
Accessing a Datapool from GUI and Session Scripts
If a GUI script and a session script provide the same set of values to the client
application during recording, the scripts can access the same datapool during
playback in a TestManager suite.
Here is the suggested order of steps for creating a datapool and setting up access to it
from GUI scripts and session scripts:
1. Record the procedure and create the datapool as described in Using Datapools
with Sessions on page 10-13.
2. Record the GUI script.
3. Edit the GUI script and add datapool commands to it.
For information about recording GUI scripts and adding datapool commands to
GUI scripts, see the GUI recording section of the Using Rational Robot manual.
If you want to ensure that virtual testers retrieve a unique row of data from the
datapool, follow the guidelines listed in Rational TestManager User's Guide.