background image
<< Finding Values in GUI Scripts | Generating Multi-Byte Characters >>
<< Finding Values in GUI Scripts | Generating Multi-Byte Characters >>
User-Defined Data Types
Data Types
10-11
The following figure shows the data type colors being populated with five values:
When you create a user-defined data type, it is listed in the Type column of the
Datapool Specification dialog box (where you define datapool columns). Type also
includes the names of all the standard data types. User-defined data types are flagged
in this list with an asterisk (*).
Generating Unique Values from User-Defined Data Types
You may want a user-defined data type to supply unique values to a script variable
during playback. To do so, the user-defined data type must contain unique values.
In addition, when you are defining the datapool in the Datapool Specification dialog
box, make the following settings for the datapool column associated with the
user-defined data type:
Set Sequence to Sequential.
Set Repeat to 1.
Make sure the No. of records to generate value does not exceed the number
of unique values in your user-defined data type.
For information about the values you set in the Datapool Specification dialog box,
see Using Rational TestManager.
Type new value here
Type new value here.
Slide this bar
up or down to
change row height.
Line currently being edited.
NOTE: You can assign data from a standard data type to a user-defined data type.
For information, see Using Rational TestManager.