ObjectRepositorySchema Schema
VRIRelationsType Complex Type
Description
A complex type that enables you to define the visual relations definition for a test object.
Namespacehttp://www.mercury.com/qtp/ObjectRepository
Diagram
Arguments ElementSequenceVisualRelation ElementSequenceVRIRelationsType Complex Type
Overview
VRIRelationsType
A complex type that enables you to define the visual relations definition for a test object.
Sequence
VisualRelation0..∞VRIRelationType Complex Type
A single visual relation definition, which contains the details of a single visual relationship between a related object and the test object.
RelatedObjectPath requiredxs:string
The full object hierarchy of the related object. For example: "Browser("Advantage Shopping").Page("Advantage Shopping").WebEdit("subjectTextareaContactUs")"
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
Source
<xs:complexType name="VRIRelationsType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>A complex type that enables you to define the visual relations definition for a test object.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="VisualRelation" type="tns:VRIRelationType" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>A single visual relation definition, which contains the details of a single visual relationship between a related object and the test object.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
</xs:complexType>
See Also