ObjectRepositorySchema Schema
OrdinalIdentifierType Complex Type
Description
A complex type that enables you to define the test object's ordinal identifier information.
Namespacehttp://www.mercury.com/qtp/ObjectRepository
Diagram
Value ElementSequenceOrdinalIdentifierType Complex Type
Overview
OrdinalIdentifierType
A complex type that enables you to define the test object's ordinal identifier information.
Type required xs:string
The type of ordinal identifier used for this test object. The type of ordinal identifier used for this object.   Possible values:
  • Index--The order in which the object appears in the application code relative to other objects with an otherwise identical description.
  • Location--The order in which the object appears within the parent window, frame, or dialog box relative to other objects with an otherwise identical description.
  • CreationTime (for Browser test objects only)--The order in which the browser was opened relative to other open browsers with an otherwise identical description.
Sequence
Value optional xs:int
The numeric value of the ordinal identifier.
Used By
Attributes
NameTypeUseDefaultFixedDescription
Typexs:stringrequired  The type of ordinal identifier used for this test object. The type of ordinal identifier used for this object.   Possible values:
  • Index--The order in which the object appears in the application code relative to other objects with an otherwise identical description.
  • Location--The order in which the object appears within the parent window, frame, or dialog box relative to other objects with an otherwise identical description.
  • CreationTime (for Browser test objects only)--The order in which the browser was opened relative to other open browsers with an otherwise identical description.
Source
<xs:complexType name="OrdinalIdentifierType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>A complex type that enables you to define the test object's ordinal identifier information.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="Value" type="xs:int" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The numeric value of the ordinal identifier.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
  <xs:attribute name="Type" type="xs:string" use="required">
    <xs:annotation>
      <xs:documentation>The type of ordinal identifier used for this test object. </xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>
See Also