From a test data table you can change the data type of an object
to a subclass so that variables of an interface type or a type with inherited
classes can have data that is of the implementing class or subclass. The procedure
for doing this is very similar to the procedure for selecting an object's
defining attributes.
To use a subclass:
- Double-click the type of the table row that you plan to change. This displays a list of constructor-based, property-based, and
class-specific attribute managers that can be used to define the object .
The list also includes a choice for using a subclass.
- In the list, select use subclass to display
a class selection field.
- In the Choose a class field, enter the full
name of a subclass or enter a partial name using wildcards such as a question
mark (?) and asterisk (*).
- Select the desired subclass from the list of matching types. If the subclass resides in a different package, select the package from
the Qualifier list.
- Click OK.
The test data table row containing the subclass is updated to include
the attributes of the subclass.