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.
Element | Description |
---|---|
ObjectRepository | The root element of the object repository XML file. |
Complex Type | Description |
---|---|
BaseFilterType | A complex type that enables you to define the test object's smart identification base filter properties. |
BasicIdentificationType | A complex type that enables you to define the test object's learned description. |
BehaviorType | Automatically generated by UFT if required. Do not add or modify manually. |
CheckpointOrOutputType | A complex type that enables you to define all of the information about a checkpoint or output value in the repository. |
CheckpointsAndOutputsType | A complex type that enables you to define all of the checkpoint and output objects in the object repository. |
CommentType | A complex type that enables you to define the comment stored with the test object. |
CustomReplayType | Automatically generated by UFT if required. Do not add or modify manually. |
DefaultValueType | A complex type that enables you to define the default value of the repository parameter. |
EncodedObjectType | A 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. |
ObjectRepositoryType | A complex type that enables you to define all of the information in the object repository. |
ObjectsType | A complex type that enables you to define all of the test objects in the object repository. |
ObjectType | A complex type that enables you to define all of the information about a test object in the object repository. |
OptionalFilterType | A complex type that enables you to define the test object's smart identification optional filter properties. |
OrdinalIdentifierType | A complex type that enables you to define the test object's ordinal identifier information. |
ParameterType | A complex type that enables you to define the information for the object repository parameter. |
PropertiesType | A complex type that enables you to define all of the properties and values that were learned for the test object. |
PropertyType | A complex type that enables you to define all of the information for an identification property. |
SettingsType | A complex type that enables you to define settings of an object. |
SettingType | An 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. |
SmartIdentificationType | A complex type that enables you to define the test object's smart identification information. |
StandardPropertiesType | A complex type that enables you to define properties and values in an object. |
StandardPropertyParameterType | A complex type that enables you to define the fixed (constant) value of the Checkpoint/Output property. |
StandardPropertyType | A complex type that enables you to define information for a property in an object. |
StandardPropertyValueType | A complex type that enables you to define the fixed (constant) value of the Checkpoint/Output property. |
ValueType | A complex type that enables you to define the fixed (constant) value of the property. |
VRIArgumentType | A complex type that enables you to define a visual relation argument. |
VRIArgumentValueType | A complex type that enables you to define a visual relation argument value. |
VRIRelationsType | A complex type that enables you to define the visual relations definition for a test object. |
VRIRelationType | A complex type that enables you to define a single visual relation. |