History behind the Issue
HP Quick Test Professional™ (QTP) provides a next-generation solution for functional test and regression test automation. It deploys the concept of keyword-driven testing to radically enhance, yet simplify, test creation and maintenance.

However, there’s no easy path for current HP customers with big investments in WinRunner scripts to migrate to QTP. Manually converting test script language (TSL) WinRunner scripts to QTP VB scripts is a huge task that can take many man-months of non value-add effort.
Prime Solution’s WinMorphosis, automatically converts Winrunner’s TSL scripts and GUI Maps to corresponding VB scripts and Object Repository in QTP. WinRunner scripts fed to WinMorphosis are internally scanned and analyzed thoroughly to produce the most accurate QTP output. In spite of the vast differences between WinRunner and QTP, the logical and test flow is preserved.
Prime Solutions has completed several successful customer migration projects using the WinMorphosis Methodology and Suite of tools. Leveraging WinMorphosis ™ and the company’s deep enterprise application experience, Prime Solutions provides a complete migration solution, allowing customers to migrate at a fraction of the time and cost of manual migrations.

Resources
WinRunner to QTP Conversion
The process of migration from Winrunner to QTP with WinMorphosis consists of the following steps:
Construct UI Object Hierarchy: WinRunner object level representation is two leveled even for a higher-level object. QTP, on the other hand, uses a hierarchical object representation. The conversion of object map from Winrunner to QTP is automated using an inbuilt utility.
Parsing: WinMorphosis Parser takes the WinRunner script along with the corresponding GUI Map file as input and parses it to complete the object repository creation as well as scripts conversion.
Generation: The WinMorphosis Generator creates the converted QTP object repository, QTP project, log of lines migrated and not migrated, etc.
Overview
Hewlett-Packard, the leader in software test automation, launched QuickTest ProfessionalTM (QTP) in 2002 as its next generation, follow on product to its already established WinRunnerTM. WinRunner has been the leading test automation tool since its release in 1995. QTP is superior to WinRunner by providing enhanced functional and regression test automation for all major software applications and environments, by deploying the concept of keyword-driven testing to radically simplify test creation and maintenance. Test automation experts using QTP have full access to the underlying test and object properties via an integrated scripting and debugging environment that is synchronized with the keyword view. QTP is highly recommended for business process testing (BPT) work, especially in tandem with Hewlett-Packard’s new BPT tool.
Prime Solution’s Solution
Prime Solutions offers a packaged solution for 100% migration of WinRunner test scripts to QTP, using a combination of an automated migration tool called WinMorphosis that converts a significant % of test scripts automatically, and offshore-based services to perform the remaining manual effort. The solution is much quicker and less costly than a pure manual approach, and results in up to 80% savings.
Prime Solutions uses a three-phased approach to WinRunner to QTP script migration:
Preparation Phase
- Define goals and targets
- Analyze and estimate automation and manual effort
- Create a strategy for manual effort
Conversion Phase
- Convert GUI map files to QTP object repository
- Convert WinRunner TSL scripts to QTP VB scripts
- Execute QTP scripts
Validation Phase
- Assure behavior
- Measure performance of migration process and tune as needed
Prime Solution’s edge for such rapid turn around time is achieved with the help of its proprietary WinMorphosis migration methodology and expertise in the QA space. WinMorphosis automates conversion of WinRunner TSL scripts to QuickTest VB scripts by learning the WinRunner GUI object map and automatically recreating the QTP Object Repository. On average, 80% of the script and GUI map is automatically converted, while the remaining 20% needs manual conversion.
WinRunner Projects
QuickTest Projects
QTP WinMorphosis Methodology Process Flow
WinMorphosis Benefits:
Accelerated migration – Convert 500 lines of WinRunner code to QTP within one minute
Efficient migration path for seamless conversion from WinRunner scripts to QTP
Automated solution speeds time to deployment
Offers dramatic cost savings
Oracle, JD Edwards, and PeopleSoft are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
WinMorphosis combined with Prime Solution’s offshore services provide a 100% migration solution.WinRunner scripts fed to WinMorphosis are scanned and analyzed thoroughly to produce the most accurate corresponding QTP output. In spite of the significant differences between WinRunner and QTP, the logical test flow is preserved. If you have a large investment in WinRunner test scripts containing Test Wares, Test Suites, Driver Scripts, Driven Scripts, Test Points, Control Points and Data Access – Prime Solutions migration services come to the rescue. With the WinMorphosis methodology we retain all these facets of test automation.
Prime Solution’s Testing Expertise
We specialize in providing comprehensive offshore product testing services, including unit, integration, system, regression and beta/user acceptance testing. Our testing methodology is based on broad experience and best practices, leveraging experience from our own products and product development for the leading enterprise application companies. Our expertise in testing and QA focus on the following areas:
End-to-end product testing
Functional, integration and system testing
Regression testing
Testing for operating environment (hardware, software platforms)
Value-added services
Interoperability testing
Specialty testing
Performance
Load
Stress
Prime Solutions offers a well-honed offshore delivery methodology that helps customers achieve 24×7 productivity and cost savings. Our offshore testing services take complete ownership of your testing engagements and bring in not just technical experts but managerial talent as well. We employ over 60 certified resources with WinRunner and QTP expertise.
About Prime Solutions
Prime Solutions is the leader in offshoring enterprise applications and outsourced product development. With expertise derived from deep R&D relationships with enterprise software leaders such as Oracle and Microsoft, we provide full lifecycle product development and IT services including implementation, integration, development, testing and support. Prime Solutions is a leader in the IT services companies, offering services in the “New Oracle Economy”, Outsourced Product Development and Microsoft competencies, with global delivery from our operations in India. Over 60 active customers currently address their business needs leveraging our proprietary methodology and best-in-class Global delivery capabilities.
A recognized leader in quality, Prime Solutions has been the recipient of many distinguished awards. Prime Solutions is headquartered in Chantilly, Virginia and maintains a global presence with highly competent partners in several countries across North America, Europe and Asia Pacific. For more information, please visit www.PrimeSolutions.com.
All product and company names and marks mentioned are the property of their respective owners and are mentioned for identification purposes only.

