ObjectRepositoryUtil Object

Description

Enables you to manipulate object repository files (shared and local) from outside of UFT.

Object Model Diagram





Example

Methods

Public Method AddObject Adds the specified object to the object repository under the specified parent object.
Public Method Convert Converts the specified object repository file (version 8.2.1 or earlier) to the current format.
Public Method CopyObject Creates a copy of the specified object in the object repository.
Public Method ExportToXML Exports the specified object repository to the specified XML file.
Public Method GetAllObjects Retrieves all objects under the specified parent object.
Public Method GetAllObjectsByClass Retrieves all objects of the specified class under the specified parent object.
Public Method GetChildren Retrieves all direct children of the specified parent object.
Public Method GetChildrenByClass Retrieves all direct children of the specified class under a specified parent.
Public Method GetLogicalName Retrieves the name of the specified object.
Public Method GetObject Retrieves the object according to the specified path.
Public Method GetObjectByParent Retrieves the object according to the specified parent object and object name.
Public Method ImportFromXML Imports the specified XML file to the specified object repository.
Public Method Load Loads the specified object repository file.
Public Method RemoveObject Removes the specified object from the object repository.
Public Method RenameObject Renames the specified object in the object repository.
Public Method Save Saves any changes made while running an object repository automation script.
Public Method UpdateObject Updates the object repository with any changes made to the specified object.