Controls Element

Description

The top-level element containing all of the toolkit support information and the mapping of custom classes to their corresponding custom support classes.

Attributes

Name Type Use Default Description
class string required   The fully qualified name of the toolkit support class.
description string optional   The description of the custom toolkit support. UFT displays this description in the Add-in Manager dialog box when the custom toolkit name is selected. 

If you are developing the custom toolkit support for distribution, include a Provided by clause in the description, specifying the relevant person or company.

SupportClasspath string optional   The full file system path to the location of the compiled support classes. This location can be a class folder or a Java archive.

Diagram

Controls Element (Required, 1 element allowed) Sequence (Required, 1 element allowed) Control Element (Required, 1 or more elements allowed) Sequence (Required, 1 element allowed) CustomRecordReplay Element (Required, 1 element allowed)


Children

Source

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Controls">
    <xs:annotation>
        <xs:documentation>The top-level element containing all of the toolkit support information and the mapping of custom classes to their corresponding custom support classes.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element name="Control" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Maps each custom control to its corresponding custom support class.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="CustomRecordReplay">
                            <xs:annotation>
                                <xs:documentation>Parent element for the ImplementationClass element.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="ImplementationClass" type="xs:string">
                                        <xs:annotation>
                                            <xs:documentation>The fully qualified name of the custom support class corresponding to the custom class defined in the Control element's Type attribute.</xs:documentation>
                                        </xs:annotation>
                                    </xs:element>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                    <xs:attribute name="Type" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The fully qualified name of the custom class.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="SupportClasspath" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The full file system path to the location of the compiled support classes. This location can be a  class folder or a Java archive.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="class" type="xs:string" use="required">
            <xs:annotation>
                <xs:documentation>The fully qualified name of the toolkit support class.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="description" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The description of the custom toolkit support.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>