SlideShare a Scribd company logo
1 of 18
Download to read offline
W3
Concurrent Class
10/2/2013 11:30:00 AM

"Intelligent Mistakes in Test
Automation"
Presented by:
Dorothy Graham
Consultant

Brought to you by:

340 Corporate Way, Suite 300, Orange Park, FL 32073
888-268-8770 ∙ 904-278-0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com
Dorothy Graham
Software Test Consultant
In testing for more than thirty years, Dorothy Graham is coauthor of four books—Software
Inspection, Software Test Automation, Foundations of Software Testing, and Experiences of
Test Automation: Case Studies of Software Test Automation. Dot was a founding member of the
ISEB Software Testing Board, a member of the working party that developed the first ISTQB
Foundation Syllabus, and served on the boards of conferences and publications in software
testing.
Intelligent Mistakes
in Test Automation

(or: it seemed a good idea at the time)
Prepared and presented by

Dorothy Graham
email: info@dorothygraham.co.uk

Twitter: @DorothyGraham
www.DorothyGraham.co.uk

© Dorothy Graham 2013

1

Intelligent mistakes?
•  mistake:
–  an action resulting from defective judgment,
deficient knowledge or carelessness, a
misconception or misunderstanding

•  intelligent
–  exercising good judgment, showing mental
resourcefulness, being well-informed

•  intelligent mistake
–  action based on a faulty premise, with the best of
intentions, but with adverse consequences
2

info@dorothygraham.co.uk

© Dorothy Graham 2013
www.DorothyGraham.co.uk
Contents
• 
• 
• 
• 
• 

Automation should find lots of bugs
Automation comes out of a box (or download)
Let’s automate all of our manual tests
ROI is essential for automation
Testing tools are testers’ tools

Twitter: @DorothyGraham

3

Good idea? Automation should find lots
of bugs
•  Seems very sensible
–  we are automating tests
–  tests find bugs
–  automation is more thorough and faster
–  therefore, automation should find more bugs
- and quicker

•  Problems
–  what does automation actually give us?
–  what tests are we automating?
4

info@dorothygraham.co.uk

© Dorothy Graham 2013
www.DorothyGraham.co.uk
What finds most bugs?
most often
automated
likelihood of
finding bugs

regression tests

exploratory testing

5

Automation success = find lots of bugs?
•  tests find bugs, not automation
•  automation is a mechanism for running tests
•  the bug-finding ability of a test is not affected
by the manner in which it is executed
•  this can be a dangerous objective
–  especially for regression automation!
Automated tests

Manual Scripted

Exploratory

Fix Verification

9.3%

24.0%

58.2%

8.4%

Experiences of Test Automation, Ch 27, p 503, Ed Allen & Brian Newman

info@dorothygraham.co.uk

6

© Dorothy Graham 2013
www.DorothyGraham.co.uk
Efficiency and effectiveness
better
good
slow
testing

Manual testing

High

good
fast
testing

Automated

Efficiency
poor
fast
testing

poor
slow
testing
worst

greatest
benefit

Effectiveness

not good but
common

Low

7

When is “find bugs” a good objective for
automation?
•  when the first run of a given test is automated
–  Test-Driven Design in Agile (& BTDD)
–  Model-Based Testing (MBT), automated test design,
monkey testing, exploratory test automation
–  keyword-driven (e.g. users populate spreadsheet)

•  find bugs in parts we wouldn’t have tested?
–  indirect result of automation
–  direct result of running more tests
8

info@dorothygraham.co.uk

© Dorothy Graham 2013
www.DorothyGraham.co.uk
Contents
• 
• 
• 
• 
• 

Automation should find lots of bugs
Automation comes out of a box (or download)
Let’s automate all of our manual tests
ROI is essential for automation
Testing tools are testers’ tools

Twitter: @DorothyGraham

9

Good idea? Automation comes out of the
box (or download)
•  Seems very sensible
–  automation gives great benefit, success stories
–  spending a lot on the tool must guarantee great
benefits
–  all we need to do is “get the right tool”

•  Problems
–  technical issue: what testware architecture is right
for your organisation? (hint: not the tool’s)
–  management issues: staffing, support, resources
10

info@dorothygraham.co.uk

© Dorothy Graham 2013
www.DorothyGraham.co.uk
Automation should fit your organisation
•  your own testware architecture is critical
–  a poor architecture gives
high maintenance cost

Testers	
  	
  
write	
  tests	
  (in	
  DSTL)	
  

•  most frequent cause of
abandoned automation/
shelfware

HL Keywords

testware	
  
architecture	
  

–  two layers of abstraction
– technical: for long life
– human: for wide use
–  using the tool’s architecture
ties you to that tool [version]

Structured
Scripts
Test	
  Execu+on	
  Tool	
  
runs	
  scripts	
  
11

It’s not about the tool
•  no such thing as “the right tool” or “best tool”
–  what’s “the best car”?

commercial tools?

investment in
good automation

good benefits
high cost

poor benefits
low cost

benefits

good benefits
low cost cost
moderate

poor benefits
high cost
tool cost

open source tools?

info@dorothygraham.co.uk

budget
12

© Dorothy Graham 2013
www.DorothyGraham.co.uk
It takes time and effort to succeed
•  management support is critical
–  high level managers need to understand
automation capability & limitations, and have
realistic expectations
–  building good automation is a learning process
–  “people issues” – people use the automation,
people develop the automation

13

Automated tests/automated testing
Automated tests
Select / identify test cases to run
Set-up test environment:
•  create test environment
•  load test data
Repeat for each test case:
•  set-up test pre-requisites
•  execute
•  compare results
•  log results
•  analyse test failures
•  report defect(s)
•  clear-up after test case
Clear-up test environment:
•  delete unwanted data
•  save important data
Summarise results
Manual process

info@dorothygraham.co.uk

Automated testing
Select / identify test cases to run
Set-up test environment:
•  create test environment
•  load test data
Repeat for each test case:
•  set-up test pre-requisites
•  execute
•  compare results
•  log results
•  clear-up after test case
Clear-up test environment:
•  delete unwanted data
•  save important data
Summarise results
Analyse test failures
Report defects
Automated process

14

© Dorothy Graham 2013
www.DorothyGraham.co.uk
Contents
• 
• 
• 
• 
• 

Automation should find lots of bugs
Automation comes out of a box (or download)
Let’s automate all of our manual tests
ROI is essential for automation
Testing tools are testers’ tools

Twitter: @DorothyGraham

15

Good idea? Let’s automate all of our
tests
•  Seems very sensible
–  we already have lots of tests being done manually
–  automation would be much quicker
–  we can be completely automated, no need for
manual tests [testers?!]

•  Problems
–  what tests are you automating?
–  what are you missing by automating [only]
existing tests?
16

info@dorothygraham.co.uk

© Dorothy Graham 2013
www.DorothyGraham.co.uk
Automate manual tests?
manual
tests

automated
tests

tests not
automated
yet

tests not
worth
automating

tests (&
verification)
not possible to
do manually
manual tests
automated
(% manual)

new ways of
automating, e.g.
exploratory test
automation
17

Tools will replace testers?
•  “we can reduce the number of testers once we
have the tool”
–  what are your testers like?
•  mindless morons, or
•  intelligent investigators?

–  need more skills, not fewer
–  automation can free testers to do more test
design, exploratory testing
•  and find more bugs

–  tools don’t replace testers, they support them
18

info@dorothygraham.co.uk

© Dorothy Graham 2013
www.DorothyGraham.co.uk
Contents
• 
• 
• 
• 
• 

Automation should find lots of bugs
Automation comes out of a box (or download)
Let’s automate all of our manual tests
ROI is essential for automation
Testing tools are testers’ tools

Twitter: @DorothyGraham

19

Good idea? ROI is essential for
automation
•  Seems very sensible
–  we will be spending time and possibly lots of
money on tools – need to be sure it will be worth it
–  a “water-tight” business case will convince our
managers to invest in automation

•  Problems
–  ROI is not the whole story
–  people are not convinced by numbers
–  calculating ROI is difficult and can be dangerous
20

info@dorothygraham.co.uk

© Dorothy Graham 2013
www.DorothyGraham.co.uk
Is this Return on Investment (ROI)?
• 
• 
• 
• 
• 

tests are run more often
tests take less time to run
it takes less human effort to run tests
we can test (cover) more of the system
we can run the equivalent of days / weeks of
manual testing in a few minutes / hours
•  faster time to market
ROI = (benefit – cost)
cost

these are (good) benefits
but are not ROI
21

How important is ROI?
•  ROI can be dangerous
–  may give impression that people are replaced by
tools (see http://dorothygraham.blogspot.co.uk/)

•  “automation is an enabler for success, not a
cost reduction tool” – Yoram Mizrachi
•  many achieve lasting success without
measuring ROI (depends on your context)
–  need to be aware of benefits (and publicize them)

22

info@dorothygraham.co.uk

© Dorothy Graham 2013
www.DorothyGraham.co.uk
An example comparative benefits chart
80
70
60
50
40

man
aut

30
20
10
0

exec speed
14 x faster

times run

data variety tester work

5 x more often 4 x more data 12 x less effort

ROI spreadsheet – email me for a copy
23

Contents
• 
• 
• 
• 
• 

Automation should find lots of bugs
Automation comes out of a box (or download)
Let’s automate all of our manual tests
ROI is essential for automation
Testing tools are testers’ tools

Twitter: @DorothyGraham

info@dorothygraham.co.uk

24

© Dorothy Graham 2013
www.DorothyGraham.co.uk
Good idea? Testing tools are testers’
tools
•  Seems very sensible
–  testers do testing – testing tools help with testing
–  tools will make them better testers, because they
will be able to run more tests, faster

•  Problems
–  tools are software packages using programming
languages; tester skills are different to
development skills
–  spending time on / with tools means less testing,
not more testing (initially at least)

25

Is it the tester’s job to automate tests?
–  test execution automation is software development
•  needs programming skills

–  not all testers want to become developers
•  or would be good at it

–  do automators need testing skills?
•  helpful but not essential

–  if testers are automators  a conflict of interest
•  do you run tests or do you automate tests?
•  automation is better long-term, BUT
•  deadline pressure pushes you back into manual testing
26

info@dorothygraham.co.uk

© Dorothy Graham 2013
www.DorothyGraham.co.uk
Current thinking?
•  “Testers, if you want to have a job, you need to
learn to write code”
–  so testers who don’t write code are now worthless?
–  the only good tester is a developer-tester?

•  I see serious consequences (and I don’t agree!)
–  for every context? (user/business testers)
•  fine for those who want to, in agile team, dev level

–  pure testing skills are no longer valued?
–  not right to force good testers out of our industry!
27

Why are these intelligent mistakes?
•  Automation should find bugs?
–  tests find bugs; automated tests are still tests

•  Automation comes “out of the box”
–  you think you buy a solution that will just work

•  Automate all manual tests?
–  a starting point for tests to be automated

•  Automation has to achieve ROI?
–  can’t expect investment with showing some return

•  Testing tools are tools for testers?
–  testers write and run tests; tools run tests

info@dorothygraham.co.uk

28

© Dorothy Graham 2013
www.DorothyGraham.co.uk
Why are these intelligent mistakes?
•  Automation should find bugs?
–  tests find bugs, automation runs tests

•  Automation comes “out of the box”
–  effort and time, e.g. tailor your testware architecture

•  Automate all manual tests?
–  not all should be, automate more than manual

•  Automation has to achieve ROI?
–  may be dangerous, need to show benefits

•  Testing tools are tools for testers?
–  different skills, not all testers should code

29

Summary
•  Many ideas seem sensible at first / on the
surface, but have serious problems
–  automation should find lots of bugs
–  automation comes out of a box (or download)
–  let’s automate all of our manual tests
–  ROI is essential for automation
–  testing tools are testers’ tools

•  Recognise these “intelligent mistakes” and
avoid them
30

info@dorothygraham.co.uk

© Dorothy Graham 2013
www.DorothyGraham.co.uk
More information
•  downloads www.DorothyGraham.co.uk
–  articles and papers

•  email info@DorothyGraham.co.uk for
–  list of test execution & framework tools
–  automation ROI calculator spreadsheet
–  an invitation to join the new Test Automation Patterns wiki
–  my random newsletter

•  blog http://dorothygraham.blogspot.com
–  including automation, DDP, certification

•  twitter
–  @DorothyGraham

info@dorothygraham.co.uk

with Seretta
Gamba –
we are
looking for
feedback!
31

© Dorothy Graham 2013
www.DorothyGraham.co.uk

More Related Content

What's hot

The Test Coverage Outline: Your Testing Road Map
The Test Coverage Outline: Your Testing Road MapThe Test Coverage Outline: Your Testing Road Map
The Test Coverage Outline: Your Testing Road MapTechWell
 
Jeremias Rößler
Jeremias RößlerJeremias Rößler
Jeremias RößlerCodeFest
 
Justin Ison
Justin IsonJustin Ison
Justin IsonCodeFest
 
Exploratory Testing
Exploratory TestingExploratory Testing
Exploratory Testingsriks7
 
Exploratory Testing Explained
Exploratory Testing ExplainedExploratory Testing Explained
Exploratory Testing ExplainedTechWell
 
Ilari henrik
Ilari henrikIlari henrik
Ilari henrikCodeFest
 
Adam carmi
Adam carmiAdam carmi
Adam carmiCodeFest
 
How to Deliver the Right Software (Specification by example)
How to Deliver the Right Software (Specification by example)How to Deliver the Right Software (Specification by example)
How to Deliver the Right Software (Specification by example)Asier Barrenetxea
 
Test Strategy-The real silver bullet in testing by Matthew Eakin
Test Strategy-The real silver bullet in testing by Matthew EakinTest Strategy-The real silver bullet in testing by Matthew Eakin
Test Strategy-The real silver bullet in testing by Matthew EakinQA or the Highway
 
Effective specifications for agile teams
Effective specifications for agile teamsEffective specifications for agile teams
Effective specifications for agile teamsgojkoadzic
 
ATDD And BDD The Great Beat Down…or…Debate
ATDD And BDD The Great Beat Down…or…DebateATDD And BDD The Great Beat Down…or…Debate
ATDD And BDD The Great Beat Down…or…DebateTEST Huddle
 
Creating testing tools to support development
Creating testing tools to support developmentCreating testing tools to support development
Creating testing tools to support developmentChema del Barco
 
Improving developer tester collaboration with microsoft visual studio 2010
Improving developer tester collaboration with microsoft visual studio 2010Improving developer tester collaboration with microsoft visual studio 2010
Improving developer tester collaboration with microsoft visual studio 2010Mohamed Samy
 
Hey You Got Your TDD in my SQL DB by Jeff McKenzie
Hey You Got Your TDD in my SQL DB by Jeff McKenzieHey You Got Your TDD in my SQL DB by Jeff McKenzie
Hey You Got Your TDD in my SQL DB by Jeff McKenzieQA or the Highway
 
The limits of unit testing by Craig Stuntz
The limits of unit testing by Craig StuntzThe limits of unit testing by Craig Stuntz
The limits of unit testing by Craig StuntzQA or the Highway
 
Top 15 reasons to choose qa testing as career
Top 15 reasons to choose qa testing as career Top 15 reasons to choose qa testing as career
Top 15 reasons to choose qa testing as career JanBask Training
 
FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1fadhilla elita
 
Demise of test scripts rise of test ideas
Demise of test scripts rise of test ideasDemise of test scripts rise of test ideas
Demise of test scripts rise of test ideasRichard Robinson
 

What's hot (20)

The Test Coverage Outline: Your Testing Road Map
The Test Coverage Outline: Your Testing Road MapThe Test Coverage Outline: Your Testing Road Map
The Test Coverage Outline: Your Testing Road Map
 
A taste of Exploratory Testing
A taste of Exploratory TestingA taste of Exploratory Testing
A taste of Exploratory Testing
 
Jeremias Rößler
Jeremias RößlerJeremias Rößler
Jeremias Rößler
 
Justin Ison
Justin IsonJustin Ison
Justin Ison
 
Exploratory Testing
Exploratory TestingExploratory Testing
Exploratory Testing
 
A Taste of Exploratory Testing
A Taste of Exploratory TestingA Taste of Exploratory Testing
A Taste of Exploratory Testing
 
Exploratory Testing Explained
Exploratory Testing ExplainedExploratory Testing Explained
Exploratory Testing Explained
 
Ilari henrik
Ilari henrikIlari henrik
Ilari henrik
 
Adam carmi
Adam carmiAdam carmi
Adam carmi
 
How to Deliver the Right Software (Specification by example)
How to Deliver the Right Software (Specification by example)How to Deliver the Right Software (Specification by example)
How to Deliver the Right Software (Specification by example)
 
Test Strategy-The real silver bullet in testing by Matthew Eakin
Test Strategy-The real silver bullet in testing by Matthew EakinTest Strategy-The real silver bullet in testing by Matthew Eakin
Test Strategy-The real silver bullet in testing by Matthew Eakin
 
Effective specifications for agile teams
Effective specifications for agile teamsEffective specifications for agile teams
Effective specifications for agile teams
 
ATDD And BDD The Great Beat Down…or…Debate
ATDD And BDD The Great Beat Down…or…DebateATDD And BDD The Great Beat Down…or…Debate
ATDD And BDD The Great Beat Down…or…Debate
 
Creating testing tools to support development
Creating testing tools to support developmentCreating testing tools to support development
Creating testing tools to support development
 
Improving developer tester collaboration with microsoft visual studio 2010
Improving developer tester collaboration with microsoft visual studio 2010Improving developer tester collaboration with microsoft visual studio 2010
Improving developer tester collaboration with microsoft visual studio 2010
 
Hey You Got Your TDD in my SQL DB by Jeff McKenzie
Hey You Got Your TDD in my SQL DB by Jeff McKenzieHey You Got Your TDD in my SQL DB by Jeff McKenzie
Hey You Got Your TDD in my SQL DB by Jeff McKenzie
 
The limits of unit testing by Craig Stuntz
The limits of unit testing by Craig StuntzThe limits of unit testing by Craig Stuntz
The limits of unit testing by Craig Stuntz
 
Top 15 reasons to choose qa testing as career
Top 15 reasons to choose qa testing as career Top 15 reasons to choose qa testing as career
Top 15 reasons to choose qa testing as career
 
FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1
 
Demise of test scripts rise of test ideas
Demise of test scripts rise of test ideasDemise of test scripts rise of test ideas
Demise of test scripts rise of test ideas
 

Similar to Intelligent Mistakes in Test Automation

It Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test AutomationIt Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test AutomationTechWell
 
Blunders in Test Automation
Blunders in Test AutomationBlunders in Test Automation
Blunders in Test AutomationTechWell
 
Management Issues in Test Automation
Management Issues in Test AutomationManagement Issues in Test Automation
Management Issues in Test AutomationTechWell
 
MeManagement Issues in Test Automation
MeManagement Issues in Test AutomationMeManagement Issues in Test Automation
MeManagement Issues in Test AutomationTechWell
 
Management Issues in Test Automation
Management Issues in Test AutomationManagement Issues in Test Automation
Management Issues in Test AutomationTechWell
 
System-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartSystem-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartTechWell
 
Managing Successful Test Automation
Managing Successful Test AutomationManaging Successful Test Automation
Managing Successful Test AutomationTechWell
 
Management Issues in Test Automation
Management Issues in Test AutomationManagement Issues in Test Automation
Management Issues in Test AutomationTechWell
 
Why Automation Fails—in Theory and Practice
Why Automation Fails—in Theory and PracticeWhy Automation Fails—in Theory and Practice
Why Automation Fails—in Theory and PracticeTechWell
 
Successful Test Automation: A Manager’s View
Successful Test Automation: A Manager’s ViewSuccessful Test Automation: A Manager’s View
Successful Test Automation: A Manager’s ViewTechWell
 
Test Automation Patterns
Test Automation PatternsTest Automation Patterns
Test Automation PatternsTechWell
 
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptx
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptxTop Ten Tips for Tackling Test Automation Webinar Presentation.pptx
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptxInflectra
 
The Survey Says: Testers Spend Their Time Doing...
The Survey Says: Testers Spend Their Time Doing...The Survey Says: Testers Spend Their Time Doing...
The Survey Says: Testers Spend Their Time Doing...TechWell
 
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and MoreThe Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and MoreTechWell
 
Breathing the breath of the monster combining agile and context-driven
Breathing the breath of the monster   combining agile and context-drivenBreathing the breath of the monster   combining agile and context-driven
Breathing the breath of the monster combining agile and context-drivenIlari Henrik Aegerter
 
Automation testing in Agile project
Automation testing in Agile projectAutomation testing in Agile project
Automation testing in Agile projectHien Nguyen
 
How to make Automation an asset for Organization
How to make Automation an asset for OrganizationHow to make Automation an asset for Organization
How to make Automation an asset for Organizationanuvip
 
Test Automation Patterns: Issues and Solutions
Test Automation Patterns: Issues and SolutionsTest Automation Patterns: Issues and Solutions
Test Automation Patterns: Issues and SolutionsTechWell
 
Why Test Automation Fails
Why Test Automation FailsWhy Test Automation Fails
Why Test Automation FailsRanorex
 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemSundar Sritharan
 

Similar to Intelligent Mistakes in Test Automation (20)

It Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test AutomationIt Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
It Seemed a Good Idea at the Time: Intelligent Mistakes in Test Automation
 
Blunders in Test Automation
Blunders in Test AutomationBlunders in Test Automation
Blunders in Test Automation
 
Management Issues in Test Automation
Management Issues in Test AutomationManagement Issues in Test Automation
Management Issues in Test Automation
 
MeManagement Issues in Test Automation
MeManagement Issues in Test AutomationMeManagement Issues in Test Automation
MeManagement Issues in Test Automation
 
Management Issues in Test Automation
Management Issues in Test AutomationManagement Issues in Test Automation
Management Issues in Test Automation
 
System-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartSystem-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good Start
 
Managing Successful Test Automation
Managing Successful Test AutomationManaging Successful Test Automation
Managing Successful Test Automation
 
Management Issues in Test Automation
Management Issues in Test AutomationManagement Issues in Test Automation
Management Issues in Test Automation
 
Why Automation Fails—in Theory and Practice
Why Automation Fails—in Theory and PracticeWhy Automation Fails—in Theory and Practice
Why Automation Fails—in Theory and Practice
 
Successful Test Automation: A Manager’s View
Successful Test Automation: A Manager’s ViewSuccessful Test Automation: A Manager’s View
Successful Test Automation: A Manager’s View
 
Test Automation Patterns
Test Automation PatternsTest Automation Patterns
Test Automation Patterns
 
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptx
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptxTop Ten Tips for Tackling Test Automation Webinar Presentation.pptx
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptx
 
The Survey Says: Testers Spend Their Time Doing...
The Survey Says: Testers Spend Their Time Doing...The Survey Says: Testers Spend Their Time Doing...
The Survey Says: Testers Spend Their Time Doing...
 
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and MoreThe Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
 
Breathing the breath of the monster combining agile and context-driven
Breathing the breath of the monster   combining agile and context-drivenBreathing the breath of the monster   combining agile and context-driven
Breathing the breath of the monster combining agile and context-driven
 
Automation testing in Agile project
Automation testing in Agile projectAutomation testing in Agile project
Automation testing in Agile project
 
How to make Automation an asset for Organization
How to make Automation an asset for OrganizationHow to make Automation an asset for Organization
How to make Automation an asset for Organization
 
Test Automation Patterns: Issues and Solutions
Test Automation Patterns: Issues and SolutionsTest Automation Patterns: Issues and Solutions
Test Automation Patterns: Issues and Solutions
 
Why Test Automation Fails
Why Test Automation FailsWhy Test Automation Fails
Why Test Automation Fails
 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them
 

More from TechWell

Failing and Recovering
Failing and RecoveringFailing and Recovering
Failing and RecoveringTechWell
 
Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization TechWell
 
Test Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTest Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTechWell
 
Build Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyBuild Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyTechWell
 
Testing Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTesting Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTechWell
 
Implement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowImplement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowTechWell
 
Develop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityDevelop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityTechWell
 
Eliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyEliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyTechWell
 
Transform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTransform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTechWell
 
The Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipThe Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipTechWell
 
Resolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsResolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsTechWell
 
Pin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GamePin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GameTechWell
 
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsAgile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsTechWell
 
A Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationA Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationTechWell
 
Databases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessDatabases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessTechWell
 
Mobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateMobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateTechWell
 
Cultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessCultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessTechWell
 
Turn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTurn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTechWell
 
Scale: The Most Hyped Term in Agile Development Today
Scale: The Most Hyped Term in Agile Development TodayScale: The Most Hyped Term in Agile Development Today
Scale: The Most Hyped Term in Agile Development TodayTechWell
 

More from TechWell (20)

Failing and Recovering
Failing and RecoveringFailing and Recovering
Failing and Recovering
 
Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization
 
Test Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTest Design for Fully Automated Build Architecture
Test Design for Fully Automated Build Architecture
 
Build Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyBuild Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test Strategy
 
Testing Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTesting Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for Success
 
Implement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowImplement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlow
 
Develop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityDevelop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your Sanity
 
Ma 15
Ma 15Ma 15
Ma 15
 
Eliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyEliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps Strategy
 
Transform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTransform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOps
 
The Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipThe Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—Leadership
 
Resolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsResolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile Teams
 
Pin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GamePin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile Game
 
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsAgile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
 
A Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationA Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps Implementation
 
Databases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessDatabases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery Process
 
Mobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateMobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to Automate
 
Cultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessCultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for Success
 
Turn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTurn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile Transformation
 
Scale: The Most Hyped Term in Agile Development Today
Scale: The Most Hyped Term in Agile Development TodayScale: The Most Hyped Term in Agile Development Today
Scale: The Most Hyped Term in Agile Development Today
 

Recently uploaded

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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 TerraformAndrey Devyatkin
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
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...apidays
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
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...DianaGray10
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
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 WorkerThousandEyes
 
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 FresherRemote DBA Services
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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 slidevu2urc
 
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.pdfUK Journal
 
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)wesley chun
 
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?Antenna Manufacturer Coco
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
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...Enterprise Knowledge
 

Recently uploaded (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
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...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
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
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
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
 
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)
 
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?
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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...
 

Intelligent Mistakes in Test Automation

  • 1. W3 Concurrent Class 10/2/2013 11:30:00 AM "Intelligent Mistakes in Test Automation" Presented by: Dorothy Graham Consultant Brought to you by: 340 Corporate Way, Suite 300, Orange Park, FL 32073 888-268-8770 ∙ 904-278-0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com
  • 2. Dorothy Graham Software Test Consultant In testing for more than thirty years, Dorothy Graham is coauthor of four books—Software Inspection, Software Test Automation, Foundations of Software Testing, and Experiences of Test Automation: Case Studies of Software Test Automation. Dot was a founding member of the ISEB Software Testing Board, a member of the working party that developed the first ISTQB Foundation Syllabus, and served on the boards of conferences and publications in software testing.
  • 3. Intelligent Mistakes in Test Automation (or: it seemed a good idea at the time) Prepared and presented by Dorothy Graham email: info@dorothygraham.co.uk Twitter: @DorothyGraham www.DorothyGraham.co.uk © Dorothy Graham 2013 1 Intelligent mistakes? •  mistake: –  an action resulting from defective judgment, deficient knowledge or carelessness, a misconception or misunderstanding •  intelligent –  exercising good judgment, showing mental resourcefulness, being well-informed •  intelligent mistake –  action based on a faulty premise, with the best of intentions, but with adverse consequences 2 info@dorothygraham.co.uk © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 4. Contents •  •  •  •  •  Automation should find lots of bugs Automation comes out of a box (or download) Let’s automate all of our manual tests ROI is essential for automation Testing tools are testers’ tools Twitter: @DorothyGraham 3 Good idea? Automation should find lots of bugs •  Seems very sensible –  we are automating tests –  tests find bugs –  automation is more thorough and faster –  therefore, automation should find more bugs - and quicker •  Problems –  what does automation actually give us? –  what tests are we automating? 4 info@dorothygraham.co.uk © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 5. What finds most bugs? most often automated likelihood of finding bugs regression tests exploratory testing 5 Automation success = find lots of bugs? •  tests find bugs, not automation •  automation is a mechanism for running tests •  the bug-finding ability of a test is not affected by the manner in which it is executed •  this can be a dangerous objective –  especially for regression automation! Automated tests Manual Scripted Exploratory Fix Verification 9.3% 24.0% 58.2% 8.4% Experiences of Test Automation, Ch 27, p 503, Ed Allen & Brian Newman info@dorothygraham.co.uk 6 © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 6. Efficiency and effectiveness better good slow testing Manual testing High good fast testing Automated Efficiency poor fast testing poor slow testing worst greatest benefit Effectiveness not good but common Low 7 When is “find bugs” a good objective for automation? •  when the first run of a given test is automated –  Test-Driven Design in Agile (& BTDD) –  Model-Based Testing (MBT), automated test design, monkey testing, exploratory test automation –  keyword-driven (e.g. users populate spreadsheet) •  find bugs in parts we wouldn’t have tested? –  indirect result of automation –  direct result of running more tests 8 info@dorothygraham.co.uk © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 7. Contents •  •  •  •  •  Automation should find lots of bugs Automation comes out of a box (or download) Let’s automate all of our manual tests ROI is essential for automation Testing tools are testers’ tools Twitter: @DorothyGraham 9 Good idea? Automation comes out of the box (or download) •  Seems very sensible –  automation gives great benefit, success stories –  spending a lot on the tool must guarantee great benefits –  all we need to do is “get the right tool” •  Problems –  technical issue: what testware architecture is right for your organisation? (hint: not the tool’s) –  management issues: staffing, support, resources 10 info@dorothygraham.co.uk © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 8. Automation should fit your organisation •  your own testware architecture is critical –  a poor architecture gives high maintenance cost Testers     write  tests  (in  DSTL)   •  most frequent cause of abandoned automation/ shelfware HL Keywords testware   architecture   –  two layers of abstraction – technical: for long life – human: for wide use –  using the tool’s architecture ties you to that tool [version] Structured Scripts Test  Execu+on  Tool   runs  scripts   11 It’s not about the tool •  no such thing as “the right tool” or “best tool” –  what’s “the best car”? commercial tools? investment in good automation good benefits high cost poor benefits low cost benefits good benefits low cost cost moderate poor benefits high cost tool cost open source tools? info@dorothygraham.co.uk budget 12 © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 9. It takes time and effort to succeed •  management support is critical –  high level managers need to understand automation capability & limitations, and have realistic expectations –  building good automation is a learning process –  “people issues” – people use the automation, people develop the automation 13 Automated tests/automated testing Automated tests Select / identify test cases to run Set-up test environment: •  create test environment •  load test data Repeat for each test case: •  set-up test pre-requisites •  execute •  compare results •  log results •  analyse test failures •  report defect(s) •  clear-up after test case Clear-up test environment: •  delete unwanted data •  save important data Summarise results Manual process info@dorothygraham.co.uk Automated testing Select / identify test cases to run Set-up test environment: •  create test environment •  load test data Repeat for each test case: •  set-up test pre-requisites •  execute •  compare results •  log results •  clear-up after test case Clear-up test environment: •  delete unwanted data •  save important data Summarise results Analyse test failures Report defects Automated process 14 © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 10. Contents •  •  •  •  •  Automation should find lots of bugs Automation comes out of a box (or download) Let’s automate all of our manual tests ROI is essential for automation Testing tools are testers’ tools Twitter: @DorothyGraham 15 Good idea? Let’s automate all of our tests •  Seems very sensible –  we already have lots of tests being done manually –  automation would be much quicker –  we can be completely automated, no need for manual tests [testers?!] •  Problems –  what tests are you automating? –  what are you missing by automating [only] existing tests? 16 info@dorothygraham.co.uk © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 11. Automate manual tests? manual tests automated tests tests not automated yet tests not worth automating tests (& verification) not possible to do manually manual tests automated (% manual) new ways of automating, e.g. exploratory test automation 17 Tools will replace testers? •  “we can reduce the number of testers once we have the tool” –  what are your testers like? •  mindless morons, or •  intelligent investigators? –  need more skills, not fewer –  automation can free testers to do more test design, exploratory testing •  and find more bugs –  tools don’t replace testers, they support them 18 info@dorothygraham.co.uk © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 12. Contents •  •  •  •  •  Automation should find lots of bugs Automation comes out of a box (or download) Let’s automate all of our manual tests ROI is essential for automation Testing tools are testers’ tools Twitter: @DorothyGraham 19 Good idea? ROI is essential for automation •  Seems very sensible –  we will be spending time and possibly lots of money on tools – need to be sure it will be worth it –  a “water-tight” business case will convince our managers to invest in automation •  Problems –  ROI is not the whole story –  people are not convinced by numbers –  calculating ROI is difficult and can be dangerous 20 info@dorothygraham.co.uk © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 13. Is this Return on Investment (ROI)? •  •  •  •  •  tests are run more often tests take less time to run it takes less human effort to run tests we can test (cover) more of the system we can run the equivalent of days / weeks of manual testing in a few minutes / hours •  faster time to market ROI = (benefit – cost) cost these are (good) benefits but are not ROI 21 How important is ROI? •  ROI can be dangerous –  may give impression that people are replaced by tools (see http://dorothygraham.blogspot.co.uk/) •  “automation is an enabler for success, not a cost reduction tool” – Yoram Mizrachi •  many achieve lasting success without measuring ROI (depends on your context) –  need to be aware of benefits (and publicize them) 22 info@dorothygraham.co.uk © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 14. An example comparative benefits chart 80 70 60 50 40 man aut 30 20 10 0 exec speed 14 x faster times run data variety tester work 5 x more often 4 x more data 12 x less effort ROI spreadsheet – email me for a copy 23 Contents •  •  •  •  •  Automation should find lots of bugs Automation comes out of a box (or download) Let’s automate all of our manual tests ROI is essential for automation Testing tools are testers’ tools Twitter: @DorothyGraham info@dorothygraham.co.uk 24 © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 15. Good idea? Testing tools are testers’ tools •  Seems very sensible –  testers do testing – testing tools help with testing –  tools will make them better testers, because they will be able to run more tests, faster •  Problems –  tools are software packages using programming languages; tester skills are different to development skills –  spending time on / with tools means less testing, not more testing (initially at least) 25 Is it the tester’s job to automate tests? –  test execution automation is software development •  needs programming skills –  not all testers want to become developers •  or would be good at it –  do automators need testing skills? •  helpful but not essential –  if testers are automators  a conflict of interest •  do you run tests or do you automate tests? •  automation is better long-term, BUT •  deadline pressure pushes you back into manual testing 26 info@dorothygraham.co.uk © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 16. Current thinking? •  “Testers, if you want to have a job, you need to learn to write code” –  so testers who don’t write code are now worthless? –  the only good tester is a developer-tester? •  I see serious consequences (and I don’t agree!) –  for every context? (user/business testers) •  fine for those who want to, in agile team, dev level –  pure testing skills are no longer valued? –  not right to force good testers out of our industry! 27 Why are these intelligent mistakes? •  Automation should find bugs? –  tests find bugs; automated tests are still tests •  Automation comes “out of the box” –  you think you buy a solution that will just work •  Automate all manual tests? –  a starting point for tests to be automated •  Automation has to achieve ROI? –  can’t expect investment with showing some return •  Testing tools are tools for testers? –  testers write and run tests; tools run tests info@dorothygraham.co.uk 28 © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 17. Why are these intelligent mistakes? •  Automation should find bugs? –  tests find bugs, automation runs tests •  Automation comes “out of the box” –  effort and time, e.g. tailor your testware architecture •  Automate all manual tests? –  not all should be, automate more than manual •  Automation has to achieve ROI? –  may be dangerous, need to show benefits •  Testing tools are tools for testers? –  different skills, not all testers should code 29 Summary •  Many ideas seem sensible at first / on the surface, but have serious problems –  automation should find lots of bugs –  automation comes out of a box (or download) –  let’s automate all of our manual tests –  ROI is essential for automation –  testing tools are testers’ tools •  Recognise these “intelligent mistakes” and avoid them 30 info@dorothygraham.co.uk © Dorothy Graham 2013 www.DorothyGraham.co.uk
  • 18. More information •  downloads www.DorothyGraham.co.uk –  articles and papers •  email info@DorothyGraham.co.uk for –  list of test execution & framework tools –  automation ROI calculator spreadsheet –  an invitation to join the new Test Automation Patterns wiki –  my random newsletter •  blog http://dorothygraham.blogspot.com –  including automation, DDP, certification •  twitter –  @DorothyGraham info@dorothygraham.co.uk with Seretta Gamba – we are looking for feedback! 31 © Dorothy Graham 2013 www.DorothyGraham.co.uk