ObjectType complex type

A complex type that enables you to define all the information about a test object in the object repository.

Namespace: http://www.mercury.com/qtp/ObjectRepository

Diagram

Back to top

Overview

Back to top

Used by

Back to top

Attributes

Name Type Use Description
Class xs:string optional The test object class.
Name xs:string optional The test object name.

Back to top

Remarks

An Object element can be located directly under the ObjectsType element as a top-level object in the repository, or under a ChildObjects element, defining all child objects of a particular parent object.

Back to top

Source

<xs:complexType name="ObjectType" xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:annotation><xs:documentation>A complex type that enables you to define  all of the information about a test object in the object repository.</xs:documentation></xs:annotation><xs:sequence><xs:element name="Properties" type="tns:PropertiesType"><xs:annotation><xs:documentation>The parent element containing the full list of properties and values learned for the test object.</xs:documentation></xs:annotation></xs:element><xs:element name="BasicIdentification" type="tns:BasicIdentificationType"><xs:annotation><xs:documentation>The parent element containing the list of properties in the test object's learned description.</xs:documentation>      </xs:annotation></xs:element><xs:element name="SmartIdentification" type="tns:SmartIdentificationType" minOccurs="0"><xs:annotation><xs:documentation>The parent element containing the details of the test object's smart identification settings.</xs:documentation>      </xs:annotation></xs:element><xs:element name="CustomReplay" type="tns:CustomReplayType" minOccurs="0"><xs:annotation><xs:documentation>Element is automatically generated by UFT. Do not add or modify this element manually.</xs:documentation></xs:annotation></xs:element><xs:element name="Comments" minOccurs="0"><xs:annotation><xs:documentation>Parent element containing the test object comments.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="Comment" type="tns:CommentType" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A free-text comment for the test object.</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element><xs:element name="VisualRelations" type="tns:VRIRelationsType" minOccurs="0"><xs:annotation><xs:documentation>The parent element containing the visual relation identifier settings for the test object.</xs:documentation></xs:annotation></xs:element><xs:element name="LastUpdateTime" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>The date and time the test object was last modified. </xs:documentation></xs:annotation></xs:element><xs:element name="ChildObjects" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A parent element containing all child objects of the test object.</xs:documentation></xs:annotation><xs:complexType><xs:choice minOccurs="0" maxOccurs="unbounded"><xs:element name="Object" type="tns:ObjectType"><xs:annotation><xs:documentation>A child object of the current test object.</xs:documentation></xs:annotation></xs:element><xs:element name="EncodedObject" type="tns:EncodedObjectType"><xs:annotation><xs:documentation>An EncodedObject child object of the current test object.</xs:documentation></xs:annotation></xs:element></xs:choice></xs:complexType></xs:element></xs:sequence><xs:attribute name="Class" type="xs:string"><xs:annotation><xs:documentation>The test object class.</xs:documentation></xs:annotation></xs:attribute><xs:attribute name="Name" type="xs:string"><xs:annotation><xs:documentation>The test object name.</xs:documentation></xs:annotation></xs:attribute></xs:complexType>
<xs:complexType name="ObjectType" xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:annotation><xs:documentation>A complex type that enables you to define  all of the information about a test object in the object repository.</xs:documentation></xs:annotation><xs:sequence><xs:element name="Properties" type="tns:PropertiesType"><xs:annotation><xs:documentation>The parent element containing the full list of properties and values learned for the test object.</xs:documentation></xs:annotation></xs:element><xs:element name="BasicIdentification" type="tns:BasicIdentificationType"><xs:annotation><xs:documentation>The parent element containing the list of properties in the test object's learned description.</xs:documentation>      </xs:annotation></xs:element><xs:element name="SmartIdentification" type="tns:SmartIdentificationType" minOccurs="0"><xs:annotation><xs:documentation>The parent element containing the details of the test object's smart identification settings.</xs:documentation>      </xs:annotation></xs:element><xs:element name="CustomReplay" type="tns:CustomReplayType" minOccurs="0"><xs:annotation><xs:documentation>Element is automatically generated by UFT. Do not add or modify this element manually.</xs:documentation></xs:annotation></xs:element><xs:element name="Comments" minOccurs="0"><xs:annotation><xs:documentation>Parent element containing the test object comments.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="Comment" type="tns:CommentType" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A free-text comment for the test object.</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element><xs:element name="VisualRelations" type="tns:VRIRelationsType" minOccurs="0"><xs:annotation><xs:documentation>The parent element containing the visual relation identifier settings for the test object.</xs:documentation></xs:annotation></xs:element><xs:element name="LastUpdateTime" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>The date and time the test object was last modified. </xs:documentation></xs:annotation></xs:element><xs:element name="ChildObjects" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A parent element containing all child objects of the test object.</xs:documentation></xs:annotation><xs:complexType><xs:choice minOccurs="0" maxOccurs="unbounded"><xs:element name="Object" type="tns:ObjectType"><xs:annotation><xs:documentation>A child object of the current test object.</xs:documentation></xs:annotation></xs:element><xs:element name="EncodedObject" type="tns:EncodedObjectType"><xs:annotation><xs:documentation>An EncodedObject child object of the current test object.</xs:documentation></xs:annotation></xs:element></xs:choice></xs:complexType></xs:element></xs:sequence><xs:attribute name="Class" type="xs:string"><xs:annotation><xs:documentation>The test object class.</xs:documentation></xs:annotation></xs:attribute><xs:attribute name="Name" type="xs:string"><xs:annotation><xs:documentation>The test object name.</xs:documentation></xs:annotation></xs:attribute></xs:complexType>

Back to top

See also: