SlideShare a Scribd company logo
Brace yourself from the
Automation Trap
Prasad
Kalgutkar
Brace yourself from automation death trap
Why we Automate?
Fast Feedback
Inp
ut
Resu
lt
Save Time & Money
Perform
Exploratory
Testing
Analyze future
requirements
Deliver on time
Then why we fail?
Too much of unwanted
automation
Source:
http://www.energizers.com/portfolio-
Automation done Perfunctory!
Damn! We have
agreed to automate,
let me write some
tests
“Are we building it correctly?”
My journey of challenges
eCom
merce
Train Travel Airline Travel
Airline domain with a big
Enterprise Org Structure
Mobile App Development &
Frequent Releases
Mixed Skilled Testing Team
Distributed team across 4
locations
As a Agile QA,
What it meant to
me?
…
automation serving as a
help
&
not an overhead!
Some food for thought!
#1
Let automation run in the
blood!
Be thoughtful while automating
Desig
n &
ToolsClean
Coding
How
much?
&
Where to?
Runs
on CI
QA
Build
from CI
# Break the silos in testing
# Every QA, contributes to
# Best when
business
refers your
test-cases
Let’s
Refactor!
Fail Fast,
Grow Right!
Add,
Delete
,
Merge
!
Optimiz
e as
you
procee
d
#2
Aim for the Test Pyramid
Test Pyramid
Manual /
Exploratory
Imp
act
Busines
s
Facing
Tests
Technolo
gy Facing
Tests
Tim
e
Cos
t
Integrati
on
JavaScript
Web Service
U
I
Unit
View
Courtesy: Anand Bagmar-What is Agile Testing?
# Unit Tests
For iOS, Android, MWeb
code
Devs own while doing TDD
# Integration
Tests
Devs own while doing TDD
# Functional
Tests
Focus only E2EQAs/Devs own it
# GUI E2E
Tests
Focus on UI details
QAs/Devs own it
#3
Strongly dependent on
OOPs concepts
We used
Page
Objects
User
Profile
Informatio
n
Accounts
History
Transfers
Apply
Loan
Account
Balance
Open Demat
Home
Page
The right
way...
●Has only required
user services
●Knows about the
Locators & Next
Navigation!
●Delegates user
actions to Driver
●Registered with Page
Registry
User
Profile
Informatio
n
Accounts
History
Transfers
Apply
Loan
Account
Balance
Open Demat
Home
Page
Define
Hard-
working
Driver
The Driver,
=> Provides actions to Page
Objects
=> May have setup methods
=> Takes care of Waits
Single Test Layer
⇒
Invokes single step
implementation
⇒
Calls relevant Page
Objects
⇒
Respective
Our Eco-
system
#4
Test Cases: Try Behavior
Driven
How Cukes
helped …
=> Scenarios are E2E
only
=> Acted as the
Framework
=> Everyone
collaborates!
Given a
...
When I
...
Then I ...
Scenario : To
test...
Do’s
●Build independent test
scenarios grouped in
functional chunks
●If not cukes, provide
sensible names to the tests
●Avoid setups in test-cases
layer
#5
Maintainable Test Data
Keep it
understanda
ble
Keep it
close to
domain
Keep it
simple
In the scenario...
WhenI search for
flight with
|origin |destination
|type |
| BOM | DEL
| One way|
ThenI should get “13A” as
“aisle” seat
Test Data Hash...
When I enter “VISA”
card details
Def testCards {
“VISA” => {
“Num” =>
“400010004000”
“Exp Month” =>
“10”
“Exp Year” => “},
“AMEX” => {
…
…
…
Test Data
Objects...
GivenI have a “delayed_multi_pax” PNR
in my trips
some_step_def_metho
d(type){
myPnr =
PnrFactory.getPnr(type
)
.
.
.
Avoid data
sheets or
CSVs
Leverage
the
tech stack
Avoid data
fetching from
#6
Test the Framework
B’coz,
●Drivers, Page Objects are
core!
●As the project grows, so do
the contributors!
●When automation is the
backbone of project delivery
“Get them running…”
Get Continuous
Integration
“ …is a software development practice where members of a team
integrate their work frequently, usually each person integrates at
least daily - leading to multiple integrations per day…
Each integration is verified by an automated build to detect
integration errors as quickly as possible … “
-Martin Fowler, ThoughtWorks Chief Scientist
http://www.thoughtworks.com/continuous-integration
Continuous Integration
“Every
experience, no
matter how bad it
seems…
Holds a blessing
of some kind”
- Gautam Buddha
Thank You
Brace yourself from automation death trap

More Related Content

PDF
Perils of Page-Object Pattern
PDF
Better Page Object Handling with Loadable Component Pattern
PDF
Sharing the pain using Protractor
PDF
Making cross browser tests beautiful
PDF
Agile Testing
PDF
Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...
PDF
Cucumber ppt
PDF
Patterns of a “good” test automation framework
Perils of Page-Object Pattern
Better Page Object Handling with Loadable Component Pattern
Sharing the pain using Protractor
Making cross browser tests beautiful
Agile Testing
Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...
Cucumber ppt
Patterns of a “good” test automation framework

What's hot (20)

PPTX
Web automation with Selenium for software engineers
PDF
Using The Page Object Pattern
PPTX
Whys and Hows of Automation
PPTX
Test Automation Framework with BDD and Cucumber
PDF
To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
PPTX
Selenium Design Patterns
DOCX
Automation Frame works Instruction Sheet
PPTX
5 Considerations When Adopting Automated Testing
PPTX
Protractor for angularJS
PPTX
Better End-to-End Testing with Page Objects Model using Protractor
PDF
How to Use Selenium, Successfully
PPTX
BDD with SpecFlow and Selenium
PPT
Intro to Service Worker API and its use cases
PDF
The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
PDF
Patterns in Test Automation
PPTX
Better Page Object Handling with Loadable Component Pattern
PPTX
Test Automation Architecture That Works by Bhupesh Dahal
PDF
APIs: A Better Alternative to Page Objects
PPTX
Selenium for Jobseekers
PPTX
Bdd with Cucumber and Mocha
Web automation with Selenium for software engineers
Using The Page Object Pattern
Whys and Hows of Automation
Test Automation Framework with BDD and Cucumber
To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
Selenium Design Patterns
Automation Frame works Instruction Sheet
5 Considerations When Adopting Automated Testing
Protractor for angularJS
Better End-to-End Testing with Page Objects Model using Protractor
How to Use Selenium, Successfully
BDD with SpecFlow and Selenium
Intro to Service Worker API and its use cases
The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
Patterns in Test Automation
Better Page Object Handling with Loadable Component Pattern
Test Automation Architecture That Works by Bhupesh Dahal
APIs: A Better Alternative to Page Objects
Selenium for Jobseekers
Bdd with Cucumber and Mocha
Ad

Viewers also liked (7)

PDF
Testing desktop apps with selenium
PPTX
Advanced automated visual testing with Selenium
PDF
Selenium conference, 2016
PPTX
Advanced Appium
PDF
Page Objects Done Right - selenium conference 2014
PDF
Test Data - Food for your Test Automation Framework
PPT
Responsive Web Design testing using Galen Framework
Testing desktop apps with selenium
Advanced automated visual testing with Selenium
Selenium conference, 2016
Advanced Appium
Page Objects Done Right - selenium conference 2014
Test Data - Food for your Test Automation Framework
Responsive Web Design testing using Galen Framework
Ad

Similar to Brace yourself from automation death trap (20)

PDF
Test Automation using UiPath Test Suite - Developer Circle Part-1.pdf
PPTX
Real Testing Scenario Strategy - Bringing It All Together For Success
PDF
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
PDF
Test Automation Strategies in a Continuous Delivery Ecosystem
PDF
Rethinking Test Automation: The Case for Moving Beyond the User Interface
PDF
UiPath Test Automation using UiPath Test Suite series, part 1
PDF
Test Automation: Investment Today Pays Back Tomorrow
PDF
State of DevOps 2018: Continuous Testing is Required for DevOps Success
PPTX
Lessons Learned in Test Automation From Zombieland
PDF
How to build confidence in your release cycle
PDF
Test Automation at the Speed of Agile: Making It Work Every Build
PDF
Cultural change of testing
PDF
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
PDF
Baking In Quality: The Evolving Role of the Agile Tester
PDF
Traditional Testing: The Silent Killer of DevOps
PDF
Wso2con test-automation
PDF
[DPE Summit] How Improving the Testing Experience Goes Beyond Quality: A Deve...
PPTX
Beginners overview of automated testing with Rspec
PDF
Test Automation: How to Succeed When Moving Beyond Manual Testing
PDF
Thomas Haver - Mobile Testing.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-1.pdf
Real Testing Scenario Strategy - Bringing It All Together For Success
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
Test Automation Strategies in a Continuous Delivery Ecosystem
Rethinking Test Automation: The Case for Moving Beyond the User Interface
UiPath Test Automation using UiPath Test Suite series, part 1
Test Automation: Investment Today Pays Back Tomorrow
State of DevOps 2018: Continuous Testing is Required for DevOps Success
Lessons Learned in Test Automation From Zombieland
How to build confidence in your release cycle
Test Automation at the Speed of Agile: Making It Work Every Build
Cultural change of testing
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
Baking In Quality: The Evolving Role of the Agile Tester
Traditional Testing: The Silent Killer of DevOps
Wso2con test-automation
[DPE Summit] How Improving the Testing Experience Goes Beyond Quality: A Deve...
Beginners overview of automated testing with Rspec
Test Automation: How to Succeed When Moving Beyond Manual Testing
Thomas Haver - Mobile Testing.pdf

Recently uploaded (20)

PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
L1 - Introduction to python Backend.pptx
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PPT
Introduction Database Management System for Course Database
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Introduction to Artificial Intelligence
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
history of c programming in notes for students .pptx
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
System and Network Administraation Chapter 3
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Online Work Permit System for Fast Permit Processing
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
ai tools demonstartion for schools and inter college
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
L1 - Introduction to python Backend.pptx
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Introduction Database Management System for Course Database
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Design an Analysis of Algorithms II-SECS-1021-03
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
VVF-Customer-Presentation2025-Ver1.9.pptx
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Introduction to Artificial Intelligence
ISO 45001 Occupational Health and Safety Management System
history of c programming in notes for students .pptx
How Creative Agencies Leverage Project Management Software.pdf
System and Network Administraation Chapter 3
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Online Work Permit System for Fast Permit Processing
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Odoo POS Development Services by CandidRoot Solutions
ai tools demonstartion for schools and inter college

Brace yourself from automation death trap