Web Add-in Extensibility Developer Guide > Toolkit Configuration Schema > Elements > HTMLTags Element

HTMLTags Element

Description

A collection of identification HTML tags.

Important Information

  • If you define a collection of HTML tags, UFT performs the identification process according to the definitions contained in its parent element, only for HTML elements with HTML tags listed in this collection.
    This can improve UFT's performance of learning and running steps on the custom controls.
  • Make sure to include all HTML tags that can be relevant for your custom control.
  • Include HTML tags only for elements that represent the control as a whole, or elements that can be identified as the control, and not for elements that are contained within it. For example, if your control is a table, list the table tag, but not the td or tr tags.
  • HTMLTags elements should be contained in a Browser element.
    Note: For backward compatibility, UFT also supports HTMLTags elements directly within the Identification element if it does not contain a Browser element.

Diagram

HTMLTags Element (Required, 1 element allowed) Sequence (Required, 1 element allowed) Tag Element (Required, 1 or more elements allowed)


Children

Used By

Source

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="HTMLTags">
    <xs:annotation>
        <xs:documentation>A collection of identification HTML tags.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element name="Tag" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A single identification HTML tag. An HTML element type for which the information in the Identification element is relevant.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attribute name="name" type="xs:string" use="required">
                        <xs:annotation>
                            <xs:documentation>The name of the HTML tag.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:element>