Associating a Datapool with a Test Script

A datapool is a test dataset, a collection of related data records. It supplies data values to the variables in a test script during test script playback. You can associate a test script with a datapool to use external data to drive the application instead of using a literal value.

To associate a datapool with a test script:

  1. Take one of the following steps:

  2. Right-click the selected datapool and click Associate with Script.

  3. Click the + next to the project to open the list of scripts.

  4. Click one or several test scripts to associate with the datapool that you selected.

  5. Click Finish.

Caution: If you change the datapool associated with a script, the script can run incorrectly.

If you receive a message that a script is already associated with a datapool, take one of the following steps:

Related Topics:

About Datapools

About Data-Driving Tests

 

Terms of use | Feedback
(C) Copyright IBM Corporation 2002, 2004. All Rights Reserved.