Working with Java Add-in Extensibility > Using the Java Add-in Extensibility Eclipse Plug-In > New UFT Custom Support Class Wizard > New Test Object Class Details Screen

New Test Object Class Details Screen

If you mapped a new test object class to the custom control, you define additional details about the new test object class in the New Test Object Class Details screen.

When you click Finish, the Custom Control Support Class Summary Screen opens.

The New Test Object Class Details screen contains the following options:

Option

Description

Test object icon

The path of the icon file to use in the Keyword view for this test object class. The icon file must be in an uncompressed .ico format.

This is optional. If you do not define an icon file, the JavaObject icon is used.

Identification property for unique description

Specifies the identification property that UFT uses to uniquely identify the control (in addition to the toolkit_class and index properties).

You can select an identification property from the list or leave the property the wizard selected by default.

Default test object method

Specifies the default test object method displayed in the Keyword View and Step Generator when a step is generated for an object of this class.

Select a test object method from the list.

Default checkpoint properties

Specifies the identification properties that are selected by default when you create a checkpoint for an object of this class.

Select the check boxes for the appropriate properties. Click Select All or Clear All to select or clear all of the check boxes.

When the wizard creates the new support class, it adds the new test object type to the test object configuration file. The options you specify in the New Test Object Class Details screen are recorded in this file. For information on the structure of this file, see the UFT Test Object Schema Help.

If you want UFT to include additional identification properties in the test object description, you must manually specify this in the test object configuration file. The wizard adds the test object class definition to the test object configuration file. For each property that you want to add to the test object description, find the line that describes it in the file. Between the words Property and Name, add the words ForDescription="true".

The list of identification properties in the test object description can be modified in UFT using the Object Identification dialog box. Therefore, by default, UFT reads this information from the test object configuration file only once, to prevent overwriting any changes a user makes in UFT. For information on how to ensure UFT reads modifications you make to the ForDescription attribute, see Modifying Identification Property Attributes in a Test Object Configuration File.