SlideShare a Scribd company logo
-Jayaprakash Puttaswamy
Test Automation Strategies
for Legacy Systems
What thoughts come to your
mind?
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
 Legacy Systems : challenges (05 mins)
 Test Automation : the full puzzle (15 mins)
 Refactoring Legacy Code (10 mins)
1.Shortest/Deepest branch technique
2.Applying Strangulation (Strangler pattern)
 Q&A (10 mins)
Next 40 mins!
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Legacy Systems - challenges
1. Lack of Agile Testing Mind-set
• Defect prevention Vs detection
• Developer Vs QA mind-set
2. Lack of Domain knowledge
• Unclear or vague requirements
• Lack of domain knowledge for multiple components
3. Lack of Technical Infrastructure
• Relevant testing tools and frameworks
• No infrastructure to mock/simulate dependencies (hardware/third party software)
4. Lack of Technical Skills
• Inability to distinguish and write Unit Tests, Integration Tests and End-to-End tests
• Quality of Testing (especially Unit Testing)
• Lack of refactoring skills/techniques
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Test Automation - the full puzzle
•Unit testing tools for with
mocking support
•Ability to run test
independently at different
levels
•Testing from Bottom-up
approach (Agile Testing
Pyramid)
•Writing good quality tests
•Usage of mocks
•Vertical slicing while
breaking down tasks
•Distinguishing between
Functional, Integration &
Unit testing
•Clear and refined
Acceptance Criteria
•Alignment between User
Story conversations and
their refinement
1. Clarity on
User Story
and A.C.
2. Thinking
through
about
types/level of
Testing
3. Testing
infrastructure
and tools
4. Testing
skills
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
STP (See-through Pyramid)
Image Source:
http://www.molon.de/galleries/France/Paris/Louvre/images01/15%20Louvr
e%20glass%20pyramid%20at%20sunset.jpg
Image Source: http://martinfowler.com/bliki/TestPyramid.html
Agile Testing Pyramid
STP (See-through Pyramid)
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Agile Testing Quadrants
Source: http://lisacrispin.com/2011/11/08/using-the-agile-testing-quadrants/
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Ex: Component/Technology Stack
Portal UI [HRML/CSS]
Portal Widget Framework
[Bootstrap, jQuery]
Portlets [Liferay
Portlets, Java]
Group Security Engine
[Spring, Hibernate, Java]
Authorization Engine
[OAuth]
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
1. Check if you have clarity on Feature/User Stories/Scenarios
2. If needed, derive more BDD Scenarios
3. Identify the scenario flows through layers/components of your application architecture
4. Evaluate the Impact on the code block that may get modified
5. Evaluate the Stability of the Impacted coded block
6. Identify and implement minimal code/tests that need refactoring and automation (only if
Impact is HIGH and is currently UNSTABLE)
7. Identify units where business logic gets added or modified. There are natural candidates for
Unit testing
8. Identify integration and end-to-end scenarios between units that need testing
Testing Approach for Legacy System
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Refactoring Legacy Code
Source: Video by Sandra Mancuso - https://www.youtube.com/watch?v=_NnElPO5BU0
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Refactoring Legacy Code
Image source: http://www.ferdinandludwig.com/plant-addition.html
Strangulation
(based on EventInterception and AssetCapture strategies)
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
http://in.linkedin.com/in/jputtaswamy
jayaprakash@arithaconsulting.com
@agilejp
@arithatweet
About me
Let’s connect
Jayaprakash Puttaswamy (JP) works as a Director - Technology &
Consulting at Aritha Consulting Services and consults enterprises
in Agile and Agile-BI space.
 Agile Strategist, Coach and an Enabler
 Practicing agile since 12 years (RUP,
XP, Scrum, Lean & Kanban)
 Trained & coached over 1400
professionals spread across 150 plus
teams in 35 plus companies including
start-ups.
 Driven large-scale agile
transformation (both software & non-
software) for global enterprises with
scale of 50 to 4000 people.
Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com
Image courtesy of David Castillo Dominici / FreeDigitalPhotos.net
QnA

More Related Content

PPTX
Gauge from an end user's perspective-fathima harris
PPTX
How to be an awesome test automation professional
PPT
Introduction to Gauge
PPTX
Test automation within a scrum process
PPTX
Appium Presentation
PPT
Mdc2010 Automated Mobile Testing
PPTX
Framework For Automation Testing Practice Sharing
Gauge from an end user's perspective-fathima harris
How to be an awesome test automation professional
Introduction to Gauge
Test automation within a scrum process
Appium Presentation
Mdc2010 Automated Mobile Testing
Framework For Automation Testing Practice Sharing

What's hot (20)

PPTX
Introduction to Automation Testing
PPTX
Test automation
PPTX
Smart : Comprehensive and unified framework for test automation of web and mo...
PDF
The what why and how of web analytics testing
PPTX
IGT's Intelligent Automation Framework
PPTX
Start Your Automation Journey With Rapise
PPTX
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
PDF
Testing APIs in the Cloud
PPT
Eclipse UI automation
PDF
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
PPTX
From One Test To Test Framework With Rapise
PDF
Code Review Tool Evaluation
PPT
Test Automation Framework Designs
PPTX
Introduction to APIs & how to automate APIs testing with selenium web driver?
PPTX
Test Automation Frameworks: Assumptions, Concepts & Tools
PDF
Test automation methodologies
PPTX
How to select the right automated testing tool
PPT
Automation With A Tool Demo
PPTX
10 Emerging Test Frameworks for Cross Browser Testing
Introduction to Automation Testing
Test automation
Smart : Comprehensive and unified framework for test automation of web and mo...
The what why and how of web analytics testing
IGT's Intelligent Automation Framework
Start Your Automation Journey With Rapise
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
Testing APIs in the Cloud
Eclipse UI automation
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
From One Test To Test Framework With Rapise
Code Review Tool Evaluation
Test Automation Framework Designs
Introduction to APIs & how to automate APIs testing with selenium web driver?
Test Automation Frameworks: Assumptions, Concepts & Tools
Test automation methodologies
How to select the right automated testing tool
Automation With A Tool Demo
10 Emerging Test Frameworks for Cross Browser Testing
Ad

Viewers also liked (15)

PDF
Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...
PPT
Trends in Agile Testing by Lisa Crispin
PPTX
Speed upyourtest with_appium
PDF
Winning strategies in Test Automation
PPTX
Mobile Automation Using Appium - vodQA Bangalore 2015
PDF
DevOps Metrics - Lies, Damned Lies and Statistics
PDF
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
PPTX
Divide and-conquer approach towards data analytics testing
PPTX
Data Analytics-testing spectrum
PDF
Strategies for Distributed Agile Testing
PDF
Client-Side Performance Testing
PDF
What is Agile Testing?
PDF
Client-side Performance Testing
PDF
BDD with Gauge
PPTX
Microservices Testing
Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...
Trends in Agile Testing by Lisa Crispin
Speed upyourtest with_appium
Winning strategies in Test Automation
Mobile Automation Using Appium - vodQA Bangalore 2015
DevOps Metrics - Lies, Damned Lies and Statistics
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
Divide and-conquer approach towards data analytics testing
Data Analytics-testing spectrum
Strategies for Distributed Agile Testing
Client-Side Performance Testing
What is Agile Testing?
Client-side Performance Testing
BDD with Gauge
Microservices Testing
Ad

Similar to Test automation_strategy_for_legacysystems (20)

PPTX
Testing in Legacy: From Rags to Riches
PPTX
Testing in Legacy: from Rags to Riches by Taras Slipets
PDF
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
PDF
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
PDF
Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)
PPTX
Software test automation_overview
PDF
Unit testing legacy code
PDF
Working With Legacy Code
PDF
Testing Enterprise Software Rewrites
PDF
An Automation Culture: The Key to Agile Success
PPTX
Testing in Legacy
PDF
Lessons Learned When Automating
PDF
Test Automation
PDF
10 Lessons learned in test automation
PPTX
Model-Based Testing: Theory and Practice. Keynote @ MoTiP (ISSRE) 2012.
PDF
Capstone-Project-Apply-Automation-Testing.pdf
PDF
Designing for Testability - Rohit Nayak
PDF
Testing strategies for legacy code
PDF
Hands-on Experience Model based testing with spec explorer
PPTX
Working Effectively with Legacy Code
Testing in Legacy: From Rags to Riches
Testing in Legacy: from Rags to Riches by Taras Slipets
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
Scaffolding a legacy app with BDD scenario (Agile in the City Bristol 2017)
Software test automation_overview
Unit testing legacy code
Working With Legacy Code
Testing Enterprise Software Rewrites
An Automation Culture: The Key to Agile Success
Testing in Legacy
Lessons Learned When Automating
Test Automation
10 Lessons learned in test automation
Model-Based Testing: Theory and Practice. Keynote @ MoTiP (ISSRE) 2012.
Capstone-Project-Apply-Automation-Testing.pdf
Designing for Testability - Rohit Nayak
Testing strategies for legacy code
Hands-on Experience Model based testing with spec explorer
Working Effectively with Legacy Code

More from VodqaBLR (20)

PPTX
Consumer-Driven Contract Testing PACT
PPTX
Taiko presentation
PPT
Chatbot Testing
PPTX
Key Note VodQA(Bangalore) 2018
PDF
Android security testing
PDF
Advance appium workshop.pptx
PDF
Blockchain workshop
PPTX
Testing natural language processing
PPTX
Drive chrome(headless) with puppeteer
PPTX
Improve your Chaos IQ
PPTX
WebDriver Lamda - Next Gen Scalable Test
PPTX
Testing Tools with AI
PPTX
Dynamic Security Analysis & Static Security Analysis for Android Apps.
PDF
Visual testing for Mobile Native Applications
PPTX
Parallel Sim Test using XCUI
PPTX
Performance Testing using Taurus
PPTX
Writing Maintainable Tests
PPTX
Continuous security testing - sharing responsibility
PPTX
ABCing docker with environments - workshop
PDF
Automate Web or Mobile Analytics using TrakMatic
Consumer-Driven Contract Testing PACT
Taiko presentation
Chatbot Testing
Key Note VodQA(Bangalore) 2018
Android security testing
Advance appium workshop.pptx
Blockchain workshop
Testing natural language processing
Drive chrome(headless) with puppeteer
Improve your Chaos IQ
WebDriver Lamda - Next Gen Scalable Test
Testing Tools with AI
Dynamic Security Analysis & Static Security Analysis for Android Apps.
Visual testing for Mobile Native Applications
Parallel Sim Test using XCUI
Performance Testing using Taurus
Writing Maintainable Tests
Continuous security testing - sharing responsibility
ABCing docker with environments - workshop
Automate Web or Mobile Analytics using TrakMatic

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Electronic commerce courselecture one. Pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Spectral efficient network and resource selection model in 5G networks
PPT
Teaching material agriculture food technology
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
Cloud computing and distributed systems.
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
cuic standard and advanced reporting.pdf
Approach and Philosophy of On baking technology
Advanced methodologies resolving dimensionality complications for autism neur...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Electronic commerce courselecture one. Pdf
20250228 LYD VKU AI Blended-Learning.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Review of recent advances in non-invasive hemoglobin estimation
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Dropbox Q2 2025 Financial Results & Investor Presentation
Spectral efficient network and resource selection model in 5G networks
Teaching material agriculture food technology
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Per capita expenditure prediction using model stacking based on satellite ima...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Chapter 3 Spatial Domain Image Processing.pdf

Test automation_strategy_for_legacysystems

  • 1. -Jayaprakash Puttaswamy Test Automation Strategies for Legacy Systems
  • 2. What thoughts come to your mind?
  • 3. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com  Legacy Systems : challenges (05 mins)  Test Automation : the full puzzle (15 mins)  Refactoring Legacy Code (10 mins) 1.Shortest/Deepest branch technique 2.Applying Strangulation (Strangler pattern)  Q&A (10 mins) Next 40 mins!
  • 4. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Legacy Systems - challenges 1. Lack of Agile Testing Mind-set • Defect prevention Vs detection • Developer Vs QA mind-set 2. Lack of Domain knowledge • Unclear or vague requirements • Lack of domain knowledge for multiple components 3. Lack of Technical Infrastructure • Relevant testing tools and frameworks • No infrastructure to mock/simulate dependencies (hardware/third party software) 4. Lack of Technical Skills • Inability to distinguish and write Unit Tests, Integration Tests and End-to-End tests • Quality of Testing (especially Unit Testing) • Lack of refactoring skills/techniques
  • 5. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Test Automation - the full puzzle •Unit testing tools for with mocking support •Ability to run test independently at different levels •Testing from Bottom-up approach (Agile Testing Pyramid) •Writing good quality tests •Usage of mocks •Vertical slicing while breaking down tasks •Distinguishing between Functional, Integration & Unit testing •Clear and refined Acceptance Criteria •Alignment between User Story conversations and their refinement 1. Clarity on User Story and A.C. 2. Thinking through about types/level of Testing 3. Testing infrastructure and tools 4. Testing skills
  • 6. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com STP (See-through Pyramid) Image Source: http://www.molon.de/galleries/France/Paris/Louvre/images01/15%20Louvr e%20glass%20pyramid%20at%20sunset.jpg Image Source: http://martinfowler.com/bliki/TestPyramid.html Agile Testing Pyramid STP (See-through Pyramid)
  • 7. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Agile Testing Quadrants Source: http://lisacrispin.com/2011/11/08/using-the-agile-testing-quadrants/
  • 8. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Ex: Component/Technology Stack Portal UI [HRML/CSS] Portal Widget Framework [Bootstrap, jQuery] Portlets [Liferay Portlets, Java] Group Security Engine [Spring, Hibernate, Java] Authorization Engine [OAuth]
  • 9. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com 1. Check if you have clarity on Feature/User Stories/Scenarios 2. If needed, derive more BDD Scenarios 3. Identify the scenario flows through layers/components of your application architecture 4. Evaluate the Impact on the code block that may get modified 5. Evaluate the Stability of the Impacted coded block 6. Identify and implement minimal code/tests that need refactoring and automation (only if Impact is HIGH and is currently UNSTABLE) 7. Identify units where business logic gets added or modified. There are natural candidates for Unit testing 8. Identify integration and end-to-end scenarios between units that need testing Testing Approach for Legacy System
  • 10. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Refactoring Legacy Code Source: Video by Sandra Mancuso - https://www.youtube.com/watch?v=_NnElPO5BU0
  • 11. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Refactoring Legacy Code Image source: http://www.ferdinandludwig.com/plant-addition.html Strangulation (based on EventInterception and AssetCapture strategies)
  • 12. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com http://in.linkedin.com/in/jputtaswamy jayaprakash@arithaconsulting.com @agilejp @arithatweet About me Let’s connect Jayaprakash Puttaswamy (JP) works as a Director - Technology & Consulting at Aritha Consulting Services and consults enterprises in Agile and Agile-BI space.  Agile Strategist, Coach and an Enabler  Practicing agile since 12 years (RUP, XP, Scrum, Lean & Kanban)  Trained & coached over 1400 professionals spread across 150 plus teams in 35 plus companies including start-ups.  Driven large-scale agile transformation (both software & non- software) for global enterprises with scale of 50 to 4000 people.
  • 13. Copyright © 2016 Aritha Consulting Services Pvt. Ltd. All rights reserved. www.arithaconsulting.com Image courtesy of David Castillo Dominici / FreeDigitalPhotos.net QnA