SlideShare a Scribd company logo
1 of 33
Download to read offline
ManualChecking 
End-to End Selenium Tests 70% 
Integration Tests 
20% 
Unit Tests 
10% 
Unit Tests 70% 
Domain Logic Acceptance Tests 10% 
Integration Tests 9% 
Workflow API Tests 6% 
End to End Flow Tests 4% 
UI 1% 
Naresh Jain @nashjain 
Selenium Detox for Achieving the Right Test Pyramid
Selenium Detox for Achieving the Right Test Pyramid 
Naresh Jain 
@nashjain
Achieving the Right Test Pyramid 
Aditya Saigaonkar 
Kirtesh Wani
Background 
IDeaS is capable of applying 25 years of experience, expertise and client dedication toward an expanding suite of automated revenue management solutions.
Background
Background
Background -2011 
5% 
95%No AutomationAutomation Coverage
Background 
1 Months 
2Months 
0 
0.5 
1 
1.5 
2 
2.5 
3 
3.5 
MonthsTypical Release Cycle 
Development 
Regression
Background
Critical Issues reported from Production 
0 
2 
4 
6 
8 
10 
12 
Critical Data Issues 
Cosmetic 
Localization 
Issues
Background
After Automation Introduced -2013 
Selenium Tests 45% 
Unit & Integration Tests 20% 
No Automation 35% Automation Coverage
After Automation Introduced 
2.25 Months 
3 Weeks 
0 
0.5 
1 
1.5 
2 
2.5 
3 
3.5 
MonthsTypical Release Cycle 
Development 
Regression
Critical Issues reported from Production 
0 
2 
4 
6 
8 
10 
12 
Critical Data Issues 
Cosmetic 
Localization
Duration… 
0 
0.5 
1 
1.5 
2 
2.5 
YearsDuration of Implementation 
2 Years
Demo 
•Selenium WebDriverDemo
State of the Product 
Tightlycoupledwith UI 
Browser DependentData tests 
Falsefails 
Difficult to pinpoint real culprit 
Difficult to maintainand time consuming as test are fragile 
Laggingwith current release development 
Image Courtesy: Alex Yakyma
Analysis of Bugs Report 
10% 
90%Data FailuresBug Report Analysis 
UI Navigation Failures
State of the Product 
ManualChecking 
End-to End Selenium Tests 70% 
Integration Tests 
20% 
Unit Tests 
10%
ManualChecking 
End-to End Selenium Tests 70% 
Integration Tests 
20% 
Unit Tests 
10% 
Unit Tests 70% 
Domain Logic Acceptance Tests 10% 
Integration Tests 9% 
Workflow API Tests 6% 
End to End Flow Tests 4% 
UI 1% 
Typical test strategies lead to an inverted testing pyramid 
This is the need of the hour…. 
Courtesy: Naresh Jain @AgileFAQs.com 
The Test Pyramid
Our transition story… 
•We decided to "Test things right , at right place on right time" which would result in "right test pyramid“ 
Unit Tests 70% 
Domain Logic Acceptance Tests 10% 
Integration Tests 9% 
Workflow API Tests 6% 
End to End Flow Tests 4% 
UI 1%
Our transition story… 
Application UI 
Service Layer 
DAO Layer 
Automated UI Tests 
Tightly Coupled 
Fragile 
Lag with current development 
Automate One Level Below UI 
UI Independent 
Robust & Stable 
With current devcycle 
Fast Execution
Introduced BDD with Cucumber
Dev & QA Pairing 
Developer 
QA
Quick Demo
Current Status 
Selenium 
Tests 10% 
Workflow Tests: 40% 
No Automation 20% 
Unit & Integration Tests 30% Test Automation Status
After Right Testing Pyramid 
1 Week 
2.75 Months 
0 
0.05 
0.1 
0.15 
0.2 
0.25 
0.3 
0 
0.5 
1 
1.5 
2 
2.5 
3 
3.5 
MonthsTypical Release Cycle 
Regression Time 
Development
Critical Issues reported from Production 
0 
2 
4 
6 
8 
10 
12 
Critical Data Issues 
Cosmetic 
Localization
Duration… 
0 
0.5 
1 
1.5 
2 
2.5 
3 
3.5 
MonthsDuration of Implementation 
3 Months
Pain points 
•Learning curve for the team 
•Difficult to implement in case where no API is exposed or tight coupling with UI 
•Heavy dependency on pre-populated database
Looking ahead 
•Expose RESTful APIs for all upcoming features 
•Move BDD specs to lower layers 
•Moving away from baseline database 
Courtesy: http://3.bp.blogspot.com/
© Copyright Integrated Decisions and Systems, Inc. (IDeaS–A SAS COMPANY) 
Visit IDeaSonline at www.ideas.com 
Questions? 
Aditya.Saigaonkar@ideas.com 
Kirtesh.Wani@ideas.com 
Naresh Jain @nashjain

More Related Content

What's hot

Test Automation - Keytorc Approach
Test Automation - Keytorc Approach Test Automation - Keytorc Approach
Test Automation - Keytorc Approach
Keytorc Software Testing Services
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Simplilearn
 

What's hot (20)

Agile Testing Framework - The Art of Automated Testing
Agile Testing Framework - The Art of Automated TestingAgile Testing Framework - The Art of Automated Testing
Agile Testing Framework - The Art of Automated Testing
 
How Spotify Does Test Automation - Kristian Karl
How Spotify Does Test Automation - Kristian KarlHow Spotify Does Test Automation - Kristian Karl
How Spotify Does Test Automation - Kristian Karl
 
Selenium
SeleniumSelenium
Selenium
 
Cypress test techniques cucumber bdd framework,tdd,api tests course
Cypress test techniques cucumber bdd framework,tdd,api tests courseCypress test techniques cucumber bdd framework,tdd,api tests course
Cypress test techniques cucumber bdd framework,tdd,api tests course
 
Test automation proposal
Test automation proposalTest automation proposal
Test automation proposal
 
Test automation process
Test automation processTest automation process
Test automation process
 
Selenium 4 with Simon Stewart [Webinar]
Selenium 4 with Simon Stewart [Webinar]Selenium 4 with Simon Stewart [Webinar]
Selenium 4 with Simon Stewart [Webinar]
 
Robot Framework Dos And Don'ts
Robot Framework Dos And Don'tsRobot Framework Dos And Don'ts
Robot Framework Dos And Don'ts
 
DevOps Picc12 Management Talk
DevOps Picc12 Management TalkDevOps Picc12 Management Talk
DevOps Picc12 Management Talk
 
Test Automation - Keytorc Approach
Test Automation - Keytorc Approach Test Automation - Keytorc Approach
Test Automation - Keytorc Approach
 
Introduction to Robot Framework
Introduction to Robot FrameworkIntroduction to Robot Framework
Introduction to Robot Framework
 
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
SOLID Design Principles for Test Automaion
SOLID Design Principles for Test AutomaionSOLID Design Principles for Test Automaion
SOLID Design Principles for Test Automaion
 
Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?Introduction to APIs & how to automate APIs testing with selenium web driver?
Introduction to APIs & how to automate APIs testing with selenium web driver?
 
Test Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and CucumberTest Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and Cucumber
 
LambdaTest
LambdaTestLambdaTest
LambdaTest
 
Jfrog artifactory as private docker registry
Jfrog artifactory as private docker registryJfrog artifactory as private docker registry
Jfrog artifactory as private docker registry
 
Webdriver io presentation
Webdriver io presentationWebdriver io presentation
Webdriver io presentation
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
 

Similar to Selenium DeTox for Achieving the Right Testing Pyramid

Software Development And Delivery Metrics That Matter
Software Development And Delivery Metrics That MatterSoftware Development And Delivery Metrics That Matter
Software Development And Delivery Metrics That Matter
William Simms
 

Similar to Selenium DeTox for Achieving the Right Testing Pyramid (20)

Automation Pyramid - Make it right!
Automation Pyramid - Make it right!Automation Pyramid - Make it right!
Automation Pyramid - Make it right!
 
Selenium Today vs. Selenium Tomorrow: Digital as the Convergence of Mobile & ...
Selenium Today vs. Selenium Tomorrow: Digital as the Convergence of Mobile & ...Selenium Today vs. Selenium Tomorrow: Digital as the Convergence of Mobile & ...
Selenium Today vs. Selenium Tomorrow: Digital as the Convergence of Mobile & ...
 
Test pyramid agile pune conference
Test pyramid   agile pune conferenceTest pyramid   agile pune conference
Test pyramid agile pune conference
 
Test Design + Environment Management: Scaling UI Automation for Agile
Test Design + Environment Management: Scaling UI Automation for AgileTest Design + Environment Management: Scaling UI Automation for Agile
Test Design + Environment Management: Scaling UI Automation for Agile
 
Modern software testing and processes 2019
Modern software testing and processes 2019Modern software testing and processes 2019
Modern software testing and processes 2019
 
Zero touch QA automation platform for DevOps
Zero touch QA automation platform for DevOpsZero touch QA automation platform for DevOps
Zero touch QA automation platform for DevOps
 
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
 
Test Automation NYC 2014
Test Automation NYC 2014Test Automation NYC 2014
Test Automation NYC 2014
 
Inverting Test Pyramid - A First Hand Experience Report
Inverting Test Pyramid - A First Hand Experience ReportInverting Test Pyramid - A First Hand Experience Report
Inverting Test Pyramid - A First Hand Experience Report
 
Selenium at Salesforce Scale
Selenium at Salesforce ScaleSelenium at Salesforce Scale
Selenium at Salesforce Scale
 
Salesforce selenium-saucelabs-webinar-april-2014
Salesforce selenium-saucelabs-webinar-april-2014Salesforce selenium-saucelabs-webinar-april-2014
Salesforce selenium-saucelabs-webinar-april-2014
 
selenium meetup sf talk march 2014 Selenium at Scale
selenium meetup sf talk march 2014 Selenium at Scaleselenium meetup sf talk march 2014 Selenium at Scale
selenium meetup sf talk march 2014 Selenium at Scale
 
Designing Self-maintaining UI Tests for Web Applications
Designing Self-maintaining UI Tests for Web ApplicationsDesigning Self-maintaining UI Tests for Web Applications
Designing Self-maintaining UI Tests for Web Applications
 
Quali webinar de-mystifyind dev_ops-a practitioner’s perspective
Quali webinar de-mystifyind dev_ops-a practitioner’s perspectiveQuali webinar de-mystifyind dev_ops-a practitioner’s perspective
Quali webinar de-mystifyind dev_ops-a practitioner’s perspective
 
Selenium Certification
Selenium CertificationSelenium Certification
Selenium Certification
 
Neev QA Offering
Neev QA OfferingNeev QA Offering
Neev QA Offering
 
Large-Scale Agile Test Automation Strategies in Practice
Large-Scale Agile Test Automation Strategies in PracticeLarge-Scale Agile Test Automation Strategies in Practice
Large-Scale Agile Test Automation Strategies in Practice
 
Brave New World - A wider perspective of our opportunities
Brave New World - A wider perspective of our opportunitiesBrave New World - A wider perspective of our opportunities
Brave New World - A wider perspective of our opportunities
 
SV Training Intro - 20181129 4.pptx
SV Training Intro - 20181129 4.pptxSV Training Intro - 20181129 4.pptx
SV Training Intro - 20181129 4.pptx
 
Software Development And Delivery Metrics That Matter
Software Development And Delivery Metrics That MatterSoftware Development And Delivery Metrics That Matter
Software Development And Delivery Metrics That Matter
 

More from Naresh Jain

Organizational Resilience
Organizational ResilienceOrganizational Resilience
Organizational Resilience
Naresh Jain
 
Improving the Quality of Incoming Code
Improving the Quality of Incoming CodeImproving the Quality of Incoming Code
Improving the Quality of Incoming Code
Naresh Jain
 
Agile India 2018 Conference
Agile India 2018 ConferenceAgile India 2018 Conference
Agile India 2018 Conference
Naresh Jain
 

More from Naresh Jain (20)

Problem Solving Techniques For Evolutionary Design
Problem Solving Techniques For Evolutionary DesignProblem Solving Techniques For Evolutionary Design
Problem Solving Techniques For Evolutionary Design
 
Agile India 2019 Conference Welcome Note
Agile India 2019 Conference Welcome NoteAgile India 2019 Conference Welcome Note
Agile India 2019 Conference Welcome Note
 
Organizational Resilience
Organizational ResilienceOrganizational Resilience
Organizational Resilience
 
Improving the Quality of Incoming Code
Improving the Quality of Incoming CodeImproving the Quality of Incoming Code
Improving the Quality of Incoming Code
 
Agile India 2018 Conference Summary
Agile India 2018 Conference SummaryAgile India 2018 Conference Summary
Agile India 2018 Conference Summary
 
Agile India 2018 Conference
Agile India 2018 ConferenceAgile India 2018 Conference
Agile India 2018 Conference
 
Agile India 2018 Conference
Agile India 2018 ConferenceAgile India 2018 Conference
Agile India 2018 Conference
 
Agile India 2018 Conference
Agile India 2018 ConferenceAgile India 2018 Conference
Agile India 2018 Conference
 
Pilgrim's Progress to the Promised Land by Robert Virding
Pilgrim's Progress to the Promised Land by Robert VirdingPilgrim's Progress to the Promised Land by Robert Virding
Pilgrim's Progress to the Promised Land by Robert Virding
 
Concurrent languages are Functional by Francesco Cesarini
Concurrent languages are Functional by Francesco CesariniConcurrent languages are Functional by Francesco Cesarini
Concurrent languages are Functional by Francesco Cesarini
 
Erlang from behing the trenches by Francesco Cesarini
Erlang from behing the trenches by Francesco CesariniErlang from behing the trenches by Francesco Cesarini
Erlang from behing the trenches by Francesco Cesarini
 
Anatomy of an eCommerce Search Engine by Mayur Datar
Anatomy of an eCommerce Search Engine by Mayur DatarAnatomy of an eCommerce Search Engine by Mayur Datar
Anatomy of an eCommerce Search Engine by Mayur Datar
 
Setting up Continuous Delivery Culture for a Large Scale Mobile App
Setting up Continuous Delivery Culture for a Large Scale Mobile AppSetting up Continuous Delivery Culture for a Large Scale Mobile App
Setting up Continuous Delivery Culture for a Large Scale Mobile App
 
Towards FutureOps: Stable, Repeatable environments from Dev to Prod
Towards FutureOps: Stable, Repeatable environments from Dev to ProdTowards FutureOps: Stable, Repeatable environments from Dev to Prod
Towards FutureOps: Stable, Repeatable environments from Dev to Prod
 
Value Driven Development by Dave Thomas
Value Driven Development by Dave Thomas Value Driven Development by Dave Thomas
Value Driven Development by Dave Thomas
 
No Silver Bullets in Functional Programming by Brian McKenna
No Silver Bullets in Functional Programming by Brian McKennaNo Silver Bullets in Functional Programming by Brian McKenna
No Silver Bullets in Functional Programming by Brian McKenna
 
Functional Programming Conference 2016
Functional Programming Conference 2016Functional Programming Conference 2016
Functional Programming Conference 2016
 
Agile India 2017 Conference
Agile India 2017 ConferenceAgile India 2017 Conference
Agile India 2017 Conference
 
The Eclipse Way
The Eclipse WayThe Eclipse Way
The Eclipse Way
 
Unleashing the Power of Automated Refactoring with JDT
Unleashing the Power of Automated Refactoring with JDTUnleashing the Power of Automated Refactoring with JDT
Unleashing the Power of Automated Refactoring with JDT
 

Recently uploaded

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
vu2urc
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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...
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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...
 
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
 
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?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

