background image
<< Importing a Datapool from Another Project | Importing a User-Defined Data Type >>
<< Importing a Datapool from Another Project | Importing a User-Defined Data Type >>

Managing User-Defined Data Types

320
Chapter 11 - Working with Datapools
Managing User-Defined Data Types
You use TestManager to manage user-defined data types. You can edit data type
values and data type definitions. You can also rename, copy, and delete data types.
For information about creating user-defined data types, see Data Types on page 304.
Editing User-Defined Data Type Values
If you want to add, remove, or modify data type values, or if you just want to modify
the optional description, edit the data type.
You can only edit user-defined data types, not standard data types.
To edit a user-defined data type:
s
Click
Tools > Manage > Data Types.
Editing User-Defined Data Type Definitions
Like all data types, a user-defined data type is essentially a one-column datapool. The
single column contains the values that you type into the user-defined data type.
You can edit the default definition of the data type column in the Datapool
Specification dialog box, just as you edit the default definition of datapool columns.
If you edit the definition of a user-defined data type and then generate values for the
data type, you overwrite any existing values for the data type.
To edit the definition of a user-defined data type:
s
Click
Tools > Manage > Data Types.
You can also add values to a user-defined data type by supplying it with values from
a standard data type. This automatic generation of values by TestManager can reduce
the typing that you need to perform when adding values to the user-defined data
type.
For example, suppose you want to create a user-defined data type that contains a list
of valid product IDs. The valid ID numbers range from 1000001 through 1000100.
However, there is a dash between the fourth and fifth digits (such as 1000-001).
Rather than typing in all 100 numbers, with dashes, you can have TestManager
generate the numbers and assign them to a user-defined data type. Then, you can edit
the data type values and each ID.