Convert UFT One object repositories to UFT Developer application models

Use the OR2AppModelConverter.exe command line utility to convert UFT One object repositories to UFT Developer application models.

The utility is located in <UFT_Developer_installdir>\bin.

Note: If you installed UFT Developer as a feature of the UFT One installation, then the utility is located in <UFT_One_installdir>\bin.

The usage syntax is as follows:

OR2AppModelConverter ObjectRepositoryFile ApplicationModelFile LogFile LogLevel

Provide the full path to the repository. It can be:

  • A shared object repository file (*.tsr)
  • A local object repository file (*.bdb)
  • An exported object repository file (*.xml)

Note: If the repository you provide includes test objects from UFT One add-ins that do not have a parallel in UFT Developer, those objects are ignored during the conversion.

ApplicationModelFile The full path of the application model (*.tsrx) file you want to create.

Recommended option. The full path of a log file containing details of the conversion.

If the utility is unable to convert a test object or a specific identification property inside a test object description, that information is indicated in the log (if you use the LogFile option). You can use this information to fix such issues manually in the UFT Developer Application Model editor.


Optional. The minimal severity level to include in the report. Possible values: Info | Warning | Error.

For example, if you specify Warning, then Warnings and Errors are written to the report, but general information data is excluded.

For example:

OR2AppModelConverter C:\UFT One\Notepad_Repository.tsr C:\UFT Developer\Notepad.tsrx C:\UFT Developer\OR_Convert.log Warning

After you run the command, you can add the generated application model (*.tsrx) file to an existing UFT Developer application model or testing project.

See also: