Datapool structure

Datapools provide variable data to your tests during execution.

Datapools contain three structural elements:

As shown in the following figure, the datapool editor is a grid similar to a spreadsheet, with a separate tab along the bottom for each equivalence class in the datapool. Right-clicking on the grid opens the popup menu that you use to add or modify datapool columns and rows. You add data by typing in a cell and add a record by pressing the Enter key.

To rename, add, or remove an equivalence class, click the Overview tab, shown below. You can also maintain columns from this tab. To rename a variable or equivalence class, double-click it.

When you create a datapool, you have the option of initializing the new datapool with data contained in an existing comma-separated-value (CSV) file that you created with a spreadsheet editor or with some external or custom tool. For datapools containing large amounts of data, this approach is recommended. The datapool editor is suitable for entering small amounts of data and modifying individual records but provides no means of generating large amounts of typed data.

(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.