Convert LeanFT application models to UFT object repositories

Use the AppModel2ORConverter.exe command line utility to convert LeanFT application models to UFT object repositories.

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:

AppModel2ORConverter ApplicationModelFile ObjectRepositoryFile LogFile LogLevel
ApplicationModelFile The full path of the application model (*.tsrx) file you want to convert.
ObjectRepositoryFile

Provide the full path to the repository that you want to create. It can be:

  • A shared object repository file (*.tsr)
  • An exported object repository file (*.xml)
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. Use this information to fix such issues manually in the UFT object repository.

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:

AppModel2ORConverter.exe C:\LeanFT\Notepad.tsrx C:\UFT\Notepad_Repository.tsr C:\UFT\AM_Convert.log Warning

After the object repository is generated, you can use it in your UFT tests.

See also: