Convert UFT object repositories to LeanFT application models

You use the OR2AppModelConverter.exe command line utility to convert UFT object repositories to LeanFT application models.

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

Note: If you installed LeanFT 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

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 LeanFT, those objects will be ignored during the conversion.

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

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

Although this option is optional, it is recommended.

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

For example:

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

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

See also: