ObjectRepositorySchema Schema
VRIRelationType Complex Type
Description
A complex type that enables you to define a single visual relation.
Namespace http://www.mercury.com/qtp/ObjectRepository
Diagram
Arguments Element Sequence VRIRelationType Complex Type
Overview
VRIRelationType
A complex type that enables you to define a single visual relation.
RelatedObjectPath requiredxs:string
The full object hierarchy of the related object. For example: "Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("passFirst1")"
RelativePosition requiredxs:string
The position of the specified related object relative to the object to identify. Possible values: left, right, above, below, contains, closest-x, closest-y, closest
Sequence
Arguments0..∞
The parent element containing additional name-value definitions for a VisualRelation object.
Sequence
Argument0..∞VRIArgumentType Complex Type
A single name-value definition for a VisualRelation object.
Sequence
Namexs:string
The name of the visual relation argument.
ValueVRIArgumentValueType Complex Type
The value of the visual relation argument.
Type requiredxs:string
The type of the visual relation argument. Possible value: Inline
Used By
Attributes
Name Type Use Default Fixed Description
RelatedObjectPath xs:string required     The full object hierarchy of the related object. For example: "Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("passFirst1")"
RelativePosition xs:string required     The position of the specified related object relative to the object to identify. Possible values: left, right, above, below, contains, closest-x, closest-y, closest
Source
<xs:complexType name="VRIRelationType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>A complex type that enables you to define a single visual relation.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="Arguments" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>The parent element containing additional name-value definitions for a VisualRelation object.</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:sequence>
          <xs:element name="Argument" type="tns:VRIArgumentType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
              <xs:documentation>A single name-value definition for a VisualRelation object.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
  <xs:attribute name="RelatedObjectPath" type="xs:string" use="required">
    <xs:annotation>
      <xs:documentation>The full object hierarchy of the related object. For example: 
"Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("passFirst1")" </xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="RelativePosition" type="xs:string" use="required">
    <xs:annotation>
      <xs:documentation>The position of the specified related object relative to the object to identify. Possible values: left, right, above, below, contains, closest-x, closest-y, closest</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>
See Also