Convert UFT Developer application models to UFT object repositories

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

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

Note: If you installed UFT Developer as a feature of the UFT One 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 One 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 are written to the report, but general information data is excluded.

For example:

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

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

See also: