ObjectRepositorySchema Schema
VisualRelations Element
Description
The parent element containing the visual relation identifier settings for the test object.
Namespace http://www.mercury.com/qtp/ObjectRepository
Type
Diagram
Arguments Element Sequence VisualRelation Element Sequence VisualRelations Element
Overview
VisualRelationsoptionalVRIRelationsType Complex Type
The parent element containing the visual relation identifier settings for the 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("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
Source
<xs:element name="VisualRelations" type="tns:VRIRelationsType" minOccurs="0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>The parent element containing the visual relation identifier settings for the test object.</xs:documentation>
  </xs:annotation>
</xs:element>
See Also