SlideShare a Scribd company logo
Practical Test Automation
Lessons Learned
Test Automation Day 2015
Alan Richardson
CompendiumDev.co.uk
@eviltester
Expect controversy when
we automate in software
testing. Automation has
long been controversial.
@eviltester2
A Little History...
@eviltester3
1957
@eviltester4
“What we need is more automation.”
Ford Motor company VP,
Delmar S. Harder,
Coined “automation” in 1948
1948
@eviltester5
Automation is not a ‘thing’
@eviltester6
Automation is a ‘process’
(automatization)
@eviltester7
1952
@eviltester8
Automatization was hard to spell
"...the author found automatization both
awkward and - from the standpoint of his
weak spelling - hazardous ... it was the ease
of spelling that finally overcame the author's
reticence to coin a new word"
John Diebold,
“Automation”, 1952
@eviltester9
The word “Automation” is...
Norbert Wiener
“hideous”
Sir Anthony Eden
“barbarous”
@eviltester10
“Science”, May 6th, 1960
@eviltester11
“Science”, May 6th, 1960
'automatization',
'automata', 'strategy',
'machine', 'automatic',
'automated',
'programming'
@eviltester12
Watch your language
@eviltester13
“Testers don’t need to learn
to program to create
automation”
Controversy. Argument. Conflict.
Leads
To
@eviltester14
“Testers don’t need to
learn to program, to
program automata”
You do need to learn to program to program
Leads
To
@eviltester15
“Testers don’t need to learn
to program, to define test
data” (etc.)
A clear strategy for automating against
Leads
To
@eviltester16
Automating requires a
change to your test
process.
Describe your process
with the correct words.
@eviltester17
When we tagged ‘automation’ on
● No time to automate
● Less ‘testing’ done
● No Maintenance of automata
● ‘automation’ justified by ROI
● ‘automation’ didn’t fit the metrics and tools
@eviltester18
Natural to tag it on when...
● Requirements (xref to)
● Test Cases (lead to)
● Test Scripts (automated by)
● Automation
@eviltester19
“Automate all
the test scripts”
“But we don’t
have any test
scripts”
20
1964
@eviltester21
"...automation makes it
possible to do many
things that could not be
done without it..." John Diebold,
Beyond Automation,
1964, pg 191
@eviltester22
How to start automating?
@eviltester23
Start by figuring out
‘Why?’, then ‘Doing’
and ‘Learning’
@eviltester24
1956
@eviltester25
How to start automating?
A structured approach for vendor
procurement?
@eviltester26
How not to start automating?
A structured approach for vendor
procurement
@eviltester27
How not to start automating?
● Identify a set of tools
● Create objective feature assessment lists
● Add weightings to each objective
● Create RFx for tool vendors
● Await RFx Replies
● Review replies
● Choose Tool
● Evaluate and figure out how to use the tool@eviltester28
“Many managements genuinely
seem to be looking at this subject as
if they were walking around the edge
of an ice cold swimming pool...”
John Diebold,
Beyond Automation,
1964, pg 66
@eviltester29
“...They realize that sooner or later
they are going to have to jump in,
but they try to postpone the leap
with as much rationalization and
fact-gathering as possible”
John Diebold,
Beyond Automation,
1964, pg 66
@eviltester30
Evaluate everything
for a long time and
end up with nothing
@eviltester31
Evaluate everything
for a long time and
end up with nothing
@eviltester32
How to start automating
● Why?
○ Because?
■ How?
● Experiment
@eviltester33
Avoid the Danger of
Ratholes. Understand
your objectives
@eviltester34
As a:
● Tester:
○ identify the areas to improve
● Manager:
○ prioritise and approve,
○ have a vision,
○ check in frequently
● Automator:
○ build small, solve fast, try multiple approaches
@eviltester35
My First Automation...
@eviltester36
Ignore the Tools & Demos
● SSADM Test Tool
● Generic Test Case Management Tool
● Test Case Xrefer
● Metrics Collator
● Test Data Generator * 2
● Keyword driven terminal emu automator
● Demos to ‘sell’ automation to clients
@eviltester37
My First Automation was
tools and frameworks
@eviltester38
My First Automation was
tools and frameworks
@eviltester39
My first ‘good’ automation
Automate the generation of ‘Scripts’ from
‘Paths’ to support interactive testing
@eviltester40
Do start by solving
problems
@eviltester41
Don’t start by building
tools or frameworks
@eviltester42
Refactor to Flexible
Abstraction Layers
@eviltester43
Automate the easy stuff first
● start small
● the better you get, the easier things
become, so start simple
● 80/20 : automate the 20%, gain 80%
value
@eviltester44
Do start with proof of
concepts
@eviltester45
Can we automate this system?
● can you execute some basic paths?
● check results where?
● individual control mechanisms?
● synchronisation methods?
46
Automate that which
can be automated.
Prioritize by value and
ease.
@eviltester47
How do you manage
that which you do not
know how to do?
@eviltester48
@eviltester
1860
1947
49
“He must, as in the past, be so
complete a master of the technical
aspects of his profession that his
subordinates will recognise his
mastery, and be prepared to learn
from him.”
The Art of Leadership,
Captain S.W. Roskill,
1964, pg 30
“The capability of a superintendent
is eminently conspicuous in the
selection of his attendants…”
The Philosophy of Insanity,
1860
51
Lessons learned in recruitment
● Phone screen
○ cv, experience & philosophy
○ portfolio
● Face to face
○ pairing
○ review, fix, create, speculate
Technical
Knowledge
Required
@eviltester52
“Automation has turned out to
be a much more complex and
difficult problem than was
originally thought.”
John Diebold,
Beyond Automation,
1964, pg 51
53
Lessons Learned: Do Stuff
● Automation is not a thing, it is a process
● Watch your language
● Solve problems quickly and maximize value
● Build abstractions, not tools and frameworks
● Experiment small and fast
● Hire well, based on a portfolio and demo
@eviltester54
Blogs and Websites
● CompendiumDev.co.uk
● SeleniumSimplified.com
● EvilTester.com
● JavaForTesters.com
● Twitter: @eviltester
Online Training
● Technical Web Testing 101
○ Unow.be/at/techwebtest101
● Selenium 2 WebDriver API
○ Unow.be/at/webdriverapi
Books
Selenium Simplified
Unow.be/rc/selsimp
Java For Testers
leanpub.com/javaForTesters
Alan Richardson
uk.linkedin.com/in/eviltester
http://compendiumdev.co.uk/contact

More Related Content

What's hot (20)

PDF
Push Functional Testing Further
Alan Richardson
 
PDF
Automating Pragmatically - Testival 20190604
Alan Richardson
 
PDF
Add More Security To Your Testing and Automating - Saucecon 2021
Alan Richardson
 
PDF
Technical and Testing Challenges: Using the "Protect The Square" Game
Alan Richardson
 
PPTX
Risk Mitigation Using Exploratory and Technical Testing - QASymphony Webinar ...
Alan Richardson
 
PDF
Devfest 2019-slides
Alan Richardson
 
ODP
How to Improve Your Technical Test Ability - AADays 2015 Keynote
Alan Richardson
 
PDF
If you want to automate, you learn to code
Alan Richardson
 
PDF
Technical Testing Webinar
Alan Richardson
 
PDF
TestIstanbul May 2013 Keynote Experiences With Exploratory Testing
Alan Richardson
 
PDF
Automating to Augment Testing
Alan Richardson
 
PDF
Black Ops Testing Workshop from Agile Testing Days 2014
Alan Richardson
 
PDF
Adversarial Simulation Nickerson/Gates Wild West Hacking Fest Oct 2017
Chris Gates
 
PDF
Building a Successful Internal Adversarial Simulation Team - Chris Gates & Ch...
Chris Gates
 
PDF
Technology Based Testing
Alan Richardson
 
PDF
Going Purple : From full time breaker to part time fixer: 1 year later
Chris Gates
 
PPSX
Hacker's Practice Ground - CarolinaCon - 2015
lokeshpidawekar
 
PPTX
Automation vs. intelligence - "follow me if you want to live"
Viktor Slavchev
 
PDF
Laurent Bossavit - Skeptical Self-Defense for the Serious Tester - EuroSTAR 2013
TEST Huddle
 
PPTX
Safety Bot Guaranteed -- Shmoocon 2017
Richard Seymour
 
Push Functional Testing Further
Alan Richardson
 
Automating Pragmatically - Testival 20190604
Alan Richardson
 
Add More Security To Your Testing and Automating - Saucecon 2021
Alan Richardson
 
Technical and Testing Challenges: Using the "Protect The Square" Game
Alan Richardson
 
Risk Mitigation Using Exploratory and Technical Testing - QASymphony Webinar ...
Alan Richardson
 
Devfest 2019-slides
Alan Richardson
 
How to Improve Your Technical Test Ability - AADays 2015 Keynote
Alan Richardson
 
If you want to automate, you learn to code
Alan Richardson
 
Technical Testing Webinar
Alan Richardson
 
TestIstanbul May 2013 Keynote Experiences With Exploratory Testing
Alan Richardson
 
Automating to Augment Testing
Alan Richardson
 
Black Ops Testing Workshop from Agile Testing Days 2014
Alan Richardson
 
Adversarial Simulation Nickerson/Gates Wild West Hacking Fest Oct 2017
Chris Gates
 
Building a Successful Internal Adversarial Simulation Team - Chris Gates & Ch...
Chris Gates
 
Technology Based Testing
Alan Richardson
 
Going Purple : From full time breaker to part time fixer: 1 year later
Chris Gates
 
Hacker's Practice Ground - CarolinaCon - 2015
lokeshpidawekar
 
Automation vs. intelligence - "follow me if you want to live"
Viktor Slavchev
 
Laurent Bossavit - Skeptical Self-Defense for the Serious Tester - EuroSTAR 2013
TEST Huddle
 
Safety Bot Guaranteed -- Shmoocon 2017
Richard Seymour
 

Viewers also liked (17)

PDF
Lessons Learned When Automating
Alan Richardson
 
PPTX
How to Add Test Automation to your Quality Assurance Toolbelt
Brett Tramposh
 
PDF
Abstraction Layers Test Management Summit Faciliated Session 2014
Alan Richardson
 
PDF
Lessons learned with Bdd: a tutorial
Alan Richardson
 
PDF
Automation Abstraction Layers: Page Objects and Beyond
Alan Richardson
 
PDF
Hands on Exploration of Page Objects and Abstraction Layers with Selenium Web...
Alan Richardson
 
