SlideShare une entreprise Scribd logo
1  sur  38
Bringing Agility in Test Automations
Hemant Kumar Jaggi
Senior Manager, MakeMyTrip.com
LET‟S
BE
AGILE !
Heard this before?
Thoughts on test automations the “Agile” way
To keep up the pace with agile
application development
Traditional Test Automation
approach isn‟t working
Best practices must be
incorporated everywhere
Ideally suited to an Ecommerce
(or similar) environment
An Ecommerce looks like
Only thing that doesn’t change is “change”
Building Test Automations the “Agile” way
WHY?
BECAUSE
TRADITIONAL
AUTOMATION APPROACH
JUST DIDN‟T
WORK
FOR US
WHY? Challenges we face @ MakeMyTrip
Fast Pace
Releases in a week?
Monthly unique visitors?
Monthly page views?
High Maintenance Cost & Test
cases not always in “shape”
Challenges (contd.)
Complex Business Rules
Hotel promotion combinations?
Cheapest Flights search?
Multiple GDS connections
Hotel Search engine?
~10,500 Domestic Hotels
~250,000 hotels across world
It‟s impossible to reverse-engineer!
Challenges (contd.)
Execution issues:
Automation execution may take 2-3
days to complete
Golden data set takes ~7 days to build
Automation teams don‟t know domain
Finally ..
Life of a QA Engineer is like
WHAT?
WHAT it should be?
Faster time to develop Automation
LOW maintenance cost
Agnostic to business logic
“QA team” friendly
Lesser complexity
Faster execution time
“It just works ! ”
HOW?
HOW? In lines with Agile Manifesto..
Break into smaller stories
Prioritize them basis
Functional Importance
Frequency of executions
Dependencies
Work “with” QA team
Develop a story and deliver
Create Buckets
Sanity tests
End to end user flows
Regression tests*
Miscellaneous flows
Sanity Test
Breadth wise test coverage.
MATS – Minimal Acceptance Test
Suite
Release checklist
Determines whether build is
stable.
User Flows
Covers end to end user flows
Detailed breadth wise coverage
E.g. different combinations of
booking flows.
But how to simplify regression tests?
Break them further ..
Into smaller flows, e.g. page wise
test suites
Comparative Testing
Interactive Testing
Comparative Testing
Comparative Testing
Works on two builds:
“QA” build (i.e. build under test)
“Production” build
Deploy them in same
environment.
Read all „to-be-tested‟ values from
front end
Comparative Testing
Execute automation script on
both builds
Dump them into XML (or excel)
Excel template has formulae to
compare values from two builds
Or use an XML comparator (in
case of XML output format)
Comparative Testing
IF (Actual == Expected)
THEN PASS
ELSE FAIL
* Actual Value = value(QA build)
* Expected Value = value(live build)
Take XML(or excel) as input to
reporting framework, generate
HTML reports
Let’s discuss
Pros & Cons
of
Comparative Testing
Advantages of Comparative Testing
Faster turn around to develop
Automation script does just what it is
supposed to do
Automation becomes a “dumb”
execution
Very LOW maintenance cost
Keep it simple
Advantages of Comparative Testing
Agnostic to business layers
Changes in business rules don‟t
matter
High level of accuracy
Makes it “thorough”
Enhances confidence in QA team
Advantages of Comparative Testing
Overall progress is faster
More dependency on Test Scenarios
than Test Cases
Less/No domain knowledge required
for Automation team
“Win-Win” for Automation and QA
team
Disadvantages of Comparative Testing
Any “live” issues won‟t be caught
Execution requires
Either double the time (if sequential)
Or double the resources (if parallel)
Interactive Testing
Interactive Testing
Complements comparative testing
Features that require user
interaction
E.g. Filters, Sorting etc.
Comparative + Interactive
equals “Regression”
Automation Coverage Tracking
Assign weights to each bucket,
say
Automation Score =
sum([(Tn/An)*100]*[Wn/(W1+W2+W3+W4+W5)]
Tn=Total Automated TC’s for a bucket
An=Total Automation feasible TC’s for a bucket
Wn=Weighted score of a bucket
Automation Coverage Tracking (Sample)
Computing efficiency gains (Sample)
Take Away
The “Agile” way of building Test
Automations
We resolved “challenges” of
traditional automation approach
Simplifying regression
Regression=Comparative + Interactive
Its working @ MakeMyTrip
Thank You
Hemant Jaggi
Hemant.jaggi@makemytrip.com
Hemant.jaggi@gmail.com

Contenu connexe

Tendances

Integration Testing in Enterprises using TaaS
Integration Testing in Enterprises using TaaSIntegration Testing in Enterprises using TaaS
Integration Testing in Enterprises using TaaS
Anand Bagmar
 
Test Automation Principles
Test Automation PrinciplesTest Automation Principles
Test Automation Principles
NetSuite
 

Tendances (20)

Process builder vs Triggers
Process builder vs TriggersProcess builder vs Triggers
Process builder vs Triggers
 
Workflow in Salesforce
Workflow in SalesforceWorkflow in Salesforce
Workflow in Salesforce
 
Enabling CD in Enterprises with Testing
Enabling CD in Enterprises with TestingEnabling CD in Enterprises with Testing
Enabling CD in Enterprises with Testing
 
Integration Testing in Enterprises using TaaS
Integration Testing in Enterprises using TaaSIntegration Testing in Enterprises using TaaS
Integration Testing in Enterprises using TaaS
 
Enabling CD in Enterprises with Testing
Enabling CD in Enterprises with TestingEnabling CD in Enterprises with Testing
Enabling CD in Enterprises with Testing
 
Test Automation Principles
Test Automation PrinciplesTest Automation Principles
Test Automation Principles
 
To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure AnalysisTo Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
 
Interview questions
Interview questionsInterview questions
Interview questions
 
Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the "right" regression suite using Behavior Driven Testing (BDT)Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the "right" regression suite using Behavior Driven Testing (BDT)
 
Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the "right" regression suite using Behavior Driven Testing (BDT)Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the "right" regression suite using Behavior Driven Testing (BDT)
 
Test Automation Architecture in Microservices
Test Automation Architecture in MicroservicesTest Automation Architecture in Microservices
Test Automation Architecture in Microservices
 
Client-Side Performance Testing
Client-Side Performance TestingClient-Side Performance Testing
Client-Side Performance Testing
 
Apex 10 commandments df14
Apex 10 commandments df14Apex 10 commandments df14
Apex 10 commandments df14
 
Automated Testing for Dynamics CRM 2 - CRMUG 2014
Automated Testing for Dynamics CRM 2 - CRMUG 2014Automated Testing for Dynamics CRM 2 - CRMUG 2014
Automated Testing for Dynamics CRM 2 - CRMUG 2014
 
Automated Testing for Dynamics CRM 3 - CRMUG 2014
Automated Testing for Dynamics CRM 3 - CRMUG 2014Automated Testing for Dynamics CRM 3 - CRMUG 2014
Automated Testing for Dynamics CRM 3 - CRMUG 2014
 
Role of Automation in Testing
Role of Automation in TestingRole of Automation in Testing
Role of Automation in Testing
 
Testing in agile
Testing in agileTesting in agile
Testing in agile
 
Unit Testing: Not Just for Apex
Unit Testing: Not Just for ApexUnit Testing: Not Just for Apex
Unit Testing: Not Just for Apex
 
How agile performance testing helps automate and scale test processes
How agile performance testing helps automate and scale test processesHow agile performance testing helps automate and scale test processes
How agile performance testing helps automate and scale test processes
 
Automated Testing for Dynamics CRM 4 - CRMUG 2014
Automated Testing for Dynamics CRM 4 - CRMUG 2014Automated Testing for Dynamics CRM 4 - CRMUG 2014
Automated Testing for Dynamics CRM 4 - CRMUG 2014
 

Similaire à Building Test Automations the agile way

Visual Studio Team System 2010
Visual Studio Team System 2010Visual Studio Team System 2010
Visual Studio Team System 2010
ukdpe
 
Alm Specialist Toolkit Team System 2008 Deep Dive
Alm Specialist Toolkit   Team System 2008 Deep DiveAlm Specialist Toolkit   Team System 2008 Deep Dive
Alm Specialist Toolkit Team System 2008 Deep Dive
Christian Thilmany
 
XML2Selenium Technical Presentation
XML2Selenium Technical PresentationXML2Selenium Technical Presentation
XML2Selenium Technical Presentation
jazzteam
 
SUMMIT 09 - Startegic Choice Of Test Automation Framework
SUMMIT 09 - Startegic Choice Of Test Automation FrameworkSUMMIT 09 - Startegic Choice Of Test Automation Framework
SUMMIT 09 - Startegic Choice Of Test Automation Framework
Lavanya Lakshman
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 
Application Performance: 6 Steps to Enhance Performance of Critical Systems
Application Performance: 6 Steps to Enhance Performance of Critical SystemsApplication Performance: 6 Steps to Enhance Performance of Critical Systems
Application Performance: 6 Steps to Enhance Performance of Critical Systems
CAST
 

Similaire à Building Test Automations the agile way (20)

Lightning Talks by Globant - Automation (This app runs by itself )
Lightning Talks by Globant -  Automation (This app runs by itself ) Lightning Talks by Globant -  Automation (This app runs by itself )
Lightning Talks by Globant - Automation (This app runs by itself )
 
Future of QA
Future of QAFuture of QA
Future of QA
 
Futureofqa
FutureofqaFutureofqa
Futureofqa
 
Test Automation Frameworks Final
Test Automation Frameworks   FinalTest Automation Frameworks   Final
Test Automation Frameworks Final
 
Visual Studio Team System 2010
Visual Studio Team System 2010Visual Studio Team System 2010
Visual Studio Team System 2010
 
Alm Specialist Toolkit Team System 2008 Deep Dive
Alm Specialist Toolkit   Team System 2008 Deep DiveAlm Specialist Toolkit   Team System 2008 Deep Dive
Alm Specialist Toolkit Team System 2008 Deep Dive
 
#DOAW16 - DevOps@work Roma 2016 - Testing your databases
#DOAW16 - DevOps@work Roma 2016 - Testing your databases#DOAW16 - DevOps@work Roma 2016 - Testing your databases
#DOAW16 - DevOps@work Roma 2016 - Testing your databases
 
XML2Selenium Technical Presentation
XML2Selenium Technical PresentationXML2Selenium Technical Presentation
XML2Selenium Technical Presentation
 
Test automation
Test automationTest automation
Test automation
 
Test Automation Pyramid
Test Automation PyramidTest Automation Pyramid
Test Automation Pyramid
 
SUMMIT 09 - Startegic Choice Of Test Automation Framework
SUMMIT 09 - Startegic Choice Of Test Automation FrameworkSUMMIT 09 - Startegic Choice Of Test Automation Framework
SUMMIT 09 - Startegic Choice Of Test Automation Framework
 
An easy way to automate complex UI
An easy way to automate complex UIAn easy way to automate complex UI
An easy way to automate complex UI
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
 
Application Performance: 6 Steps to Enhance Performance of Critical Systems
Application Performance: 6 Steps to Enhance Performance of Critical SystemsApplication Performance: 6 Steps to Enhance Performance of Critical Systems
Application Performance: 6 Steps to Enhance Performance of Critical Systems
 
Using Page Objects
Using Page ObjectsUsing Page Objects
Using Page Objects
 
DevOps in Practice: When does "Practice" Become "Doing"?
DevOps in Practice: When does "Practice" Become "Doing"?DevOps in Practice: When does "Practice" Become "Doing"?
DevOps in Practice: When does "Practice" Become "Doing"?
 
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas HaverThe Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
 
Agile Testing Dilemmas
Agile Testing DilemmasAgile Testing Dilemmas
Agile Testing Dilemmas
 
Test automation within a scrum process
Test automation within a scrum processTest automation within a scrum process
Test automation within a scrum process
 
Lessons Learned in Software Development: QA Infrastructure – Maintaining Rob...
Lessons Learned in Software Development: QA Infrastructure – Maintaining Rob...Lessons Learned in Software Development: QA Infrastructure – Maintaining Rob...
Lessons Learned in Software Development: QA Infrastructure – Maintaining Rob...
 

Plus de MakeMyTrip.com (8)

Chittorgarh slideshow
Chittorgarh slideshowChittorgarh slideshow
Chittorgarh slideshow
 
Udaipur- Top 10 Things To Do
Udaipur- Top 10 Things To DoUdaipur- Top 10 Things To Do
Udaipur- Top 10 Things To Do
 
Chittorgarh
Chittorgarh Chittorgarh
Chittorgarh
 
Malaysian Supersaver- Holidays in Malaysia
Malaysian Supersaver- Holidays in MalaysiaMalaysian Supersaver- Holidays in Malaysia
Malaysian Supersaver- Holidays in Malaysia
 
Things that makes Sydney so great
Things that makes Sydney so greatThings that makes Sydney so great
Things that makes Sydney so great
 
Madrid and Barcelona
Madrid and BarcelonaMadrid and Barcelona
Madrid and Barcelona
 
Magnetic Ladakh
Magnetic LadakhMagnetic Ladakh
Magnetic Ladakh
 
Exotic Ladakh
Exotic LadakhExotic Ladakh
Exotic Ladakh
 

Dernier

+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@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
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
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
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...
 
+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...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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
 

Building Test Automations the agile way