ObjectRepository Schema
ObjectRepositorySchema
Description

You can import and export object repositories from and to XML files. You import and export the files using the File > Import from XML and File > Export to XML options in the Object Repository Manager.    

XML provides a structured, accessible format that enables you to make changes to object repositories using the XML editor of your choice and then import them back into UFT.

UFT uses a defined XML schema for object repositories (ObjectRepository.xsd), which is located in the <UFT installation folder>\dat folder.  This document describes each of the elements and complex types defined for the object repository schema.  You must follow this schema when creating or modifying object repository files in XML format.

Tip: After creating or editing an object repository XML file, it is recommended to use the UFT Schema Validation functionality to verify that your file conforms to the UFT object repository schema. (Choose Insert > Checkpoint > XML Checkpoint (From Resource) to create an XML checkpoint on your XML file and then click the Activate Schema Validation button.) 

For more information on UFT Schema Validation, refer to the UFT One User Guide.

Elements
ElementDescription
ObjectRepositoryThe root element of the object repository XML file.
Complex Types
Complex TypeDescription
BaseFilterTypeA complex type that enables you to define the test object's smart identification base filter properties.
BasicIdentificationTypeA complex type that enables you to define the test object's learned description.
BehaviorTypeAutomatically generated by UFT if required. Do not add or modify manually.
CheckpointOrOutputTypeA complex type that enables you to define all of the information about a checkpoint or output value in the repository.
CheckpointsAndOutputsTypeA complex type that enables you to define all of the checkpoint and output objects in the object repository.
CommentTypeA complex type that enables you to define the comment stored with the test object.
CustomReplayTypeAutomatically generated by UFT if required. Do not add or modify manually.
DefaultValueTypeA complex type that enables you to define the default value of the repository parameter.
EncodedObjectTypeA complex type that enables you to define all of the information about a test object in the repository, when some of the information is stored in binary format.
ObjectRepositoryTypeA complex type that enables you to define all of the information in the object repository.
ObjectsTypeA complex type that enables you to define all of the test objects in the object repository.
ObjectTypeA complex type that enables you to define all of the information about a test object in the object repository.
OptionalFilterTypeA complex type that enables you to define the test object's smart identification optional filter properties.
OrdinalIdentifierTypeA complex type that enables you to define the test object's ordinal identifier information.
ParameterTypeA complex type that enables you to define the information for the object repository parameter.
PropertiesTypeA complex type that enables you to define all of the properties and values that were learned for the test object.
PropertyTypeA complex type that enables you to define all of the information for an identification property.
SettingsTypeA complex type that enables you to define settings of an object.
SettingTypeAn automatically generated complex type defining an individual setting of an object. The data expected by the object is stored in binary format. Do not add or modify manually.
SmartIdentificationTypeA complex type that enables you to define the test object's smart identification information.
StandardPropertiesTypeA complex type that enables you to define properties and values in an object.
StandardPropertyParameterTypeA complex type that enables you to define the fixed (constant) value of the Checkpoint/Output property.
StandardPropertyTypeA complex type that enables you to define information for a property in an object.
StandardPropertyValueTypeA complex type that enables you to define the fixed (constant) value of the Checkpoint/Output property.
ValueTypeA complex type that enables you to define the fixed (constant) value of the property.
VRIArgumentTypeA complex type that enables you to define a visual relation argument.
VRIArgumentValueTypeA complex type that enables you to define a visual relation argument value.
VRIRelationsTypeA complex type that enables you to define the visual relations definition for a test object.
VRIRelationTypeA complex type that enables you to define a single visual relation.