SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Downloaden Sie, um offline zu lesen
www.unicomlearning.com

India Agile Week-2013
25th Oct 2013 - Bengaluru

Building and Sustaining Agile Teams
Through Test Automation
Mahesh V G
Technical Manager

Mahindra Comviva

www.agileinbusiness.com
“Building and Sustaining Agile Teams”
Pathway for BEING AGILE

UNICOM Presents

India Agile Week-2013

www.unicomlearning.com
Take Away - I
www.unicomlearning.com

Understand Context Of
Operation
• Is there need for being Agile ?
• How agile (non-agile) are we
today ?
• How do we measure progress ?

UNICOM Presents

India Agile Week-2013
Our World
Understanding Context of Operations

Consumers

UNICOM Presents

India Agile Week-2013

Business Needs

www.unicomlearning.com

Environment
Our Goals –
Engineering teams strived for…

On Time Delivery

UNICOM Presents

India Agile Week-2013

www.unicomlearning.com

Quality
Our Concerns –
Hangover lessons and sleepless nights…

Delayed Deliveries

UNICOM Presents

India Agile Week-2013

www.unicomlearning.com

Quality
Opportunity
www.unicomlearning.com

•Heterogeneous Software
•Heterogeneous Environments
•Legacy Products
•Conditioned Minds (Not my problem or it is

always done this way)
•Non productive labor
•Insecurity
•Unpredictable schedules

•Non-release mode
•Multiple Stakeholder
•Structural Complexities

UNICOM Presents

India Agile Week-2013
Our Teams Agile Journey…
www.unicomlearning.com

What’s
Agile ?

Why be
Agile ?
How do we
be Agile ?

UNICOM Presents

India Agile Week-2013
Agile Manifesto – Value Driven
www.unicomlearning.com

Individuals and
interactions

over

Process and tools

Working software

over

Comprehensive
documentation

Customer collaboration

over

Contract negotiation

Responding to change

over

Following a plan
Source: www.agilemanifesto.org

UNICOM Presents

India Agile Week-2013
Take Away - II
www.unicomlearning.com

Iterate Agile adoption
incrementally
• Focus on key practices easy
to adopt
• Review the outcome of
adoption and adapt
UNICOM Presents

India Agile Week-2013
Adopting Agile Methods and Practices…
www.unicomlearning.com

Source: Version One 7th Annual Agile Survey
UNICOM Presents

India Agile Week-2013
Agile Methodologies – suitable for us

MANAGEMENT

www.unicomlearning.com

Scrum

Kanban

XP
TECHNICAL PRACTICES

UNICOM Presents

India Agile Week-2013
First Scrum Team and its Journey
www.unicomlearning.com

Planned Accomplished
Sprint #
Scenarios
Scenarios
First
Second
Third
Fourth
Total

UNICOM Presents

India Agile Week-2013

500

110

350

391

250

245

300

310

1400

1056
Initial Perceptions….
www.unicomlearning.com

UNICOM Presents

India Agile Week-2013
Being Agile – working with Legacy
Products

UNICOM Presents

India Agile Week-2013

www.unicomlearning.com
Change is Hard – Automation as Escape Velocity
www.unicomlearning.com

Source: Robin Sharma’s EAF program

UNICOM Presents

India Agile Week-2013
Take Away - III
www.unicomlearning.com

Measure Quality early– setup CI with
metrics system
• How healthy is the code?
• How matured is the agile practice ?
• Adopt tools that help measure quality
• CI – jenkins
• Code Quality – Sonar/Findbugs/PMD

UNICOM Presents

India Agile Week-2013
What to be measured ?
www.unicomlearning.com

Automated tests
Code Coverage
Code Smells

Size of Product/Project
Code Quality

Complexity
Coupling

Cohesiveness

UNICOM Presents

India Agile Week-2013
Automation - a step towards technical excellence
www.unicomlearning.com

UNICOM Presents

India Agile Week-2013
Involve motivated individuals
www.unicomlearning.com

UNICOM Presents

India Agile Week-2013
Legacy Code - Initial metrics
www.unicomlearning.com

UNICOM Presents

India Agile Week-2013
Continuous Integration with Code Metrics
www.unicomlearning.com

UNICOM Presents

India Agile Week-2013
Measuring Agility.. How did we progress ?
www.unicomlearning.com

Source: ThoughtWorks Agility Assessment results of our team
UNICOM Presents

India Agile Week-2013
Take Away - IV
www.unicomlearning.com

Automate tests
• Automate user acceptance
tests (UAT)
• Identify and adapt test tools
• Build re-usable frameworks

UNICOM Presents

India Agile Week-2013
Where to Begin ?
www.unicomlearning.com

UNICOM Presents

India Agile Week-2013
Software Testing – Quality to stake holders
www.unicomlearning.com

For Engineers

To Customers
GUI Tests

GUI and System Tests
(Validation Group)

(High Access and
Visibility)

Functional Tests
(Product Units)

Functional
Tests (Medium
Visibility)

Unit Tests (Product
Units)

Unit Tests
(Low
Visibility)
26

UNICOM Presents

India Agile Week-2013
Partner for Tools and Tailor
www.unicomlearning.com

• Getting out of DIY syndrome
• Go for lightweight tools and Adapt
• Cover Risks
• Win-Win Partner relationship

UNICOM Presents

India Agile Week-2013
Tools Evaluation
www.unicomlearning.com

Feature
Developed into

Selenium

Sahi OS (Open
Source)
Java

Record and Play

Java
Only on
Firefox

Playback

Sahi Pro

TestingAnywh
ere

Watir

Java

Ruby

All browsers All browsers Only on IE

No

Yes

No

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Brower support
OS/Platform
support

All

All

All

IE

IE

All

All

All

Windows

All

All

Multiple

All
Javascript,
Java, Ruby

Windows

Language

All
Javascript,
Java, Ruby

VB

XML

Java,.Net,C++ Ruby

Easy

Easy

Easy

Easy

Easy

Easy

Easy

Easy

Easy

Exception handling Yes

Easy
Easy
Easy
Yes. Has
Yes. Has
recovery
recovery
feature & Call feature & Call
back function. back function. Yes

Yes

Yes

Yes

Parallel Testing

Yes

No

Yes

Yes

Yes

UNICOM Presents

India Agile Week-2013

Yes

.Net

Jameleon
Java

Usability
Easy
Automation/Maint
enance difficulty
level
Easy

Java

QTP

No
Partnerships – make vs buy
www.unicomlearning.com

UNICOM Presents

India Agile Week-2013
Web Test Automation - using sahi
www.unicomlearning.com

UNICOM Presents

India Agile Week-2013
Subscriber Creation Call Flow
www.unicomlearning.com

UNICOM Presents

India Agile Week-2013
Automation benefits
www.unicomlearning.com

Automation execution takes 76 minutes to create subscriber as compared to
2 Person days effort to create it manually

UNICOM Presents

India Agile Week-2013
Success Stories.. Published
www.unicomlearning.com

Unit

Solution

Test Scenarios

Manual
Execution

Automation
Execution

Savings

Unit-1

P1

1500

40.5 Person
Days

15 Hours

95%

Unit-2

P2

230

7 Person
Days

1 Hour 15
Minutes

97%

Unit-3

P3

142

4 Person
Days

40 Minutes

96%

Unit-4

P4

119

3 Person
Days

7 Minutes

99%

Unit-5

P5

25

1 Person Day

2 Minutes

99%

UNICOM Presents

India Agile Week-2013
Functional Testing – ROBOT / RIDE / STAFSTAX

UNICOM Presents

India Agile Week-2013

www.unicomlearning.com
Functional Test Automation - using RIDE
www.unicomlearning.com

UNICOM Presents

India Agile Week-2013
Take Away - V
www.unicomlearning.com

Care for clean code
• Practice TDD (Red Green Clean
culture)
• Unit test for reusable modules
• Encourage constant refactoring
during change requests/bug fixes

UNICOM Presents

India Agile Week-2013
Adoption of TDD and Unit Testing - WIP
www.unicomlearning.com

Frameworks Used
Junit Framework for Java
check framework for C
CppUnit/XppUnit for applications
done in C++/PHP etc
Practice
Measuring code coverage
Test Driven Development for new
code written.
Refactoring of legacy code –
“Extract method” most widely
used

UNICOM Presents

India Agile Week-2013
Our Journey.. Cheetah way (Agile Hunter)
www.unicomlearning.com

Agility and rapid
acceleration vs. Speed.
Course Corrections and
adapting to context
during journey
UNICOM Presents

India Agile Week-2013

Source: New York Times
Recap - Key Take Away
www.unicomlearning.com

1. Understand Context
Of Operation
• Is there need for
being Agile ?
• How agile (non-agile)
are we today ?
• How do we measure
progress ?

2. Iterate Agile
adoption incrementally
• Focus on key
practices easy to
adopt
• Review the outcome
of adoption and
adapt

UNICOM Presents

India Agile Week-2013

3. Measure Quality
early– setup CI with
metrics system
• How healthy is the
code?
• How matured is the
agile practice ?
• Adopt tools that help
measure quality

4. Automate tests

5. Care for clean code

• Automate user
acceptance tests
(UAT)
• Identify and adapt
test tools
• Build re-usable
frameworks

• Practice TDD (Red
Green Clean culture)
• Unit test for reusable
modules
• Encourage constant
refactoring during
change requests/bug
fixes
www.unicomlearning.com

Mahesh V G
mahesh.ghatage@mahindracomviva.com
maheshvg@gmail.com

India Agile Week-2013
Organized by
UNICOM Trainings & Seminars Pvt. Ltd.
contact@unicomlearning.com

Weitere ähnliche Inhalte

Ähnlich wie Test Automation - pathway for building and sustaining agile teams

Behaviour Driven Development - Cuking the Agile world
Behaviour Driven Development - Cuking the Agile worldBehaviour Driven Development - Cuking the Agile world
Behaviour Driven Development - Cuking the Agile worldGaurav Awasthi
 
An Enterprise's Journey towards Agility
An Enterprise's Journey towards AgilityAn Enterprise's Journey towards Agility
An Enterprise's Journey towards AgilitySutap Choudhury
 
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile EnvironmentWSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile EnvironmentWSO2
 
Challenges with agile testing process and how to debug and troubleshoot these...
Challenges with agile testing process and how to debug and troubleshoot these...Challenges with agile testing process and how to debug and troubleshoot these...
Challenges with agile testing process and how to debug and troubleshoot these...Chandan Patary
 
Agile testing - Principles and best practices
Agile testing  - Principles and best practicesAgile testing  - Principles and best practices
Agile testing - Principles and best practicesDr Ganesh Iyer
 
Unit Test Android Without Going Bald
Unit Test Android Without Going BaldUnit Test Android Without Going Bald
Unit Test Android Without Going BaldDavid Carver
 
Moogilu qa-case study (Software Testing)
Moogilu qa-case study (Software Testing)Moogilu qa-case study (Software Testing)
Moogilu qa-case study (Software Testing)Jagadish Channagiri
 
Manoj kolhe - Continuous Integration Testing
Manoj kolhe - Continuous Integration TestingManoj kolhe - Continuous Integration Testing
Manoj kolhe - Continuous Integration TestingManoj Kolhe
 
Agile Gurugram 2016 | Conference | Continuous Agile Testing @ Naukri | Meetu...
Agile Gurugram 2016 | Conference |  Continuous Agile Testing @ Naukri | Meetu...Agile Gurugram 2016 | Conference |  Continuous Agile Testing @ Naukri | Meetu...
Agile Gurugram 2016 | Conference | Continuous Agile Testing @ Naukri | Meetu...AgileNetwork
 
Why agile is_struggling_in_india_iaw2013
Why agile is_struggling_in_india_iaw2013Why agile is_struggling_in_india_iaw2013
Why agile is_struggling_in_india_iaw2013Prabhath Kudaithur
 
Project report ngkc14
Project report ngkc14Project report ngkc14
Project report ngkc14Saif Ali
 
Raghunandan jagdish 8 mins presentation 2015
Raghunandan jagdish 8 mins presentation 2015Raghunandan jagdish 8 mins presentation 2015
Raghunandan jagdish 8 mins presentation 2015Raghunandan Jagdish
 
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...Turkish Testing Board
 
Dedicated QA person in scrum team
Dedicated QA person in scrum teamDedicated QA person in scrum team
Dedicated QA person in scrum teamNikos Raptis
 
