Complex Types > StandardPropertyType Complex Type
ObjectRepositorySchema Schema
StandardPropertyType Complex Type
Description
A complex type that enables you to define information for a property in an object.
Namespace http://www.mercury.com/qtp/ObjectRepository
Diagram
Parameter Element Arguments Element Sequence VisualRelation Element Sequence VisualRelations Element Value Element Choice Sequence StandardPropertyType Complex Type
Overview
StandardPropertyType
A complex type that enables you to define information for a property in an object.
Name requiredxs:string
The property name. The property name. The Name must be a supported property for the test object class. For a list of supported properties for a particular test object class, refer to the relevant object in the Unified Functional Testing Object Model Reference Help.
Flags requiredxs:string
Property bit flags. Do not add or modify this attribute manually.
InnerType requiredxs:string
The inner setting of a property. Do not add or modify this attribute manually.
Type requiredxs:string
The property value type. Possible values: STRING, NUMBER, BOOL
Sequence
Choice
ValueStandardPropertyValueType Complex Type
The value of the property for properties set to a constant value.
RegularExpression optionalxs:boolean
Indicates whether the value should be evaluated as a regular expression.
IgnoreSpace optionalxs:boolean
Indicates whether the value should be evaluated ignoring the spaces.
MatchCase optionalxs:boolean
Indicates whether the value should be evaluated with exact match by case.
NotExactMatch optionalxs:boolean
Indicates whether the value should be evaluated with not exact match.
Formula optionalxs:boolean
Indicates whether the value is an MS Excel formula.
VisualRelationsVRIRelationsType Complex Type
The Visual Relations property of the 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
ParameterStandardPropertyParameterType Complex Type
The name of the parameter for parameterized properties.
RegularExpression optionalxs:boolean
Indicates whether the value should be evaluated as a regular expression.
IgnoreSpace optionalxs:boolean
Indicates whether the value should be evaluated ignoring the spaces.
MatchCase optionalxs:boolean
Indicates whether the value should be evaluated with exact match by case.
NotExactMatch optionalxs:boolean
Indicates whether the value should be evaluated with not exact match.
Formula optionalxs:boolean
Indicates whether the value is an MS Excel formula.
Type optionalxs:string
The type of parameter.
Used By
Attributes
Name Type Use Default Fixed Description
Name xs:string required     The property name. The property name. The Name must be a supported property for the test object class. For a list of supported properties for a particular test object class, refer to the relevant object in the Unified Functional Testing Object Model Reference Help.
Flags xs:string required     Property bit flags. Do not add or modify this attribute manually.
InnerType xs:string required     The inner setting of a property. Do not add or modify this attribute manually.
Type xs:string required     The property value type. Possible values: STRING, NUMBER, BOOL
Source
<xs:complexType name="StandardPropertyType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>A complex type that enables you to define information for a property in an object.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:choice>
      <xs:element name="Value" type="tns:StandardPropertyValueType">
        <xs:annotation>
          <xs:documentation>The value of the property for properties set to a constant value.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VisualRelations" type="tns:VRIRelationsType">
        <xs:annotation>
          <xs:documentation>The Visual Relations property of the object.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Parameter" type="tns:StandardPropertyParameterType">
        <xs:annotation>
          <xs:documentation>The name of the parameter for parameterized properties.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:sequence>
  <xs:attribute name="Name" type="xs:string" use="required">
    <xs:annotation>
      <xs:documentation>The property name. </xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="Flags" type="xs:string" use="required">
    <xs:annotation>
      <xs:documentation>Property bit flags. Do not add or modify this attribute manually.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="InnerType" type="xs:string" use="required">
    <xs:annotation>
      <xs:documentation>The inner setting of a property. Do not add or modify this attribute manually.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="Type" type="xs:string" use="required">
    <xs:annotation>
      <xs:documentation>The property value type. Possible values: STRING, NUMBER, BOOL</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>
See Also