ObjectRepositorySchema Schema
VisualRelation Element
Description
A single visual relation definition, which contains the details of a single visual relationship between a related object and the test object.
Namespacehttp://www.mercury.com/qtp/ObjectRepository
Type
Diagram
Arguments ElementSequenceVisualRelation Element
Overview
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
Source
<xs:element name="VisualRelation" type="tns:VRIRelationType" minOccurs="0" maxOccurs="unbounded" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <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>
See Also