Associating a dataset with a test script
You can associate a test script with a dataset to use external data to drive the application instead of using a literal value.
About this task
A dataset 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
- In the Projects view, select a dataset.
- Right-click the selected dataset and click Associate with Script. The Associate the dataset with scripts dialog is displayed.
- Expand the project to open the list of scripts.
- Click one or more test scripts to associate with the dataset that you selected.
- Click Finish. CAUTION: If you change the dataset associated with a script, the script may run incorrectly.
-
If you receive a message that a script is already associated with a dataset, you must complete
one of the following steps:
- Click Yes to change the dataset associated with the script to another dataset.
- Click No to keep the dataset associated with the script.