Associating a datapool with the test
You associate a datapool with the data in the steps of a recorded test. For instance, you
record a page to create a user and the data that you enter could be user name, gender, and age. When
playing back the test, you can vary the data by associating the test with a datapool.
About this task
The datapool can be associated to a single test. To enable the datapool values to be picked up by multiple tests in the schedule or compound test, add a Datapool Mapper to the schedule or compound test. See Adding Datapool Mapper.
After the test recording stops, the tool automatically identifies potential datapool candidates and prompts a dialog box for you to view them. The datapool candidates are highlighted in light-green.
Procedure
To associate a datapool with a test:
- In the User Action Details section of the test editor, right-click a value that you want to associate with the datapool and click .
- In the Select Data Source dialog box, click Datapool.
- Select a datapool and a column to associate with and click Finish.
- Select the datapool column checkbox again and click Select.
- You are prompted to do more substitutions. Click Cancel. Note that the color of value has now changed to dark green. This change indicates that the value is substituted.
- To save the changes, press Ctrl + S.