October 31st, 2019 by inflectra
Many organizations are looking to update their software testing processes and tools, with an industry-wide move away from some of the older, monolithic legacy suites from vendors such as Micro Focus (formerly HP, and Mercury Interactive before that) to more modern tools. At Inflectra, we have partnered with Neotys to provide an integrated suite comprising: SpiraTeam, Rapise and NeoLoad that lets companies have test management, functional testing, and load testing all in one. Migrating from ALM/QualityCenter to SpiraTeam is easy using our free migration tool, and migration from LoadRunner to NeoLoad was possible using a conversion utility, however automatically converting from UFT / QTP to Rapise was not so easy.... until today!
With the recent increases in license cost from Micro Focus, and the fact that companies are looking for testing solutions that are easier to manage, deploy and use, now is a great time to consider switching from QualityCenter, ALM, UFT, QTP, and LoadRunner to the number one QA suite in the industry:
We have detailed whitepapers available on why you would want to switch from ALM, UFT, and LoadRunner, but before we discuss our new UFT migration framework, lets first recap some of the benefits of Rapise:
So now that we are convinced that migrating from UFT or QTP makes sense, the next question, is how do we do it?
Rapise is a feature rich test automation tool, it provides a solid foundation for testing different kinds of application, of any complexity. That means that Rapise can supply all of these features that you are used to having in UFT:
- Can test desktop, web, mobile GUI and REST/SOAP APIs - Supports modular testing (like Actions in UFT) - Supports Data-Driven testing (spreadsheets, databases) - Supports Object Repository (local, global) - Integrated with test management tools - Supports extensions (compound objects, UI extensions) - Has outstanding maintenance features - Reporting with screenshots and custom columns
Now that we know that Rapise can supply all of the features that our UFT test scripts expect, the next step is to understand what is converted by the new Inflectra migration framework:
Inflectra has developed a migration framework (not shrink wrapped tool) to perform the script conversion.
To achieve the best results, the conversion process requires the Inflectra Rapise Team and the Customer's QA Team work closely together to understand how the original UFT scripts have been written, and the best way to migrate them.
The following conversion approach uses the following steps repeated iteratively:
Next we will discuss how our UFT migration framework handles each of these areas in turn:
The object repository in UFT looks to the user like the following:
However behind the scenes, what you actually have is a combination of UFT local and shared object repositories stored in the Berkeley Database binary format. This was the same database format used in some early versions of the popular Subversion source code management system.
The migration framework converts the objects and checkpoints from this Berkeley database to the Rapise Object Repository which (as you probably know) is stored as a plain text JSON file.
Browser("Inflectra | Library Informatio").Page("Inflectra | Library Informatio").Link("Log In").Click
The final conversion task is to handle the migration of the test data used in the UFT test scripts:
For the action parameters, the conversion framework will convert the Input and Output parameters for the various RunAction calls:
In this example, the conversion framework will migrate the following action parameter code in UFT:
to the following Rapise equivalent code:
For spreadsheets and data tables in UFT, the conversion framework would take a UFT data table like this:
and turn it into a Rapise Spreadsheet like this:
The conversion framework will then migrate the corresponding VBScript code in UFT that uses this data table from this:
to this Rapise equivalent:
As you can see, with these different conversion tools at its disposal, the Inflectra migration framework for UFT provides a robust approach for migrating test scripts from UFT to Rapise.
If you are interested in having a consultation from our engagement specialists regarding how you can migrate from UFT to Rapise, please contact us today to get more information and setup a consultation.