Work with datapools
A datapool is a test dataset, a collection of related data records which supplies data values to the variables in a test script during test script playback.
You use datapools to supply realist data and to stress an application with a realistic amount of data.
Use Rational Functional Tester , you can create a data-driven test by selecting the controls or objects in an application-under-test to data-drive. Rational Functional Tester creates a datapool in which you can edit and add data. You can use a single test script repeatedly with varying input and response data.
You can use the datapool feature in several ways:
- To add realistic data to a test script
- To import data from a Functional Tester datapool, an IBM Rational TestManager datapool, or a .csv file created using a spreadsheet application.
- To create a datapool manually and add data to a datapool
- To edit datapool values or change data types
- To export datapools to use in other Functional Test projects or to a .csv file to edit in a spreadsheet application.
- To change the datapool record selection order to determine how the test script accesses an associated datapool during playback.
While working with simplified test scripts, you can either create a data-driven test script during recording or you can insert data-driven commands into the simplified test script by using the application visuals. You can also create multiple datapools for a script and associate a datapool to a group in a simplified script.
Private and shared datapools
Every test script that you create has a private test datapool associated with it. The initial private test datapool is a placeholder and is empty until you data-drive a test script, or add new data to it.
You can create a shared datapool by creating a new datapool, or you can associate a datapool with several test scripts to share a datapool.
Create a datapool
Import Datapool dialog box