SlideShare une entreprise Scribd logo
1  sur  17
Mohd. Umair Siddiqui - Technical Leader
Girish Chandra - Technical Leader
Aricent Technologies
1
Automation Framework
Development -Best Practices
2
Abstract
These day’s systems are complex with rich User Interface, backend and that too require
multiple capabilities. Test Automation Framework are complex to develop and maintain. This
white paper gives an idea about the implementation of single framework for front-end and
back-end which covers all aspects of testing.
The major purpose of this document is to define a common set of Automation development
guidelines and how the Selenium with Java can be used to develop a single automation
framework.
This white paper looks at applying the Hybrid (KDF and Data Driven) framework approach for
automating the test design. The KDF approach not only saves effort and cost but increases the
usability of framework across the different teams and reduces the dependency on the
resources with automation skills.
This paper sets out the steps involved in building the automation framework.
3
The Urge for Automation Testing
 Relying solely on manual testing
to execute repetitive testing steps
is not only costly but also time-
consuming and ineffective.
 Testing with the use of tools or
automation testing is the best
solution when you have a lot of
regression cases.
 For better accuracy and speed,
test automation is vital to cover
all corners of the application.
4
Test Automation Frameworks
Architecture
5
Benefits of Automation Framework
6
Test Automation Life Cycle vs. Application Development
Knowledge
Transfer
Test
Strategy
Test
Planning
Test Execution
Test
Report
Quality
Gate
Feature Development Defect Fixing
 Lab setup
 Automation
strategy
 Regression
plan
 Test case
writing
 Automation
Tool PoC
Execution
Cycle 1
 All test cases execution
 Automation Framework
Development
 Test case script writing
 Defects validation
 Failed test cases
 Small set of regression
 Automation Script
Execution
 Final regression
 Automation Script
Execution
Execution
Cycle 2
Execution
Cycle 3
System
Build
 Exit Criteria
 Defects
 Intermediate Build
 It is very important to
consider the Test
Automation
development as a
separate project all
together from the
Application
development
7
Automation Tool Selection
Factors to be consider before selecting the right tool:
1. Meeting Requirements 2. Testing Scope
3. Availability of required skills set 4. Management Aspects
Following figures depicts how the appropriate tool is selected
8
Challenges In Automation
 The choice of the tool is often restricted by the
technology underlying the application under test.
 In web applications, multi‐window test cases are usually
difficult to automate. Pop‐ups, single child windows are
not a problem.
 Integrations between applications under test are
sometimes difficult to automate.
 Frequent changes in feature/UI causes rework of already
automated test cases. Development UI changes need to
be stable enough (at least on objects level) to avoid this
challenge
9
Automation Best Practices
 Since automation frameworks are essentially about
abstraction, an important set of best practices deals
with ensuring loose coupling between –
 The test data and the test scripts,
 Test scripts themselves,
 The automation framework and the
application under test.
 The test cases and the automation
framework, and
 The automation framework and the
automation tool.
 Hybrid Framework (Keyword + Data Driven approach)
should be developed to provide less scripting efforts
for the manual engineers.
 Keyword names should be carefully chosen, so that
human readability is also high. This enables gradual
transitioning from manual testing to automated testing
10
Automation Best Practices Contd.
 Verification points should be judiciously inserted into the scripts. In case of test
case failure, these points accelerate the process of zeroing in on the reason of
the failure
 Framework should be integrated with the Test Management tool
 Generic Libraries should be developed to reuse the modules in different
keywords.
 The development of an automation framework is similar to the development of
an application in several respects, and hence should be planned and tracked as
a (sub) project in itself. It should be noted that framework creation and test
case design are distinct activities (and require different skills).
Figure on next slide shows the different layers of ideal Framework
Test Management tool Integration
 Test Management tools like RQM ,QC integration with the
execution server.
Batch/Shell script to receive the execution command from
tools to its adaptor.
Test Cases Orchestration Layer
 Keyword Driven and Data Driven Test Scenarios excel sheets
 Setup Specific Configuration excel sheets
Framework Tools Library Layer
 Technologies specific testing tools like Selenium ,QTP,
Appium etc.
 Multiple tools can co –exist
 Modular and Reusable libraries in any language/scripts like
Java, Perl, python. VB etc.
System Under Test
Wireline, Wireless, Convergence or Next Generation
infrastructure components
Web Application /Web Portals
Devices and Mobile Applications
Business
Challenges Solved
• Easy to use across
the different
teams
• Dependency on
team competency
for a specific
tool/language.
• Modular/Reusable
Framework
ROI on Automation Framework  Automation should be seen
as an overall quality and
productivity improvement
initiative, rather than merely
as a cost saving exercise
 The monetary values of the
following can be compared to
estimate ROI:
 Return: Saving of manual
testers’ time, converted to a
monetary value
 Investment
 Cost of the automation
tool
 Cost of the automation
effort
13
Case Study on ROI of Automation
Framework
Manual Automated
Average Execution Time per Test Case
(excluding REST API testing) 70 minutes 18 minutes
Average Execution Time per REST API
(covering all possible combinations of
input parameters)
4320 minutes 10 minutes
85%
Regression
Effort Saved
35%
Reduction
in field
defects
50%
Reduced
Validation
Cycles
Automated test cases 11255
(85%)
88%
Regression
Time Saved
Intelligence Quotient
Test Data Creation : Learns from the
configuration the API’s which are to be used and
creates the data to test the respective API’s for
the all possible parameter combinations
Log Analyzer: Finds subroutine causing the major
failures and can prioritize to resolve those first.
Setup Analyzer: analyses the setup configuration
and provides details about number of devices
which is needed for a particular test suite
execution
Setup Creation : A Java and Rest API based tool
which configure pre-requisite data required to
execute the test suite
0
2000
4000
6000
8000
10000
12000
14000
16000
0
2
4
6
8
10
12
14
2014 2015 2016 2017
Test
Cases
Weeks
50%
reduction
Validation Test Cycle
Duration
Key Highlights
 Increase in Test Coverage (Manual v/s Automation)
o 50% reduction in the time taken for a
verification cycle and 5 folds increases in the
number of test cases executed per cycle
 35 % Reduction the defects trends seen from the
production releases
 Break-even for automation investment achieved in 7
regression cycles
0
5000
10000
2014 2015 2016 2017
Defect Trend
Implementation
Validation
Beta/GA
Linear (Implementation)
35%
50%
reductio
n
14
Summary
Test automation offers a promising way of quality and productivity improvement in
software testing. While manual testing is required and desired (except perhaps for a
product that is purely in sustenance mode), the time and cost required for it can be
significantly reduced. Moreover, a part of this saving can be invested for better
quality.
Commercial/Open source tools and a rapidly growing body of knowledge have led
to a reduction in the time needed for monetary returns to be seen, thus
accelerating the adoption of test automation in the industry.
15
References
www.google.co.in
www.softwaretestinghelp.com
http://www.impactqa.in
16
Author Biography
Girish Chandra
Girish Chandra has 7 + years of
testing experience which includes
automation and manual . Girish is
Quality Assurance and Software
testing specialist , managing testing
efforts , developing test
methodologies and creating
standard procedures for quality
assurance and testing .He has
worked for different telecom
technologies like 2G , 3G(UMTS),4G
(LTE) and SIP .And has good
experience on real time protocol
testing .
Umair Siddiqui
Umair Siddiqui has 7+ years of
experience of working in Automation
Framework and manual testing of
medium to large sized projects in
Telecom domain. He is currently
working as a Technical Leader in Aricent
Technologies. He is awarded with
Aricent Individual Excellence annual
award. He has strong exposure of
various software development life cycle
including Requirement Understanding,
Design, Feature Analysis, Test Strategy,
Test Planning, Test Execution and Test
Automation of assigned features
17
Thank You

Contenu connexe

Similaire à Automation Best Practices.pptx

Pros and Cons of key test automation frameworks.pdf
Pros and Cons of key test automation frameworks.pdfPros and Cons of key test automation frameworks.pdf
Pros and Cons of key test automation frameworks.pdfkalichargn70th171
 
M. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияM. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияAlex
 
Test automation wipro
Test automation   wiproTest automation   wipro
Test automation wiproambreprasad77
 
Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationMindfire LLC
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationNeeraj Kumar Singh
 
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comIdexcel Technologies
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testingpriya_trivedi
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsShivang100
 
Getting Started With QA Automation
Getting Started With QA AutomationGetting Started With QA Automation
Getting Started With QA AutomationGiovanni Scerra ☃
 
Evolution of Test Automation
Evolution of Test AutomationEvolution of Test Automation
Evolution of Test AutomationDharmik Rajput
 
Designing a Test Automation Framework By Quontra solutions
Designing a Test Automation Framework By Quontra solutionsDesigning a Test Automation Framework By Quontra solutions
Designing a Test Automation Framework By Quontra solutionsQUONTRASOLUTIONS
 
The Need for an Automation Testing Framework_ A Comprehensive Guide.pdf
The Need for an Automation Testing Framework_ A Comprehensive Guide.pdfThe Need for an Automation Testing Framework_ A Comprehensive Guide.pdf
The Need for an Automation Testing Framework_ A Comprehensive Guide.pdfkalichargn70th171
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
 

