ActiveScreen Schema
Rectangle Element
Description
Absolute monitor coordinates of the area for UFT to capture. Alternatively, you can provide a "Bitmap" element with a "path" attribute - a filesystem path to a bitmap file.
Namespace (none)
Diagram
Rectangle Element
Overview
Rectangle
Absolute monitor coordinates of the area for UFT 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.
Attributes
Name Type Use Default Fixed Description
top xs:int required     The top edge.
left xs:int required     The left edge.
bottom xs:int required     The bottom edge.
right xs:int required     The right edge.
Remarks
  • The coordinates of the rectangle surrounding an object must fit into rectangle of the parent object. Otherwise, the active screen is not applied for the object and its children.
    If an object is larger than the parent control, so that the parent clips the object, the dimensions of the object must be adjusted so that they fit inside the parent control's rectangle before passing the XML to UFT.
  • If you provide a Bitmap element instead of the Rectangle element, the bitmap file specified in the path attribute must be accessible to the test during the run session.
Source
<xs:element name="Rectangle" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Absolute monitor coordinates of the area for UFT 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>
See Also