Associating a datapool with a test script

You can associate a test script with a datapool to use external data to drive the application instead of using a literal value.

About this task

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.

Procedure

  1. In the Projects view, select a datapool.
  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 may run incorrectly.
  6. If you receive a message that a script is already associated with a datapool, take one of the following steps:
    • Click Yes to change the datapool associated with the script to another datapool.
    • Click No to keep the datapool associated with the script.
Feedback