# Convert UFT object repositories to LeanFT application models

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

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 LeanFT, 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 LeanFT 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:\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:

- Application models
- About the test object hierarchy in the application model

https://admhelp.microfocus.com LeanFT 8942
Tips to improve your search results...TOC Lean Functional Testing Help Center LeanFT Help Center 14.50 - 14.53 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version:(Undefined variable: _rscC_Basic_Variables.FloatingTocShow)