A publicly traded, US based online company with a revenue of around $1B had a limited number of QTP licenses. This meant that with approx. 8000 QTP Scripts took a week each time to complete execution. These QTP licenses were also due for renewal. Substantial costs would have to be incurred to increase the number of licences and to renew them. In the face of such loss of productivity and potentially increased costs, the company sought a tool to migrate the QTP Scripts to Selenium in a clearly-defined time frame.
Our customer, this online company, sought to shift their base from QTP to selenium, within 6 months. The original need was to transfer 8000 scripts of QTP to Selenium. However a deeper study of the required developer resources drove the conclusion that this would be too expensive and slow. ThinkSys who had done many such migrations before was brought in as an expert to address these challenges and still achieve the business objectives.
Though, both QTP and Selenium are used for Web based automation but the programming language and the framework for QTP and Selenium, are completely different. As the team reviewed the QTP scripts they found numerous challenges in both how the scripts were written as well as basic difference between QTP and Selenium. Below are some of the challenges the team saw:
With speed and technology as the major driving force, our team first used some of our auto-conversion tools, which had been used before, that converted some of the simpler scripts from QTP to Selenium. This conversion was less than 5% for this complex job. Though our tools were successful for smaller sized projects, the above mentioned technical challenges were a hindrance for auto conversion.
The team quickly got to work and built a framework, Krypton, that allowed us get the benefits of using Selenium, removed some of the programming challenges of C# and/or Java and got our manual and QTP script writers to start coding in Selenium in 2-4 weeks.
With Krypton, we got the following benefits:
This choice and our small team of 6-8 resources were able to to address the time, and cost issues associated with conversion of QTP scripts to Selenium.
Customer successfully migrated QTP to Selenium. The projected reduction in license costs were as much as $2M per year.
With Selenium, Customer could add as many servers as they needed using Selenium grid without having to get more licenses and run their 8,000 test cases in parallel decreasing the overall execution time resulting in 2 week release cycle.
With use of ThinkSys tools, customer was able to redeploy their manual testers and QTP script writers with very little training resulting in $1M/yr savings.