Selenium DeTox for Achieving the Right Testing Pyramid

  • 1. ManualChecking End-to End Selenium Tests 70% Integration Tests 20% Unit Tests 10% Unit Tests 70% Domain Logic Acceptance Tests 10% Integration Tests 9% Workflow API Tests 6% End to End Flow Tests 4% UI 1% Naresh Jain @nashjain Selenium Detox for Achieving the Right Test Pyramid
  • 2. Selenium Detox for Achieving the Right Test Pyramid Naresh Jain @nashjain
  • 3.
  • 4. Achieving the Right Test Pyramid Aditya Saigaonkar Kirtesh Wani
  • 5. Background IDeaS is capable of applying 25 years of experience, expertise and client dedication toward an expanding suite of automated revenue management solutions.
  • 8. Background -2011 5% 95%No AutomationAutomation Coverage
  • 9. Background 1 Months 2Months 0 0.5 1 1.5 2 2.5 3 3.5 MonthsTypical Release Cycle Development Regression
  • 11. Critical Issues reported from Production 0 2 4 6 8 10 12 Critical Data Issues Cosmetic Localization Issues
  • 13. After Automation Introduced -2013 Selenium Tests 45% Unit & Integration Tests 20% No Automation 35% Automation Coverage
  • 14. After Automation Introduced 2.25 Months 3 Weeks 0 0.5 1 1.5 2 2.5 3 3.5 MonthsTypical Release Cycle Development Regression
  • 15. Critical Issues reported from Production 0 2 4 6 8 10 12 Critical Data Issues Cosmetic Localization
  • 16. Duration… 0 0.5 1 1.5 2 2.5 YearsDuration of Implementation 2 Years
  • 18. State of the Product Tightlycoupledwith UI Browser DependentData tests Falsefails Difficult to pinpoint real culprit Difficult to maintainand time consuming as test are fragile Laggingwith current release development Image Courtesy: Alex Yakyma
  • 19. Analysis of Bugs Report 10% 90%Data FailuresBug Report Analysis UI Navigation Failures
  • 20. State of the Product ManualChecking End-to End Selenium Tests 70% Integration Tests 20% Unit Tests 10%
  • 21. ManualChecking End-to End Selenium Tests 70% Integration Tests 20% Unit Tests 10% Unit Tests 70% Domain Logic Acceptance Tests 10% Integration Tests 9% Workflow API Tests 6% End to End Flow Tests 4% UI 1% Typical test strategies lead to an inverted testing pyramid This is the need of the hour…. Courtesy: Naresh Jain @AgileFAQs.com The Test Pyramid
  • 22. Our transition story… •We decided to "Test things right , at right place on right time" which would result in "right test pyramid“ Unit Tests 70% Domain Logic Acceptance Tests 10% Integration Tests 9% Workflow API Tests 6% End to End Flow Tests 4% UI 1%
  • 23. Our transition story… Application UI Service Layer DAO Layer Automated UI Tests Tightly Coupled Fragile Lag with current development Automate One Level Below UI UI Independent Robust & Stable With current devcycle Fast Execution
  • 25. Dev & QA Pairing Developer QA
  • 27. Current Status Selenium Tests 10% Workflow Tests: 40% No Automation 20% Unit & Integration Tests 30% Test Automation Status
  • 28. After Right Testing Pyramid 1 Week 2.75 Months 0 0.05 0.1 0.15 0.2 0.25 0.3 0 0.5 1 1.5 2 2.5 3 3.5 MonthsTypical Release Cycle Regression Time Development
  • 29. Critical Issues reported from Production 0 2 4 6 8 10 12 Critical Data Issues Cosmetic Localization
  • 30. Duration… 0 0.5 1 1.5 2 2.5 3 3.5 MonthsDuration of Implementation 3 Months
  • 31. Pain points •Learning curve for the team •Difficult to implement in case where no API is exposed or tight coupling with UI •Heavy dependency on pre-populated database
  • 32. Looking ahead •Expose RESTful APIs for all upcoming features •Move BDD specs to lower layers •Moving away from baseline database Courtesy: http://3.bp.blogspot.com/
  • 33. © Copyright Integrated Decisions and Systems, Inc. (IDeaS–A SAS COMPANY) Visit IDeaSonline at www.ideas.com Questions? Aditya.Saigaonkar@ideas.com Kirtesh.Wani@ideas.com Naresh Jain @nashjain