Complex Types > OrdinalIdentifierType Complex Type
ObjectRepositorySchema Schema
OrdinalIdentifierType Complex Type
Description
A complex type that enables you to define the test object's ordinal identifier information.
Namespace http://www.mercury.com/qtp/ObjectRepository
Diagram
Value Element Sequence OrdinalIdentifierType Complex Type
Overview
OrdinalIdentifierType
A complex type that enables you to define the test object's ordinal identifier information.
Type requiredxs: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
Valueoptionalxs:int
The numeric value of the ordinal identifer.
Used By
Attributes
Name Type Use Default Fixed Description
Type xs:string required     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 identifer.</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