Similaire à Automation Best Practices.pptx (20)

Pros and Cons of key test automation frameworks.pdf
Pros and Cons of key test automation frameworks.pdfPros and Cons of key test automation frameworks.pdf
Pros and Cons of key test automation frameworks.pdf
 
M. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияM. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестирования
 
Test automation wipro
Test automation   wiproTest automation   wipro
Test automation wipro
 
Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test Automation
 
Automation Concepts
Automation ConceptsAutomation Concepts
Automation Concepts
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.com
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
 
Getting Started With QA Automation
Getting Started With QA AutomationGetting Started With QA Automation
Getting Started With QA Automation
 
BX-D – A Business Component & XML Driven Test Automation Framework
BX-D – A Business Component & XML Driven Test Automation FrameworkBX-D – A Business Component & XML Driven Test Automation Framework
BX-D – A Business Component & XML Driven Test Automation Framework
 
Evolution of Test Automation
Evolution of Test AutomationEvolution of Test Automation
Evolution of Test Automation
 
Designing a Test Automation Framework By Quontra solutions
Designing a Test Automation Framework By Quontra solutionsDesigning a Test Automation Framework By Quontra solutions
Designing a Test Automation Framework By Quontra solutions
 
The Need for an Automation Testing Framework_ A Comprehensive Guide.pdf
The Need for an Automation Testing Framework_ A Comprehensive Guide.pdfThe Need for an Automation Testing Framework_ A Comprehensive Guide.pdf
The Need for an Automation Testing Framework_ A Comprehensive Guide.pdf
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Chapter 5 - Tools
Chapter 5 - ToolsChapter 5 - Tools
Chapter 5 - Tools
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Test Automation for QTP
Test Automation for QTPTest Automation for QTP
Test Automation for QTP
 
Test Automation
Test AutomationTest Automation
Test Automation
 

Dernier

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 