PDF
Technical Mobile Testing - Risks, Issues and Experiences (EuroSTAR Mobile Dee...
Alan Richardson
 
PDF
Checklist How to Install Firefox GeckoDriver and Chromedriver on Windows and ...
Alan Richardson
 
PDF
Upgrading to Selenium WebDriver version 3
Alan Richardson
 
PDF
Joint slides Isabel Evans Alan Richardson Feb UKStar 2017
Alan Richardson
 
PDF
Test Automation Framework Design | www.idexcel.com
Idexcel Technologies
 
PDF
Agile Testing Framework - The Art of Automated Testing
Dimitri Ponomareff
 
PDF
Introduction to Test Automation - Technology and Tools
KMS Technology
 
PDF
Introduction to Test Automation
Pekka Klärck
 
PPT
Test Automation Strategies For Agile
Naresh Jain
 
PPTX
Slideshare.Com Powerpoint
guested929b
 
PDF
How to Become a Thought Leader in Your Niche
Leslie Samuel
 
Lessons Learned When Automating
Alan Richardson
 
How to Add Test Automation to your Quality Assurance Toolbelt
Brett Tramposh
 
Abstraction Layers Test Management Summit Faciliated Session 2014
Alan Richardson
 
Lessons learned with Bdd: a tutorial
Alan Richardson
 
Automation Abstraction Layers: Page Objects and Beyond
Alan Richardson
 
Hands on Exploration of Page Objects and Abstraction Layers with Selenium Web...
Alan Richardson
 
Technical Mobile Testing - Risks, Issues and Experiences (EuroSTAR Mobile Dee...
Alan Richardson
 
Checklist How to Install Firefox GeckoDriver and Chromedriver on Windows and ...
Alan Richardson
 
Upgrading to Selenium WebDriver version 3
Alan Richardson
 
Joint slides Isabel Evans Alan Richardson Feb UKStar 2017
Alan Richardson
 
Test Automation Framework Design | www.idexcel.com
Idexcel Technologies
 
Agile Testing Framework - The Art of Automated Testing
Dimitri Ponomareff
 
Introduction to Test Automation - Technology and Tools
KMS Technology
 
Introduction to Test Automation
Pekka Klärck
 
Test Automation Strategies For Agile
Naresh Jain
 
Slideshare.Com Powerpoint
guested929b
 
How to Become a Thought Leader in Your Niche
Leslie Samuel
 
Ad

Similar to Test Automation Day 2015 Keynote Alan Richardson - Practical Lessons Learned in Test Automation (20)

PPTX
W1_Lec01_Lec02_Introduction.pptx
Javaid Iqbal
 
PDF
TestWorks Conf Real world automation survival - Alan Richardson
Xebia Nederland BV
 
PDF
When and how to explore: an engineer's guide
Julie Pitt
 
PPTX
introduction.pptx
securework
 
PDF
Why your java script framework choice doesn't matter!
Maciej Adamczak
 
PPTX
Emerging practices 2019 week 2
R. Sosa
 
PPTX
introductioartificial intelligencen.pptx
Iftikhar70
 
PPTX
introduction technology technology tec.pptx
Iftikhar70
 
PPTX
Introduction to Artificial Intelligence 01_intro.pptx
SuryaBasnet3
 
PPTX
1- Introduction to A I and systems pptx
AyaHassan325573
 
PDF
Effective Software Testing for Modern Software Development
Alan Richardson
 
PDF
Gerrit Coetzee “Thou Shalt Write Things Down. And Other Rules for Managing Pr...
Lviv Startup Club
 
PDF
Future of AI-powered automation in business
Louis Dorard
 
PPTX
Designing AI for Humanity at dmi:Design Leadership Conference in Boston
Carol Smith
 
PDF
Introduction to AI
Sathittham Sangthong
 
PPT
Easily apply Quality Assurance and Testing in the ML Project
NexSoftsys
 
PPTX
Module 1_Artificial Intelligence_1234.pptx
jakejain2003
 
PPT
Unit I Introduction to AI K.Sundar,AP/CSE,VEC
sundarKanagaraj1
 
PDF
Let's do some thinking about data visualisation thinking
Andy Kirk
 
PDF
AI in Manufacturing: Opportunities & Challenges
Dr. Tathagat Varma
 
W1_Lec01_Lec02_Introduction.pptx
Javaid Iqbal
 
TestWorks Conf Real world automation survival - Alan Richardson
Xebia Nederland BV
 
When and how to explore: an engineer's guide
Julie Pitt
 
introduction.pptx
securework
 
Why your java script framework choice doesn't matter!
Maciej Adamczak
 
Emerging practices 2019 week 2
R. Sosa
 
introductioartificial intelligencen.pptx
Iftikhar70
 
introduction technology technology tec.pptx
Iftikhar70
 
Introduction to Artificial Intelligence 01_intro.pptx
SuryaBasnet3
 
1- Introduction to A I and systems pptx
AyaHassan325573
 
Effective Software Testing for Modern Software Development
Alan Richardson
 
Gerrit Coetzee “Thou Shalt Write Things Down. And Other Rules for Managing Pr...
Lviv Startup Club
 
Future of AI-powered automation in business
Louis Dorard
 
Designing AI for Humanity at dmi:Design Leadership Conference in Boston
Carol Smith
 
Introduction to AI
Sathittham Sangthong
 
Easily apply Quality Assurance and Testing in the ML Project
NexSoftsys
 
Module 1_Artificial Intelligence_1234.pptx
jakejain2003
 
Unit I Introduction to AI K.Sundar,AP/CSE,VEC
sundarKanagaraj1
 
Let's do some thinking about data visualisation thinking
Andy Kirk
 
AI in Manufacturing: Opportunities & Challenges
Dr. Tathagat Varma
 
Ad

More from Alan Richardson (17)

PDF
Open source tools - Test Management Summit - 2009
Alan Richardson
 
PDF
Automating Tactically vs Strategically SauceCon 2020
Alan Richardson
 
PDF
Programming katas for Software Testers - CounterStrings
Alan Richardson
 
PDF
About Consultant Alan Richardson Compendium Developments Evil Tester
Alan Richardson
 
PDF
Shift left-testing
Alan Richardson
 
PDF
Automating and Testing a REST API
Alan Richardson
 
PDF
TDD - Test Driven Development - Java JUnit FizzBuzz
Alan Richardson
 
PDF
What is Testability vs Automatability? How to improve your Software Testing.
Alan Richardson
 
PDF
What is Agile Testing? A MindMap
Alan Richardson
 
PDF
Evil Tester's Guide to Agile Testing
Alan Richardson
 
PDF
The Evil Tester Show - Episode 001 Halloween 2017
Alan Richardson
 
PDF
What is Regression Testing?
Alan Richardson
 
PDF
Simple ways to add and work with a `.jar` file in your local maven setup
Alan Richardson
 
PDF
Re-thinking Test Automation and Test Process Modelling (in pictures)
Alan Richardson
 
PDF
Automating Strategically or Tactically when Testing
Alan Richardson
 
PDF
Learning in Public - A How to Speak in Public Workshop
Alan Richardson
 
PDF
How to Practise to Remove Fear of Public Speaking
Alan Richardson
 
Open source tools - Test Management Summit - 2009
Alan Richardson
 
Automating Tactically vs Strategically SauceCon 2020
Alan Richardson
 
Programming katas for Software Testers - CounterStrings
Alan Richardson
 
About Consultant Alan Richardson Compendium Developments Evil Tester
Alan Richardson
 
Shift left-testing
Alan Richardson
 
Automating and Testing a REST API
Alan Richardson
 
TDD - Test Driven Development - Java JUnit FizzBuzz
Alan Richardson
 
What is Testability vs Automatability? How to improve your Software Testing.
Alan Richardson
 
What is Agile Testing? A MindMap
Alan Richardson
 
Evil Tester's Guide to Agile Testing
Alan Richardson
 
The Evil Tester Show - Episode 001 Halloween 2017
Alan Richardson
 
What is Regression Testing?
Alan Richardson
 
Simple ways to add and work with a `.jar` file in your local maven setup
Alan Richardson
 
Re-thinking Test Automation and Test Process Modelling (in pictures)
Alan Richardson
 
Automating Strategically or Tactically when Testing
Alan Richardson
 
Learning in Public - A How to Speak in Public Workshop
Alan Richardson
 
How to Practise to Remove Fear of Public Speaking
Alan Richardson
 

Recently uploaded (20)

PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PPTX
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PPTX
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 

Test Automation Day 2015 Keynote Alan Richardson - Practical Lessons Learned in Test Automation

  • 1. Practical Test Automation Lessons Learned Test Automation Day 2015 Alan Richardson CompendiumDev.co.uk @eviltester
  • 2. Expect controversy when we automate in software testing. Automation has long been controversial. @eviltester2
  • 5. “What we need is more automation.” Ford Motor company VP, Delmar S. Harder, Coined “automation” in 1948 1948 @eviltester5
  • 6. Automation is not a ‘thing’ @eviltester6
  • 7. Automation is a ‘process’ (automatization) @eviltester7
  • 9. Automatization was hard to spell "...the author found automatization both awkward and - from the standpoint of his weak spelling - hazardous ... it was the ease of spelling that finally overcame the author's reticence to coin a new word" John Diebold, “Automation”, 1952 @eviltester9
  • 10. The word “Automation” is... Norbert Wiener “hideous” Sir Anthony Eden “barbarous” @eviltester10
  • 11. “Science”, May 6th, 1960 @eviltester11
  • 12. “Science”, May 6th, 1960 'automatization', 'automata', 'strategy', 'machine', 'automatic', 'automated', 'programming' @eviltester12
  • 14. “Testers don’t need to learn to program to create automation” Controversy. Argument. Conflict. Leads To @eviltester14
  • 15. “Testers don’t need to learn to program, to program automata” You do need to learn to program to program Leads To @eviltester15
  • 16. “Testers don’t need to learn to program, to define test data” (etc.) A clear strategy for automating against Leads To @eviltester16
  • 17. Automating requires a change to your test process. Describe your process with the correct words. @eviltester17
  • 18. When we tagged ‘automation’ on ● No time to automate ● Less ‘testing’ done ● No Maintenance of automata ● ‘automation’ justified by ROI ● ‘automation’ didn’t fit the metrics and tools @eviltester18
  • 19. Natural to tag it on when... ● Requirements (xref to) ● Test Cases (lead to) ● Test Scripts (automated by) ● Automation @eviltester19
  • 20. “Automate all the test scripts” “But we don’t have any test scripts” 20
  • 22. "...automation makes it possible to do many things that could not be done without it..." John Diebold, Beyond Automation, 1964, pg 191 @eviltester22
  • 23. How to start automating? @eviltester23
  • 24. Start by figuring out ‘Why?’, then ‘Doing’ and ‘Learning’ @eviltester24
  • 26. How to start automating? A structured approach for vendor procurement? @eviltester26
  • 27. How not to start automating? A structured approach for vendor procurement @eviltester27
  • 28. How not to start automating? ● Identify a set of tools ● Create objective feature assessment lists ● Add weightings to each objective ● Create RFx for tool vendors ● Await RFx Replies ● Review replies ● Choose Tool ● Evaluate and figure out how to use the tool@eviltester28
  • 29. “Many managements genuinely seem to be looking at this subject as if they were walking around the edge of an ice cold swimming pool...” John Diebold, Beyond Automation, 1964, pg 66 @eviltester29
  • 30. “...They realize that sooner or later they are going to have to jump in, but they try to postpone the leap with as much rationalization and fact-gathering as possible” John Diebold, Beyond Automation, 1964, pg 66 @eviltester30
  • 31. Evaluate everything for a long time and end up with nothing @eviltester31
  • 32. Evaluate everything for a long time and end up with nothing @eviltester32
  • 33. How to start automating ● Why? ○ Because? ■ How? ● Experiment @eviltester33
  • 34. Avoid the Danger of Ratholes. Understand your objectives @eviltester34
  • 35. As a: ● Tester: ○ identify the areas to improve ● Manager: ○ prioritise and approve, ○ have a vision, ○ check in frequently ● Automator: ○ build small, solve fast, try multiple approaches @eviltester35
  • 37. Ignore the Tools & Demos ● SSADM Test Tool ● Generic Test Case Management Tool ● Test Case Xrefer ● Metrics Collator ● Test Data Generator * 2 ● Keyword driven terminal emu automator ● Demos to ‘sell’ automation to clients @eviltester37
  • 38. My First Automation was tools and frameworks @eviltester38
  • 39. My First Automation was tools and frameworks @eviltester39
  • 40. My first ‘good’ automation Automate the generation of ‘Scripts’ from ‘Paths’ to support interactive testing @eviltester40
  • 41. Do start by solving problems @eviltester41
  • 42. Don’t start by building tools or frameworks @eviltester42
  • 43. Refactor to Flexible Abstraction Layers @eviltester43
  • 44. Automate the easy stuff first ● start small ● the better you get, the easier things become, so start simple ● 80/20 : automate the 20%, gain 80% value @eviltester44
  • 45. Do start with proof of concepts @eviltester45
  • 46. Can we automate this system? ● can you execute some basic paths? ● check results where? ● individual control mechanisms? ● synchronisation methods? 46
  • 47. Automate that which can be automated. Prioritize by value and ease. @eviltester47
  • 48. How do you manage that which you do not know how to do? @eviltester48
  • 50. “He must, as in the past, be so complete a master of the technical aspects of his profession that his subordinates will recognise his mastery, and be prepared to learn from him.” The Art of Leadership, Captain S.W. Roskill, 1964, pg 30
  • 51. “The capability of a superintendent is eminently conspicuous in the selection of his attendants…” The Philosophy of Insanity, 1860 51
  • 52. Lessons learned in recruitment ● Phone screen ○ cv, experience & philosophy ○ portfolio ● Face to face ○ pairing ○ review, fix, create, speculate Technical Knowledge Required @eviltester52
  • 53. “Automation has turned out to be a much more complex and difficult problem than was originally thought.” John Diebold, Beyond Automation, 1964, pg 51 53
  • 54. Lessons Learned: Do Stuff ● Automation is not a thing, it is a process ● Watch your language ● Solve problems quickly and maximize value ● Build abstractions, not tools and frameworks ● Experiment small and fast ● Hire well, based on a portfolio and demo @eviltester54
  • 55. Blogs and Websites ● CompendiumDev.co.uk ● SeleniumSimplified.com ● EvilTester.com ● JavaForTesters.com ● Twitter: @eviltester Online Training ● Technical Web Testing 101 ○ Unow.be/at/techwebtest101 ● Selenium 2 WebDriver API ○ Unow.be/at/webdriverapi Books Selenium Simplified Unow.be/rc/selsimp Java For Testers leanpub.com/javaForTesters Alan Richardson uk.linkedin.com/in/eviltester http://compendiumdev.co.uk/contact