Convert UFT object repositories to UFT Developer application models

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

The utility is located in <UFT Developer installation folder>\bin.

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

The usage syntax is as follows:

OR2AppModelConverter ObjectRepositoryFile ApplicationModelFile LogFile LogLevel
ObjectRepositoryFile

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 UFTadd-ins that do not have a parallel in UFT Developer, those objects will be ignored during the conversion.

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

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.

LogLevel

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 will be written to the report, but general information data will be excluded.

For example:

OR2AppModelConverter C:\UFT\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:

Got it!
Welcome to the help center for UFT Developer, formerly known as LeanFT. UFT Developer is part of the new Micro Focus UFT family of integrated functional testing solutions.