Agile Testing – embedding testing into agile software development lifecycle
Agile Testing – embedding testing into agile software development lifecycle Agile Testing – embedding testing into agile software development lifecycle
Agile Testing – embedding testing into agile software development lifecycle Kari Kakkonen
 

Ähnlich wie Test Automation - pathway for building and sustaining agile teams (20)

Behaviour Driven Development - Cuking the Agile world
Behaviour Driven Development - Cuking the Agile worldBehaviour Driven Development - Cuking the Agile world
Behaviour Driven Development - Cuking the Agile world
 
An Enterprise's Journey towards Agility
An Enterprise's Journey towards AgilityAn Enterprise's Journey towards Agility
An Enterprise's Journey towards Agility
 
Agile Metrics Boom or Bane
Agile Metrics Boom or BaneAgile Metrics Boom or Bane
Agile Metrics Boom or Bane
 
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile EnvironmentWSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
 
Wso2con test-automation
Wso2con test-automationWso2con test-automation
Wso2con test-automation
 
Challenges with agile testing process and how to debug and troubleshoot these...
Challenges with agile testing process and how to debug and troubleshoot these...Challenges with agile testing process and how to debug and troubleshoot these...
Challenges with agile testing process and how to debug and troubleshoot these...
 
Agile testing - Principles and best practices
Agile testing  - Principles and best practicesAgile testing  - Principles and best practices
Agile testing - Principles and best practices
 
Unit Test Android Without Going Bald
Unit Test Android Without Going BaldUnit Test Android Without Going Bald
Unit Test Android Without Going Bald
 
Moogilu qa-case study (Software Testing)
Moogilu qa-case study (Software Testing)Moogilu qa-case study (Software Testing)
Moogilu qa-case study (Software Testing)
 
Manoj kolhe - Continuous Integration Testing
Manoj kolhe - Continuous Integration TestingManoj kolhe - Continuous Integration Testing
Manoj kolhe - Continuous Integration Testing
 
Agile Gurugram 2016 | Conference | Continuous Agile Testing @ Naukri | Meetu...
Agile Gurugram 2016 | Conference |  Continuous Agile Testing @ Naukri | Meetu...Agile Gurugram 2016 | Conference |  Continuous Agile Testing @ Naukri | Meetu...
Agile Gurugram 2016 | Conference | Continuous Agile Testing @ Naukri | Meetu...
 
BDT for continuous delivery
BDT for continuous deliveryBDT for continuous delivery
BDT for continuous delivery
 
Why agile is_struggling_in_india_iaw2013
Why agile is_struggling_in_india_iaw2013Why agile is_struggling_in_india_iaw2013
Why agile is_struggling_in_india_iaw2013
 
Project report ngkc14
Project report ngkc14Project report ngkc14
Project report ngkc14
 
Raghunandan jagdish 8 mins presentation 2015
Raghunandan jagdish 8 mins presentation 2015Raghunandan jagdish 8 mins presentation 2015
Raghunandan jagdish 8 mins presentation 2015
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
 
Dedicated QA person in scrum team
Dedicated QA person in scrum teamDedicated QA person in scrum team
Dedicated QA person in scrum team
 
Agile Testing – embedding testing into agile software development lifecycle
Agile Testing – embedding testing into agile software development lifecycle Agile Testing – embedding testing into agile software development lifecycle
Agile Testing – embedding testing into agile software development lifecycle
 

Kürzlich hochgeladen

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 

Kürzlich hochgeladen (20)

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 

