- Views: 151
- Report Article
- Articles
- Computers
- Software
Automated conversion tool for HP UFT to LeanFT
Posted: Oct 31, 2017
Introduction:
LeanFT is an enhanced version of UFT solution which brings in agility into the world of functional testing. However, it also brings in nightmares for businesses who are concerned about how to convert their existing scripts in UFT into LeanFT. The Standard Development Kit for LeanFT and its templates for testing projects enable the creation of tests and verify every part of an application.
A Comparison before Conversion:
Before we understand the conversion theory, let us understand their basic differences.
LeanFT has not been developed as an exit strategy from UFT. It combines the functionality of UFT with Selenium and as a result expands the test coverage for an application. Leant FT is best for the people working in Agile and the DevOps environment. Converting to LeanFT does not imply that the UFT functionalities will be discarded. Rather some of the UFT functions will need to be retained while using LeanFT packages and namespaces.
Reason for the Conversion:
The main reason anyone should consider shifting to LeanFT is for taking the advantage of the Object Oriented features of Java and C# since the scripts supported by LeanFT are in Java or C#.
Conversion Commands: (with reference from the official hp website.)
The OR2AppModelConverter.exe command line utility can be used for converting UFT object repositories to LeanFT application models.
This command line utility is located in
Usage syntax:
OR2AppModelConverter
Where:
ObjectRepositoryFile – is the full path to the repository. It can be a *.tsr/*bdb/*xml repository file.
ApplicationModelFile - is the full path of the application model that is to be created.
LogFile – It is an optional parameter which specifies the full path of the log file containing the details of the conversion.
LogLevel – It is also an optional parameter to include the minimum severity level in the report. Its possible values will be info/warning/error.
Example:
OR2AppModelConverter C:\UFT\Notepad_Repository.tsr C:\LeanFT\Notepad.tsrx C:\LeanFT\OR_Convert.log Warning
After running the command, the generated application model can be added to an existing LeanFT testing project.
Features of Quick Lean:
QuickLean is the first automation tool used for converting scripts in Unified Functional Testing(UFT) to HP’s LeanFT- the latest and advanced automation solution for Functional Testing..
The main features of QuickLean are as follows:
- It consists of a source file translator which provides for the conversion of UFT test scripts into LeanFT scripts which are in C# or Java.
- It comes with pre-defined library files which map the programming interfaces of UFT to the corresponding objects and methods of
- It provides for the conversion of multiple frameworks used for automation.
- It supports multiple database sources such as DB, Excel etc.
- Supports software technologies such as Web, Windows, Java etc.
- It can convert any version of Quick Test Pro(QTP)/ UFT script to LeanFT.
- It shares a close proximity with HP’s Research and Development Team.
- Its code base is highly modular.
The main advantages of QuickLean can be listed as follows:
- The business processes function as usual during the conversion
- The cost and time for the conversion is less.
- The best practices of automation are delivered as a part of the conversion.
Conclusion:
QuickLean eases the conversion to LeanFT which was designed specifically for Agile and DevOps Teams. It helps to move faster towards true Agile practices cost effectively with minimum efforts and collateral adjustments.
Michael works for Cigniti Technologies, which is the world's first Independent Software Testing Company to be appraised at CMMI-SVC Level 5, and an ISO 9001:2008 & ISO 27001:2013 certified organization.