AddElements Schema
Element Element
Description
A recursive definition of the Object description: the set of properties that identifies the element uniquely in its parent context, and its child context. The full description contains the user-selected object and all its parent objects to the hierarchy root.
Namespace(none)
Diagram
Element ElementProperty ElementSequenceElement Element
Overview
Element
A recursive definition of the Object description: the set of properties that identifies the element uniquely in its parent context, and its child context. The full description contains the user-selected object and all its parent objects to the hierarchy root.
type requiredxs:string
The test object's class name.
name requiredxs:string
The test object name as displayed in the UFT user interface.
index requiredxs:integer
The index in the SafeArray of run-time IDs. The index of the first array element is zero.
Sequence
Property0..∞
A property.
name requiredxs:string
The property's name.
value requiredxs:anySimpleType
The property's value.
Element0..∞
A recursive definition of the Object description: the set of properties that identifies the element uniquely in its parent context, and its child context. The full description contains the user-selected object and all its parent objects to the hierarchy root.
Attributes
NameTypeUseDefaultFixedDescription
typexs:stringrequired  The test object's class name.
namexs:stringrequired  The test object name as displayed in the UFT user interface.
indexxs:integerrequired  The index in the SafeArray of run-time IDs. The index of the first array element is zero.
Source
<xs:element name="Element" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>A recursive definition of the Object description: the set of properties that identifies the element uniquely in its parent context, and its child context. The full description contains the user-selected object and all its parent objects to the hierarchy root.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Property" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>A property.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="name" type="xs:string" use="required">
            <xs:annotation>
              <xs:documentation>The property's name.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="value" type="xs:anySimpleType" use="required">
            <xs:annotation>
              <xs:documentation>The property's value.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element ref="Element" minOccurs="0" maxOccurs="unbounded"  />
    </xs:sequence>
    <xs:attribute name="type" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>The test object's class name.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="name" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>The test object name as displayed in the UFT user interface.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="index" type="xs:integer" use="required">
      <xs:annotation>
        <xs:documentation>The index in the SafeArray of run-time IDs. The index of the first array element is zero.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>
See Also