Dernier (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 

Automation Best Practices.pptx

  • 1. Mohd. Umair Siddiqui - Technical Leader Girish Chandra - Technical Leader Aricent Technologies 1 Automation Framework Development -Best Practices
  • 2. 2 Abstract These day’s systems are complex with rich User Interface, backend and that too require multiple capabilities. Test Automation Framework are complex to develop and maintain. This white paper gives an idea about the implementation of single framework for front-end and back-end which covers all aspects of testing. The major purpose of this document is to define a common set of Automation development guidelines and how the Selenium with Java can be used to develop a single automation framework. This white paper looks at applying the Hybrid (KDF and Data Driven) framework approach for automating the test design. The KDF approach not only saves effort and cost but increases the usability of framework across the different teams and reduces the dependency on the resources with automation skills. This paper sets out the steps involved in building the automation framework.
  • 3. 3 The Urge for Automation Testing  Relying solely on manual testing to execute repetitive testing steps is not only costly but also time- consuming and ineffective.  Testing with the use of tools or automation testing is the best solution when you have a lot of regression cases.  For better accuracy and speed, test automation is vital to cover all corners of the application.
  • 6. 6 Test Automation Life Cycle vs. Application Development Knowledge Transfer Test Strategy Test Planning Test Execution Test Report Quality Gate Feature Development Defect Fixing  Lab setup  Automation strategy  Regression plan  Test case writing  Automation Tool PoC Execution Cycle 1  All test cases execution  Automation Framework Development  Test case script writing  Defects validation  Failed test cases  Small set of regression  Automation Script Execution  Final regression  Automation Script Execution Execution Cycle 2 Execution Cycle 3 System Build  Exit Criteria  Defects  Intermediate Build  It is very important to consider the Test Automation development as a separate project all together from the Application development
  • 7. 7 Automation Tool Selection Factors to be consider before selecting the right tool: 1. Meeting Requirements 2. Testing Scope 3. Availability of required skills set 4. Management Aspects Following figures depicts how the appropriate tool is selected
  • 8. 8 Challenges In Automation  The choice of the tool is often restricted by the technology underlying the application under test.  In web applications, multi‐window test cases are usually difficult to automate. Pop‐ups, single child windows are not a problem.  Integrations between applications under test are sometimes difficult to automate.  Frequent changes in feature/UI causes rework of already automated test cases. Development UI changes need to be stable enough (at least on objects level) to avoid this challenge
  • 9. 9 Automation Best Practices  Since automation frameworks are essentially about abstraction, an important set of best practices deals with ensuring loose coupling between –  The test data and the test scripts,  Test scripts themselves,  The automation framework and the application under test.  The test cases and the automation framework, and  The automation framework and the automation tool.  Hybrid Framework (Keyword + Data Driven approach) should be developed to provide less scripting efforts for the manual engineers.  Keyword names should be carefully chosen, so that human readability is also high. This enables gradual transitioning from manual testing to automated testing
  • 10. 10 Automation Best Practices Contd.  Verification points should be judiciously inserted into the scripts. In case of test case failure, these points accelerate the process of zeroing in on the reason of the failure  Framework should be integrated with the Test Management tool  Generic Libraries should be developed to reuse the modules in different keywords.  The development of an automation framework is similar to the development of an application in several respects, and hence should be planned and tracked as a (sub) project in itself. It should be noted that framework creation and test case design are distinct activities (and require different skills). Figure on next slide shows the different layers of ideal Framework
  • 11. Test Management tool Integration  Test Management tools like RQM ,QC integration with the execution server. Batch/Shell script to receive the execution command from tools to its adaptor. Test Cases Orchestration Layer  Keyword Driven and Data Driven Test Scenarios excel sheets  Setup Specific Configuration excel sheets Framework Tools Library Layer  Technologies specific testing tools like Selenium ,QTP, Appium etc.  Multiple tools can co –exist  Modular and Reusable libraries in any language/scripts like Java, Perl, python. VB etc. System Under Test Wireline, Wireless, Convergence or Next Generation infrastructure components Web Application /Web Portals Devices and Mobile Applications Business Challenges Solved • Easy to use across the different teams • Dependency on team competency for a specific tool/language. • Modular/Reusable Framework
  • 12. ROI on Automation Framework  Automation should be seen as an overall quality and productivity improvement initiative, rather than merely as a cost saving exercise  The monetary values of the following can be compared to estimate ROI:  Return: Saving of manual testers’ time, converted to a monetary value  Investment  Cost of the automation tool  Cost of the automation effort
  • 13. 13 Case Study on ROI of Automation Framework Manual Automated Average Execution Time per Test Case (excluding REST API testing) 70 minutes 18 minutes Average Execution Time per REST API (covering all possible combinations of input parameters) 4320 minutes 10 minutes 85% Regression Effort Saved 35% Reduction in field defects 50% Reduced Validation Cycles Automated test cases 11255 (85%) 88% Regression Time Saved Intelligence Quotient Test Data Creation : Learns from the configuration the API’s which are to be used and creates the data to test the respective API’s for the all possible parameter combinations Log Analyzer: Finds subroutine causing the major failures and can prioritize to resolve those first. Setup Analyzer: analyses the setup configuration and provides details about number of devices which is needed for a particular test suite execution Setup Creation : A Java and Rest API based tool which configure pre-requisite data required to execute the test suite 0 2000 4000 6000 8000 10000 12000 14000 16000 0 2 4 6 8 10 12 14 2014 2015 2016 2017 Test Cases Weeks 50% reduction Validation Test Cycle Duration Key Highlights  Increase in Test Coverage (Manual v/s Automation) o 50% reduction in the time taken for a verification cycle and 5 folds increases in the number of test cases executed per cycle  35 % Reduction the defects trends seen from the production releases  Break-even for automation investment achieved in 7 regression cycles 0 5000 10000 2014 2015 2016 2017 Defect Trend Implementation Validation Beta/GA Linear (Implementation) 35% 50% reductio n
  • 14. 14 Summary Test automation offers a promising way of quality and productivity improvement in software testing. While manual testing is required and desired (except perhaps for a product that is purely in sustenance mode), the time and cost required for it can be significantly reduced. Moreover, a part of this saving can be invested for better quality. Commercial/Open source tools and a rapidly growing body of knowledge have led to a reduction in the time needed for monetary returns to be seen, thus accelerating the adoption of test automation in the industry.
  • 16. 16 Author Biography Girish Chandra Girish Chandra has 7 + years of testing experience which includes automation and manual . Girish is Quality Assurance and Software testing specialist , managing testing efforts , developing test methodologies and creating standard procedures for quality assurance and testing .He has worked for different telecom technologies like 2G , 3G(UMTS),4G (LTE) and SIP .And has good experience on real time protocol testing . Umair Siddiqui Umair Siddiqui has 7+ years of experience of working in Automation Framework and manual testing of medium to large sized projects in Telecom domain. He is currently working as a Technical Leader in Aricent Technologies. He is awarded with Aricent Individual Excellence annual award. He has strong exposure of various software development life cycle including Requirement Understanding, Design, Feature Analysis, Test Strategy, Test Planning, Test Execution and Test Automation of assigned features