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
Provide the full path to the repository. It can be:
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.|
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.
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.
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.