Tutorial: Learning to Create Java Custom Toolkit Support > Learning to Support a Simple Control > Understanding the New Custom Support > Understanding Identification Property and Test Object Method Support

Understanding Identification Property and Test Object Method Support

Each identification property that can be learned for a particular custom control is represented in the support class, by a method called <property name>_attr. Each test object method that can be supported for the control is represented by a method called <test object method name>_replayMethod.

When the wizard creates the support class, it inserts stubs for the required methods, according to the identification properties and test object methods that you selected to implement.

The following method stub was added because you selected to override the label identification property, inherited from CanvasCS, in Creating a New UFT Custom Support Class:

    public String label_attr(Object arg0) {
        return super.label_attr(arg0);
    }

The following method stub was added because you selected to implement the Click(Object obj) test object method, in Creating a New UFT Custom Support Class:

    public Retval Click_replayMethod(Object obj, String button) {
        return Retval.NOT_IMPLEMENTED;
    }