ExportToXML Method
- This method can be used only to export shared object repositories (*.tsr files). Local object repositories cannot be exported.
- The object repository you want to export must be in QuickTest version 9.0 or later or UFT format. If the object repository is in an earlier format, you can use the Convert method to convert it before exporting it.
object.ExportToXML(SourceFile, TargetFile)
Argument | Description |
object | An expression evaluating to an object of type ObjectRepositoryUtil. |
SourceFile | Required. A String value. The full name and path of the object repository you want to export to XML. |
TargetFile | Required. A String value. The full name and path of the XML file to which you want to export the object repository. The XML file must be a new file (one that does not already exist). The folder path must be an existing one. |