Test Automation - pathway for building and sustaining agile teams

  • 1. www.unicomlearning.com India Agile Week-2013 25th Oct 2013 - Bengaluru Building and Sustaining Agile Teams Through Test Automation Mahesh V G Technical Manager Mahindra Comviva www.agileinbusiness.com
  • 2. “Building and Sustaining Agile Teams” Pathway for BEING AGILE UNICOM Presents India Agile Week-2013 www.unicomlearning.com
  • 3. Take Away - I www.unicomlearning.com Understand Context Of Operation • Is there need for being Agile ? • How agile (non-agile) are we today ? • How do we measure progress ? UNICOM Presents India Agile Week-2013
  • 4. Our World Understanding Context of Operations Consumers UNICOM Presents India Agile Week-2013 Business Needs www.unicomlearning.com Environment
  • 5. Our Goals – Engineering teams strived for… On Time Delivery UNICOM Presents India Agile Week-2013 www.unicomlearning.com Quality
  • 6. Our Concerns – Hangover lessons and sleepless nights… Delayed Deliveries UNICOM Presents India Agile Week-2013 www.unicomlearning.com Quality
  • 7. Opportunity www.unicomlearning.com •Heterogeneous Software •Heterogeneous Environments •Legacy Products •Conditioned Minds (Not my problem or it is always done this way) •Non productive labor •Insecurity •Unpredictable schedules •Non-release mode •Multiple Stakeholder •Structural Complexities UNICOM Presents India Agile Week-2013
  • 8. Our Teams Agile Journey… www.unicomlearning.com What’s Agile ? Why be Agile ? How do we be Agile ? UNICOM Presents India Agile Week-2013
  • 9. Agile Manifesto – Value Driven www.unicomlearning.com Individuals and interactions over Process and tools Working software over Comprehensive documentation Customer collaboration over Contract negotiation Responding to change over Following a plan Source: www.agilemanifesto.org UNICOM Presents India Agile Week-2013
  • 10. Take Away - II www.unicomlearning.com Iterate Agile adoption incrementally • Focus on key practices easy to adopt • Review the outcome of adoption and adapt UNICOM Presents India Agile Week-2013
  • 11. Adopting Agile Methods and Practices… www.unicomlearning.com Source: Version One 7th Annual Agile Survey UNICOM Presents India Agile Week-2013
  • 12. Agile Methodologies – suitable for us MANAGEMENT www.unicomlearning.com Scrum Kanban XP TECHNICAL PRACTICES UNICOM Presents India Agile Week-2013
  • 13. First Scrum Team and its Journey www.unicomlearning.com Planned Accomplished Sprint # Scenarios Scenarios First Second Third Fourth Total UNICOM Presents India Agile Week-2013 500 110 350 391 250 245 300 310 1400 1056
  • 15. Being Agile – working with Legacy Products UNICOM Presents India Agile Week-2013 www.unicomlearning.com
  • 16. Change is Hard – Automation as Escape Velocity www.unicomlearning.com Source: Robin Sharma’s EAF program UNICOM Presents India Agile Week-2013
  • 17. Take Away - III www.unicomlearning.com Measure Quality early– setup CI with metrics system • How healthy is the code? • How matured is the agile practice ? • Adopt tools that help measure quality • CI – jenkins • Code Quality – Sonar/Findbugs/PMD UNICOM Presents India Agile Week-2013
  • 18. What to be measured ? www.unicomlearning.com Automated tests Code Coverage Code Smells Size of Product/Project Code Quality Complexity Coupling Cohesiveness UNICOM Presents India Agile Week-2013
  • 19. Automation - a step towards technical excellence www.unicomlearning.com UNICOM Presents India Agile Week-2013
  • 21. Legacy Code - Initial metrics www.unicomlearning.com UNICOM Presents India Agile Week-2013
  • 22. Continuous Integration with Code Metrics www.unicomlearning.com UNICOM Presents India Agile Week-2013
  • 23. Measuring Agility.. How did we progress ? www.unicomlearning.com Source: ThoughtWorks Agility Assessment results of our team UNICOM Presents India Agile Week-2013
  • 24. Take Away - IV www.unicomlearning.com Automate tests • Automate user acceptance tests (UAT) • Identify and adapt test tools • Build re-usable frameworks UNICOM Presents India Agile Week-2013
  • 25. Where to Begin ? www.unicomlearning.com UNICOM Presents India Agile Week-2013
  • 26. Software Testing – Quality to stake holders www.unicomlearning.com For Engineers To Customers GUI Tests GUI and System Tests (Validation Group) (High Access and Visibility) Functional Tests (Product Units) Functional Tests (Medium Visibility) Unit Tests (Product Units) Unit Tests (Low Visibility) 26 UNICOM Presents India Agile Week-2013
  • 27. Partner for Tools and Tailor www.unicomlearning.com • Getting out of DIY syndrome • Go for lightweight tools and Adapt • Cover Risks • Win-Win Partner relationship UNICOM Presents India Agile Week-2013
  • 28. Tools Evaluation www.unicomlearning.com Feature Developed into Selenium Sahi OS (Open Source) Java Record and Play Java Only on Firefox Playback Sahi Pro TestingAnywh ere Watir Java Ruby All browsers All browsers Only on IE No Yes No Yes Yes Yes Yes Yes Yes Yes Brower support OS/Platform support All All All IE IE All All All Windows All All Multiple All Javascript, Java, Ruby Windows Language All Javascript, Java, Ruby VB XML Java,.Net,C++ Ruby Easy Easy Easy Easy Easy Easy Easy Easy Easy Exception handling Yes Easy Easy Easy Yes. Has Yes. Has recovery recovery feature & Call feature & Call back function. back function. Yes Yes Yes Yes Parallel Testing Yes No Yes Yes Yes UNICOM Presents India Agile Week-2013 Yes .Net Jameleon Java Usability Easy Automation/Maint enance difficulty level Easy Java QTP No
  • 29. Partnerships – make vs buy www.unicomlearning.com UNICOM Presents India Agile Week-2013
  • 30. Web Test Automation - using sahi www.unicomlearning.com UNICOM Presents India Agile Week-2013
  • 31. Subscriber Creation Call Flow www.unicomlearning.com UNICOM Presents India Agile Week-2013
  • 32. Automation benefits www.unicomlearning.com Automation execution takes 76 minutes to create subscriber as compared to 2 Person days effort to create it manually UNICOM Presents India Agile Week-2013
  • 33. Success Stories.. Published www.unicomlearning.com Unit Solution Test Scenarios Manual Execution Automation Execution Savings Unit-1 P1 1500 40.5 Person Days 15 Hours 95% Unit-2 P2 230 7 Person Days 1 Hour 15 Minutes 97% Unit-3 P3 142 4 Person Days 40 Minutes 96% Unit-4 P4 119 3 Person Days 7 Minutes 99% Unit-5 P5 25 1 Person Day 2 Minutes 99% UNICOM Presents India Agile Week-2013
  • 34. Functional Testing – ROBOT / RIDE / STAFSTAX UNICOM Presents India Agile Week-2013 www.unicomlearning.com
  • 35. Functional Test Automation - using RIDE www.unicomlearning.com UNICOM Presents India Agile Week-2013
  • 36. Take Away - V www.unicomlearning.com Care for clean code • Practice TDD (Red Green Clean culture) • Unit test for reusable modules • Encourage constant refactoring during change requests/bug fixes UNICOM Presents India Agile Week-2013
  • 37. Adoption of TDD and Unit Testing - WIP www.unicomlearning.com Frameworks Used Junit Framework for Java check framework for C CppUnit/XppUnit for applications done in C++/PHP etc Practice Measuring code coverage Test Driven Development for new code written. Refactoring of legacy code – “Extract method” most widely used UNICOM Presents India Agile Week-2013
  • 38. Our Journey.. Cheetah way (Agile Hunter) www.unicomlearning.com Agility and rapid acceleration vs. Speed. Course Corrections and adapting to context during journey UNICOM Presents India Agile Week-2013 Source: New York Times
  • 39. Recap - Key Take Away www.unicomlearning.com 1. Understand Context Of Operation • Is there need for being Agile ? • How agile (non-agile) are we today ? • How do we measure progress ? 2. Iterate Agile adoption incrementally • Focus on key practices easy to adopt • Review the outcome of adoption and adapt UNICOM Presents India Agile Week-2013 3. Measure Quality early– setup CI with metrics system • How healthy is the code? • How matured is the agile practice ? • Adopt tools that help measure quality 4. Automate tests 5. Care for clean code • Automate user acceptance tests (UAT) • Identify and adapt test tools • Build re-usable frameworks • Practice TDD (Red Green Clean culture) • Unit test for reusable modules • Encourage constant refactoring during change requests/bug fixes
  • 40. www.unicomlearning.com Mahesh V G mahesh.ghatage@mahindracomviva.com maheshvg@gmail.com India Agile Week-2013 Organized by UNICOM Trainings & Seminars Pvt. Ltd. contact@unicomlearning.com