ActiveScreen Schema
Element Element
Description
A set of properties that identifies the element uniquely in its context.
Namespace(none)
Diagram
Element ElementProperty ElementRectangle ElementSequenceElement Element
Overview
Element
A set of properties that identifies the element uniquely in its context.
type requiredxs:string
The test object's class name.
name requiredxs:string
The object's logical name as displayed in the ActiveScreen, Object Repository, Keyword View, and Expert View.
isActiveElement optionalxs:boolean
True if this is the recorded element the user clicked or selected.
Sequence
Rectangle
Absolute monitor coordinates of the area for UFT One to capture. Alternatively, you can provide a "Bitmap" element with a "path" attribute - a filesystem path to a bitmap file.
top requiredxs:int
The top edge.
left requiredxs:int
The left edge.
bottom requiredxs:int
The bottom edge.
right requiredxs:int
The right edge.
Property0..∞
A test object identification property.
name requiredxs:string
The property's name.
value requiredxs:anySimpleType
The property's value.
forDescription requiredxs:boolean
Indicates whether UFT One uses the property to build the object description.
Element0..∞
A set of properties that identifies the element uniquely in its context.
Attributes
NameTypeUseDefaultFixedDescription
typexs:stringrequired  The test object's class name.
namexs:stringrequired  The object's logical name as displayed in the ActiveScreen, Object Repository, Keyword View, and Expert View.
isActiveElementxs:booleanoptionalfalse True if this is the recorded element the user clicked or selected.
Source
<xs:element name="Element" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>A set of properties that identifies the element uniquely in its context.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Rectangle">
        <xs:annotation>
          <xs:documentation>Absolute monitor coordinates of the area for UFT One to capture. Alternatively, you can provide a "Bitmap" element with a "path" attribute - a filesystem path to a bitmap file. </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="top" type="xs:int" use="required"  />
          <xs:attribute name="left" type="xs:int" use="required"  />
          <xs:attribute name="bottom" type="xs:int" use="required"  />
          <xs:attribute name="right" type="xs:int" use="required"  />
        </xs:complexType>
      </xs:element>
      <xs:element name="Property" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>A test object identification 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:attribute name="forDescription" type="xs:boolean" use="required">
            <xs:annotation>
              <xs:documentation>Indicates whether UFT One uses the property to build the object description.
                </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 object's logical name as displayed in the ActiveScreen, Object Repository, Keyword View, and Expert View.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="isActiveElement" type="xs:boolean" use="optional" default="false">
      <xs:annotation>
        <xs:documentation>True if this is the recorded element the user clicked or selected.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>
See Also