ObjectRepositorySchema Schema
PropertyType Complex Type
Description
A complex type that enables you to define all of the information for an identification property.
Namespacehttp://www.mercury.com/qtp/ObjectRepository
Diagram
Parameter ElementValue ElementChoiceSequencePropertyType Complex Type
Overview
PropertyType
A complex type that enables you to define all of the information for an identification property.
Name optional xs: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 UFT One Object Model Reference Help.
Type optional xs:string
The property value type. Possible values: STRING, NUMBER, BOOL
Hidden optional xs:boolean
Indicates whether the property is displayed in the object repository interface.
ReadOnly optional xs:boolean
Indicates whether the property value can be edited.
Sequence
Choice
Value ValueType Complex Type
The value of the property for properties set to a constant value.
RegularExpression optional xs:boolean
Indicates whether the value should be evaluated as a regular expression.
Parameter ParameterType Complex Type
The name of the parameter for parameterized properties.
Type optional xs:string
The type of parameter. The type of parameter.  For repository parameters in the current version of UFT, the parameter Type is always Repository.
RegularExpression optional xs:boolean
Indicates whether the parameter value should be evaluated as a regular expression.
Used By
Attributes
NameTypeUseDefaultFixedDescription
Namexs:stringoptional  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 UFT One Object Model Reference Help.
Typexs:stringoptional  The property value type. Possible values: STRING, NUMBER, BOOL
Hiddenxs:booleanoptional0 Indicates whether the property is displayed in the object repository interface.
ReadOnlyxs:booleanoptional0 Indicates whether the property value can be edited.
Remarks
The value of a property can be a fixed value or it can be parameterized.  Therefore, a Property element can have either a Parameter child element or a Value child element.  It cannot have both.
Source
<xs:complexType name="PropertyType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>A complex type that enables you to define all of the information for an identification property.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:choice>
      <xs:element name="Value" type="tns:ValueType">
        <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="Parameter" type="tns:ParameterType">
        <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">
    <xs:annotation>
      <xs:documentation>The property name. </xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="Type" type="xs:string" use="optional">
    <xs:annotation>
      <xs:documentation>The property value type. Possible values: STRING, NUMBER, BOOL</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="Hidden" type="xs:boolean" use="optional" default="0">
    <xs:annotation>
      <xs:documentation>Indicates whether the property is displayed in the object repository interface.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="ReadOnly" type="xs:boolean" use="optional" default="0">
    <xs:annotation>
      <xs:documentation>Indicates whether the property value can be edited.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>
See Also