Control Element

Description

Information for identifying and supporting custom controls that should be mapped to the test object class specified in the TestObjectClass attribute.

Attributes

NameTypeUseDefaultDescription
IsContainerbooleanoptionalfalseIndicates whether to include the control as a parent object in the test object hierarchy, when it contains other controls or web elements.
TestObjectClassIDrequired The name of the test object class.

Diagram

Control Element (Required, 1 element allowed)All (Required, 1 element allowed)Settings Element (Optional, up to 1 element(s) allowed)Sequence (Required, 1 element allowed)Variable Element (Optional, unlimited elements allowed)
Identification Element (Optional, up to 1 element(s) allowed)Sequence (Required, 1 element allowed)Choice (Required, 1 element allowed)Sequence (Required, 1 element allowed)HTMLTags Element (Optional, up to 1 element(s) allowed)
Conditions Element (Optional, unlimited elements allowed)
Sequence (Required, 1 element allowed)Browser Element (Optional, unlimited elements allowed)
Record Element (Optional, up to 1 element(s) allowed)Sequence (Required, 1 element allowed)EventListening Element (Optional, up to 1 element(s) allowed)
Run Element (Optional, up to 1 element(s) allowed)All (Required, 1 element allowed)Methods Element (Optional, up to 1 element(s) allowed)
Properties Element (Optional, up to 1 element(s) allowed)
ListOfValues Element (Optional, up to 1 element(s) allowed)
Filter Element (Optional, up to 1 element(s) allowed)All (Required, 1 element allowed)Learn Element (Optional, up to 1 element(s) allowed)
Spy Element (Optional, up to 1 element(s) allowed)


Children

Used By

Source

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Control">
    <xs:annotation>
        <xs:documentation>Information for identifying and supporting custom controls that should be mapped to the test object class specified in the TestObjectClass attribute.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:all>
            <xs:element ref="Settings" minOccurs="0" />
            <xs:element ref="Identification" minOccurs="0" />
            <xs:element ref="Record" minOccurs="0" />
            <xs:element ref="Run" minOccurs="0" />
            <xs:element ref="ListOfValues" minOccurs="0" />
            <xs:element ref="Filter" minOccurs="0" />
        </xs:all>
        <xs:attribute name="TestObjectClass" type="xs:ID" use="required">
            <xs:annotation>
                <xs:documentation>The name of the test object class.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="IsContainer" type="xs:boolean" use="optional" default="false">
            <xs:annotation>
                <xs:documentation>Indicates whether to include the control as a parent object in the test object hierarchy, when it contains other controls or web elements.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>
Controls Element