Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automated Functional Equivalence Testing

Automated Functional Equivalence Testing

This presentation is among the Top 27 Best Papers/Practice/Tutorials selected, out of 460+ submissions received, to be presented @STC 2012.

Presentation Abstract

Migration from legacy Visual Basic 6.0 to VB.NET or Java technology is gaining momentum as Microsoft has stopped providing support for VB6. To take benefit of newer technology and hedge risk, companies are migrating applications to .NET or Java technology. Migration projects are testing intensive. Challenge is how to ensure that functional equivalence on target application has been achieved. There aren’t too many tools that are available in the market that can be used for functional equivalence.

This Paper focuses on the methodology and techniques that Datamatics Global Services has developed to automate functional testing, when source VB project gets migrated to .NET.
This approach ensures reusable, smooth and cost effective way to achieve 100% functional Equivalence testing on any migration project.

About the Author

Sagar M. Patil is currently Automation Test Manager \Architect in Datamatics Global Services. Sagar is responsible for providing automation solutions for diverse technologies and platforms. He has 12 years of experience in IT industry. He has handled multiple complex testing projects using automation tools like QTP, Selenium, TestCompelte, CodedUI, Ranorex which includes framework development. Software Testing is his passion and he likes to address each challenge with an innovation solution.

More Decks by QAI Software Testing Conference

Other Decks in Technology

Transcript

  1. •Confidential and Proprietary - ©DGSL Need for Migration ¾ Support

    for legacy technologies no longer provided ¾ To take advantage of new technology ¾ Provide better service to customer ¾ Include rich functionalities ¾ As is migration/Changes in business flow
  2. •Confidential and Proprietary - ©DGSL Testing Challenges in Migration Project

    ¾ High manual efforts ¾ Data consistency verification ¾ Time constraints for script creation ¾ Lack of appropriate automation tool ¾ How to ensure 100% functional Equivalence QA
  3. •Confidential and Proprietary - ©DGSL Traditional Automation Strategy for As

    – Is Migration VB Application QTP VBApp Scripts c QTP Tool Script Execution Base Line Results Script Execution on Source Application Script Execution on Destination Application QTP Java App Scripts c QTP Tool Script Execution Compare Results Report Errors Java Application Under Test
  4. •Confidential and Proprietary - ©DGSL New Approach for Functional Equivalence

    Automated Functional Testing Process Develop description based script as reusable for VB (Source) as well as .NET (target) application. Script Dev 2 Design Understand functionality Analyze the reusable as per functionality. 1 First execute script on Source app and mark Baseline results. Then execute same script on target appl & compare against baseline results Script Exec 3 Analyse the discrepancies against expected result and report errors Analysis 4
  5. •Confidential and Proprietary - ©DGSL New Approach for Functional Equivalence

    Script Execution Shared Framework Folder with reusable actions QTP VB/Java scripts Compare Results Report Errors VB Application Java Application Under Test
  6. •Confidential and Proprietary - ©DGSL Benefits ¾ Single script can

    be used to test Functional Equivalence on Source and Target Application ¾ Reduction in development and maintenance efforts for automation scripts ¾ Reduced cost by completing QA cycle quicker ¾ Script execution will be consistent , repeatable and accurate ¾ Reduced manual testing efforts ¾ Same framework can be use for any type of migration project ¾ Tool agnostic automation strategy