SlideShare uma empresa Scribd logo
1 de 14
The Four Generations of Test Automation
April 2013
By Renard Vardy
TekLink International Pty Ltd
renard.vardy@teklinkinternational.com
TekLink International Slide #2
The Goal
1. Improve Software quality
2. Early detection of bugs (Defects)
3. Reduce (not introduce) project risk
4. Easy to write and maintain by BA, Testing
and technical resources
5. Reduced cost and time of development
TekLink International Slide #3
Contents
Record and
playback
Data
Driven
Key Word
Driven
Behaviour
Driven
Function
Driven
1st Gen 2nd Gen 3rd Gen 4th Gen
TekLink International Slide #4
Gen 1 – Record and Playback
• The easiest framework to implement
• The framework pushed by tool vendors
• The framework I use to teach students how to
use a test automation tool
Record
Test Case
Play Back
Test Case
TekLink International Slide #5
How Record and Playback stacks up!
1. Limited improvement of software quality
2. Bugs (Defects) detected during testing
SDLC Phase
3. Added risk of script re-factoring
4. Very easy to create scripts – but time
consuming for maintaining scripts
5. This approach will increase the time and
cost of developing an enterprise solution
TekLink International Slide #6
Gen 2 – Data Driven
• Used when there is a high reliance on data
with a low number of scripts
• Often used in performance testing or test
data creation/seeding
Record
Test Case
Externalise
Data inputs
Playback
TekLink International Slide #7
How Data Driven stacks up!
1. Improved quality for repetitive testing
2. Bugs (Defects) detected during testing SDLC
phase
3. Reduced risk by greater test coverage in low
path systems
4. Easy to create scripts maintain small set of test
cases
5. Can result in reduced testing cost and duration
TekLink International Slide #8
Gen 3 – Key Word Driven
• Also Called Table Driven testing
• Screens are broken into objects, actions and data
• This is a test team centric approach to test
automation
TekLink International Slide #9
How Keyword Driven Stacks Up!
1. Can improve software quality
2. If used in unit testing – can result in earlier
detection of defects
3. If implemented correctly – will reduce project risk
4. Easy to maintain – however requires an
understanding of coding to maintain
5. If implemented at the development phase of the
project – this approach can reduce over cost
and time of the project
TekLink International Slide #10
Gen 3 – Function Driven
• Often called Modular or process driven testing
• Separate each screen into a set of functions
• Test cases become a set of high level functions
• Page objects are a good example of Functional
Driven
Login
Select
Category Select Item Add to cart
TekLink International Slide #11
How Function Driven Stacks Up!
1. Can improve software quality
2. If used in unit testing – can result in earlier
detection of defects
3. If implemented correctly – will reduce project risk
4. Easy to maintain – however requires an
understanding of coding to maintain
5. If implemented at the development phase of the
project – this approach can reduce over cost
and time of the project
TekLink International Slide #12
Gen 4 – Behaviour Driven
Write
acceptance
criteria
Develop
code
Automate
tests
(acceptance
criteria)
Run test
Check in
code only
after all test
passed
• Better known as BDD
(Behaviour Driven Development)
• Encompasses the entire team to drive
continuous automation, quality and
customer value
• Is part of the agile development process
TekLink International Slide #13
Acceptance Language
• User Stories are given acceptance criteria (written by
Business Analysts, Test Engineers and Developers)
– Given (Pre Condition)
– When (Test Action)
– Then (Test Result)
Scenario 1: Account in Credit
Given the account is in credit
And the card is valid
And the dispenser contains cash
When the customer requests cash
Then account is debited
And card is returned
And cash is dispensed
TekLink International Slide #14
How Behaviour Driven Stacks Up!
1. Software is continuously tested
2. Defects are detected at during analysis,
development and testing phase
3. If implemented correctly – will reduce project risk
4. Easy to maintain and organise (Maintained at
two levels – Technical and non-technical)
5. If implemented correctly – this framework will
reduce the over all cost of the project

Mais conteúdo relacionado

Mais procurados

Component design and implementation tools
Component design and implementation toolsComponent design and implementation tools
Component design and implementation toolsKalai Vani V
 
Learning Management System-SRS Modified(Semi-Final)
Learning Management System-SRS Modified(Semi-Final)Learning Management System-SRS Modified(Semi-Final)
Learning Management System-SRS Modified(Semi-Final)Sharon Varghese
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycleGaruda Trainings
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assuranceAman Adhikari
 
lake city institute of technology
lake city institute of technology lake city institute of technology
lake city institute of technology RaviKalola786
 
Water Torture: A Slow Drip DNS DDoS Attack on QTNet by Kei Nishida [APRICOT 2...
Water Torture: A Slow Drip DNS DDoS Attack on QTNet by Kei Nishida [APRICOT 2...Water Torture: A Slow Drip DNS DDoS Attack on QTNet by Kei Nishida [APRICOT 2...
Water Torture: A Slow Drip DNS DDoS Attack on QTNet by Kei Nishida [APRICOT 2...APNIC
 
Project report on online examination system
Project report on online examination systemProject report on online examination system
Project report on online examination systemMo Irshad Ansari
 
Estimating Software Maintenance Costs
Estimating Software Maintenance CostsEstimating Software Maintenance Costs
Estimating Software Maintenance Costslalithambiga kamaraj
 
SRS for online examination system
SRS for online examination systemSRS for online examination system
SRS for online examination systemlunarrain
 
Performance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance TestingPerformance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance TestingKostCare
 
When down is not good enough. SRE On Azure - PolarConf
When down is not good enough. SRE On Azure - PolarConfWhen down is not good enough. SRE On Azure - PolarConf
When down is not good enough. SRE On Azure - PolarConfRene Van Osnabrugge
 
Acceptance testing
Acceptance testingAcceptance testing
Acceptance testingCOEPD HR
 
Virtual machines and their architecture
Virtual machines and their architectureVirtual machines and their architecture
Virtual machines and their architectureMrinmoy Dalal
 
Sample test-plan-template
Sample test-plan-templateSample test-plan-template
Sample test-plan-templateamikdamaru
 

Mais procurados (20)

Component design and implementation tools
Component design and implementation toolsComponent design and implementation tools
Component design and implementation tools
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Learning Management System-SRS Modified(Semi-Final)
Learning Management System-SRS Modified(Semi-Final)Learning Management System-SRS Modified(Semi-Final)
Learning Management System-SRS Modified(Semi-Final)
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
lake city institute of technology
lake city institute of technology lake city institute of technology
lake city institute of technology
 
Water Torture: A Slow Drip DNS DDoS Attack on QTNet by Kei Nishida [APRICOT 2...
Water Torture: A Slow Drip DNS DDoS Attack on QTNet by Kei Nishida [APRICOT 2...Water Torture: A Slow Drip DNS DDoS Attack on QTNet by Kei Nishida [APRICOT 2...
Water Torture: A Slow Drip DNS DDoS Attack on QTNet by Kei Nishida [APRICOT 2...
 
Project report on online examination system
Project report on online examination systemProject report on online examination system
Project report on online examination system
 
Mcse 2012
Mcse 2012Mcse 2012
Mcse 2012
 
Amazon search test case document
Amazon search test case documentAmazon search test case document
Amazon search test case document
 
Estimating Software Maintenance Costs
Estimating Software Maintenance CostsEstimating Software Maintenance Costs
Estimating Software Maintenance Costs
 
SRS for online examination system
SRS for online examination systemSRS for online examination system
SRS for online examination system
 
Online quiz system
Online quiz systemOnline quiz system
Online quiz system
 
Performance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance TestingPerformance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance Testing
 
Unified Process
Unified Process Unified Process
Unified Process
 
When down is not good enough. SRE On Azure - PolarConf
When down is not good enough. SRE On Azure - PolarConfWhen down is not good enough. SRE On Azure - PolarConf
When down is not good enough. SRE On Azure - PolarConf
 
Acceptance testing
Acceptance testingAcceptance testing
Acceptance testing
 
Virtual machines and their architecture
Virtual machines and their architectureVirtual machines and their architecture
Virtual machines and their architecture
 
Sample test-plan-template
Sample test-plan-templateSample test-plan-template
Sample test-plan-template
 
Fitness App ppt
Fitness App pptFitness App ppt
Fitness App ppt
 

Semelhante a The four generations of test automation

Load and Performance tests in agile scrum framework SGI 2013
Load and Performance tests in agile scrum framework SGI 2013Load and Performance tests in agile scrum framework SGI 2013
Load and Performance tests in agile scrum framework SGI 2013Subrahmaniam S.R.V
 
Beating the product credit crunch
Beating the product credit crunchBeating the product credit crunch
Beating the product credit crunchStephen Williams
 
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learnedSwiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learnedMichael Palotas
 
Sgin2013 scrumfromthe trenches-loadandperformancetestsinagilescrumframework-s...
Sgin2013 scrumfromthe trenches-loadandperformancetestsinagilescrumframework-s...Sgin2013 scrumfromthe trenches-loadandperformancetestsinagilescrumframework-s...
Sgin2013 scrumfromthe trenches-loadandperformancetestsinagilescrumframework-s...India Scrum Enthusiasts Community
 
Developer + tester = quality++
Developer + tester = quality++Developer + tester = quality++
Developer + tester = quality++Mikalai Alimenkou
 
Product quality in agile project
Product quality in agile projectProduct quality in agile project
Product quality in agile projectNhan Nguyen
 
Se 381 - lec 28 -- 34 - 12 jun12 - testing 1 of 2
Se 381 -  lec 28 -- 34 - 12 jun12 - testing 1 of 2Se 381 -  lec 28 -- 34 - 12 jun12 - testing 1 of 2
Se 381 - lec 28 -- 34 - 12 jun12 - testing 1 of 2babak danyal
 
Test-Driven-Development.pptx
Test-Driven-Development.pptxTest-Driven-Development.pptx
Test-Driven-Development.pptxdheeraj438799
 
"X" Driven-Development Methodologies
"X" Driven-Development Methodologies"X" Driven-Development Methodologies
"X" Driven-Development MethodologiesDamian T. Gordon
 
Code campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCode campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCodecamp Romania
 
Innovations and adaptations in agile testing
Innovations and adaptations in agile testingInnovations and adaptations in agile testing
Innovations and adaptations in agile testingSubrahmaniam S.R.V
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.pptghkadous
 
Estimating test effort part 1 of 2
Estimating test effort part 1 of 2Estimating test effort part 1 of 2
Estimating test effort part 1 of 2Ian McDonald
 
Acceptance Test Driven Development
Acceptance Test Driven DevelopmentAcceptance Test Driven Development
Acceptance Test Driven DevelopmentMike Douglas
 
System Development Life Cycle Overview.ppt
System Development Life Cycle Overview.pptSystem Development Life Cycle Overview.ppt
System Development Life Cycle Overview.pptKENNEDYDONATO1
 
201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)Javier Gonzalez-Sanchez
 

Semelhante a The four generations of test automation (20)

Load and Performance tests in agile scrum framework SGI 2013
Load and Performance tests in agile scrum framework SGI 2013Load and Performance tests in agile scrum framework SGI 2013
Load and Performance tests in agile scrum framework SGI 2013
 
Beating the product credit crunch
Beating the product credit crunchBeating the product credit crunch
Beating the product credit crunch
 
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learnedSwiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned
 
Sgin2013 scrumfromthe trenches-loadandperformancetestsinagilescrumframework-s...
Sgin2013 scrumfromthe trenches-loadandperformancetestsinagilescrumframework-s...Sgin2013 scrumfromthe trenches-loadandperformancetestsinagilescrumframework-s...
Sgin2013 scrumfromthe trenches-loadandperformancetestsinagilescrumframework-s...
 
Developer + tester = quality++
Developer + tester = quality++Developer + tester = quality++
Developer + tester = quality++
 
Product quality in agile project
Product quality in agile projectProduct quality in agile project
Product quality in agile project
 
Se 381 - lec 28 -- 34 - 12 jun12 - testing 1 of 2
Se 381 -  lec 28 -- 34 - 12 jun12 - testing 1 of 2Se 381 -  lec 28 -- 34 - 12 jun12 - testing 1 of 2
Se 381 - lec 28 -- 34 - 12 jun12 - testing 1 of 2
 
Test-Driven-Development.pptx
Test-Driven-Development.pptxTest-Driven-Development.pptx
Test-Driven-Development.pptx
 
"X" Driven-Development Methodologies
"X" Driven-Development Methodologies"X" Driven-Development Methodologies
"X" Driven-Development Methodologies
 
The Waterfall Model
The Waterfall ModelThe Waterfall Model
The Waterfall Model
 
Code campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCode campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditech
 
Lect7
Lect7Lect7
Lect7
 
Lect7
Lect7Lect7
Lect7
 
Innovations and adaptations in agile testing
Innovations and adaptations in agile testingInnovations and adaptations in agile testing
Innovations and adaptations in agile testing
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
Estimating test effort part 1 of 2
Estimating test effort part 1 of 2Estimating test effort part 1 of 2
Estimating test effort part 1 of 2
 
Acceptance Test Driven Development
Acceptance Test Driven DevelopmentAcceptance Test Driven Development
Acceptance Test Driven Development
 
System Development Life Cycle Overview.ppt
System Development Life Cycle Overview.pptSystem Development Life Cycle Overview.ppt
System Development Life Cycle Overview.ppt
 
201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)
 

Último

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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Último (20)

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...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

The four generations of test automation

  • 1. The Four Generations of Test Automation April 2013 By Renard Vardy TekLink International Pty Ltd renard.vardy@teklinkinternational.com
  • 2. TekLink International Slide #2 The Goal 1. Improve Software quality 2. Early detection of bugs (Defects) 3. Reduce (not introduce) project risk 4. Easy to write and maintain by BA, Testing and technical resources 5. Reduced cost and time of development
  • 3. TekLink International Slide #3 Contents Record and playback Data Driven Key Word Driven Behaviour Driven Function Driven 1st Gen 2nd Gen 3rd Gen 4th Gen
  • 4. TekLink International Slide #4 Gen 1 – Record and Playback • The easiest framework to implement • The framework pushed by tool vendors • The framework I use to teach students how to use a test automation tool Record Test Case Play Back Test Case
  • 5. TekLink International Slide #5 How Record and Playback stacks up! 1. Limited improvement of software quality 2. Bugs (Defects) detected during testing SDLC Phase 3. Added risk of script re-factoring 4. Very easy to create scripts – but time consuming for maintaining scripts 5. This approach will increase the time and cost of developing an enterprise solution
  • 6. TekLink International Slide #6 Gen 2 – Data Driven • Used when there is a high reliance on data with a low number of scripts • Often used in performance testing or test data creation/seeding Record Test Case Externalise Data inputs Playback
  • 7. TekLink International Slide #7 How Data Driven stacks up! 1. Improved quality for repetitive testing 2. Bugs (Defects) detected during testing SDLC phase 3. Reduced risk by greater test coverage in low path systems 4. Easy to create scripts maintain small set of test cases 5. Can result in reduced testing cost and duration
  • 8. TekLink International Slide #8 Gen 3 – Key Word Driven • Also Called Table Driven testing • Screens are broken into objects, actions and data • This is a test team centric approach to test automation
  • 9. TekLink International Slide #9 How Keyword Driven Stacks Up! 1. Can improve software quality 2. If used in unit testing – can result in earlier detection of defects 3. If implemented correctly – will reduce project risk 4. Easy to maintain – however requires an understanding of coding to maintain 5. If implemented at the development phase of the project – this approach can reduce over cost and time of the project
  • 10. TekLink International Slide #10 Gen 3 – Function Driven • Often called Modular or process driven testing • Separate each screen into a set of functions • Test cases become a set of high level functions • Page objects are a good example of Functional Driven Login Select Category Select Item Add to cart
  • 11. TekLink International Slide #11 How Function Driven Stacks Up! 1. Can improve software quality 2. If used in unit testing – can result in earlier detection of defects 3. If implemented correctly – will reduce project risk 4. Easy to maintain – however requires an understanding of coding to maintain 5. If implemented at the development phase of the project – this approach can reduce over cost and time of the project
  • 12. TekLink International Slide #12 Gen 4 – Behaviour Driven Write acceptance criteria Develop code Automate tests (acceptance criteria) Run test Check in code only after all test passed • Better known as BDD (Behaviour Driven Development) • Encompasses the entire team to drive continuous automation, quality and customer value • Is part of the agile development process
  • 13. TekLink International Slide #13 Acceptance Language • User Stories are given acceptance criteria (written by Business Analysts, Test Engineers and Developers) – Given (Pre Condition) – When (Test Action) – Then (Test Result) Scenario 1: Account in Credit Given the account is in credit And the card is valid And the dispenser contains cash When the customer requests cash Then account is debited And card is returned And cash is dispensed
  • 14. TekLink International Slide #14 How Behaviour Driven Stacks Up! 1. Software is continuously tested 2. Defects are detected at during analysis, development and testing phase 3. If implemented correctly – will reduce project risk 4. Easy to maintain and organise (Maintained at two levels – Technical and non-technical) 5. If implemented correctly – this framework will reduce the over all cost of the project