SlideShare a Scribd company logo
1 of 18
Automated Testing

    Jeroen Claes

     KU Leuven
What?
• Test automation is the use of
  special software (separate from the
  software being tested) to control the
  execution of tests and the
  comparison of actual outcomes to
  predicted outcomes [1].
What?
• Run Automatically

• No human intervention required

• Test result report generated
Why?
• Manual testing is time and cost consuming
• Difficult to test for multi lingual sites manually
• No Human intervention required. (can be run
  overnight)
• Increases speed of test execution
• Helps increase test Coverage
• Manual Testing can become boring and
  hence error prone.
What to automate
• High Risk - Business Critical test cases
• Test cases that are executed repeatedly
• Test Cases that are very tedious or
  difficult to perform manually
• Test Cases which are time consuming
What NOT to automate
• Test Cases that are newly designed and
  not executed manually at least once
• Test Cases for which the requirements
  are changing frequently
• Test cases which are executed on ad-hoc
  basis.
Process
Test tool selection
• Select the right tool for the right job

• Selected based on best fit, not based on
  popularity

• Firstly perform proof of concept
Scope
• Important business features
• Scenarios with large amount of data
• Common functionalities across
  applications
• Technical feasibility
• Extent of reusability
• Complexity of test cases
• Ability to use cross browser testing
Planning, Design and Development
• Automation tools selected
• Framework design and its features
• In-Scope and Out-of-scope items of
  automation
• Automation test bed preparation
• Schedule and Timeline of scripting and
  execution
• Deliverables of automation testing
Test Execution
• Input data provided
• Test reports generated
• Execution directly or via test
  management tool
Maintenance
• New functionality with succesive cycles
• Scripts are added/reviewed/maintained
  for each release cycle
• Required to improve effectivenes of
  automation scripts
Automated Testing in an Agile
       devironment
Start small
• Develloped incrementally
• Tests are added with the new
  implementation in each sprint
• Dont aim for the “it-can-do-everything”
  solution at the start
• Start with a bare minimum working
  solution
Create test automation backlog
• Backlog contains all needed automation
  tasks
• Target a few items each sprint
• Use priorities for automation tasks
• Use dedicated developer time when
  needed
pitfalls
• Automation does not replaceme manual testing
• Licensed test programs can be brittle and produce lots
  of overhead
• UI testing should be reserved for testing the UI
• Collaboration required between designer and tester
• Tests must be properly maintained
• Slow, brittle or unreliable tests need to be resolved
• Return-on-investment should not be purely based on a
  reduction in labour costs
References
• [1] Kolawa, Adam; Huizinga, Dorota
  (2007). Automated Defect Prevention: Best
  Practices in Software Management. Wiley-IEEE
  Computer Society Press. p. 74.ISBN 0-470-04212-
  5
• http://www.guru99.com/automation-
  testing.html
• http://www.infoq.com/articles/thoughts-on-test-
  automation-in-agile
• http://www.agileengineeringdesign.com/2012/0
  1/7-deadly-sins-of-automated-software-testing/

More Related Content

What's hot

Test automation in agile ecosystem
Test automation in agile ecosystemTest automation in agile ecosystem
Test automation in agile ecosystemJohnRizer
 
Automated vs manual testing
Automated vs manual testingAutomated vs manual testing
Automated vs manual testingKanoah
 
How google-tests-software
How google-tests-softwareHow google-tests-software
How google-tests-softwareBhawna Tuteja
 
When is software test automation worth it?
When is software test automation worth it?When is software test automation worth it?
When is software test automation worth it?Claudia Baur
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testingASIT Education
 
Build FAST with parallel_calabash
Build FAST with parallel_calabashBuild FAST with parallel_calabash
Build FAST with parallel_calabashThoughtworks
 
Agile planning and iterations with Scrum using Team Foundation Server 2013
Agile planning and iterations with Scrum using Team Foundation Server 2013Agile planning and iterations with Scrum using Team Foundation Server 2013
Agile planning and iterations with Scrum using Team Foundation Server 2013Allan Mangune
 
Automated testing san francisco oct 2013
Automated testing san francisco oct 2013Automated testing san francisco oct 2013
Automated testing san francisco oct 2013Solano Labs
 
A Top-Down Approach to End-to-End Testing
A Top-Down Approach to End-to-End TestingA Top-Down Approach to End-to-End Testing
A Top-Down Approach to End-to-End TestingSmartBear
 
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
 
Alexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance TestingAlexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance TestingNeotys_Partner
 
StarWest2016_T24_ExploratoryAutomation_DawnJardine_Final
StarWest2016_T24_ExploratoryAutomation_DawnJardine_FinalStarWest2016_T24_ExploratoryAutomation_DawnJardine_Final
StarWest2016_T24_ExploratoryAutomation_DawnJardine_FinalDawn Jardine
 
Machine learning in software testing
Machine learning in software testingMachine learning in software testing
Machine learning in software testingThoughtworks
 

What's hot (20)

Hello
HelloHello
Hello
 
Test automation in agile ecosystem
Test automation in agile ecosystemTest automation in agile ecosystem
Test automation in agile ecosystem
 
Automated vs manual testing
Automated vs manual testingAutomated vs manual testing
Automated vs manual testing
 
How google-tests-software
How google-tests-softwareHow google-tests-software
How google-tests-software
 
When is software test automation worth it?
When is software test automation worth it?When is software test automation worth it?
When is software test automation worth it?
 
Wso2con test-automation
Wso2con test-automationWso2con test-automation
Wso2con test-automation
 
NYC MeetUp 10.9
NYC MeetUp 10.9NYC MeetUp 10.9
NYC MeetUp 10.9
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
Build FAST with parallel_calabash
Build FAST with parallel_calabashBuild FAST with parallel_calabash
Build FAST with parallel_calabash
 
Agile planning and iterations with Scrum using Team Foundation Server 2013
Agile planning and iterations with Scrum using Team Foundation Server 2013Agile planning and iterations with Scrum using Team Foundation Server 2013
Agile planning and iterations with Scrum using Team Foundation Server 2013
 
Benefits from AATs
Benefits from AATsBenefits from AATs
Benefits from AATs
 
Automated testing san francisco oct 2013
Automated testing san francisco oct 2013Automated testing san francisco oct 2013
Automated testing san francisco oct 2013
 
A Top-Down Approach to End-to-End Testing
A Top-Down Approach to End-to-End TestingA Top-Down Approach to End-to-End Testing
A Top-Down Approach to End-to-End Testing
 
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
 
Alexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance TestingAlexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance Testing
 
StarWest2016_T24_ExploratoryAutomation_DawnJardine_Final
StarWest2016_T24_ExploratoryAutomation_DawnJardine_FinalStarWest2016_T24_ExploratoryAutomation_DawnJardine_Final
StarWest2016_T24_ExploratoryAutomation_DawnJardine_Final
 
QTest
QTest QTest
QTest
 
Machine learning in software testing
Machine learning in software testingMachine learning in software testing
Machine learning in software testing
 
Testing Best Practices
Testing Best PracticesTesting Best Practices
Testing Best Practices
 
Agile engineering practices
Agile engineering practicesAgile engineering practices
Agile engineering practices
 

Viewers also liked

De Milieuproblematiek
De MilieuproblematiekDe Milieuproblematiek
De Milieuproblematiekguest7813a0
 
Babes with Babes - a Hunter TAFENSW Outreach initiative
Babes with Babes - a Hunter TAFENSW Outreach initiativeBabes with Babes - a Hunter TAFENSW Outreach initiative
Babes with Babes - a Hunter TAFENSW Outreach initiativenswtox
 
Seamosgansos
SeamosgansosSeamosgansos
SeamosgansosTICpri
 
Ubiquitous Outreach xchange
Ubiquitous Outreach xchangeUbiquitous Outreach xchange
Ubiquitous Outreach xchangenswtox
 
Mow Konkurs etap kwalifikacyjny
Mow Konkurs etap kwalifikacyjnyMow Konkurs etap kwalifikacyjny
Mow Konkurs etap kwalifikacyjnymarcinmilke
 
W Zasadzie O Co Chodzi Pops5
W Zasadzie O Co Chodzi Pops5W Zasadzie O Co Chodzi Pops5
W Zasadzie O Co Chodzi Pops5marcinmilke
 
Webpreguntas
WebpreguntasWebpreguntas
WebpreguntasTICpri
 
Lamoto
LamotoLamoto
LamotoTICpri
 
Golden Ratio Tasks Paper
Golden Ratio Tasks PaperGolden Ratio Tasks Paper
Golden Ratio Tasks PaperKristen T
 
Social Media Presentation To Student Affairs
Social Media Presentation To Student AffairsSocial Media Presentation To Student Affairs
Social Media Presentation To Student AffairsKristen T
 
Solving Linear Systems
Solving Linear SystemsSolving Linear Systems
Solving Linear SystemsKristen T
 
Math 9 Lab Assignment
Math 9 Lab AssignmentMath 9 Lab Assignment
Math 9 Lab AssignmentKristen T
 
Wilkins Green
Wilkins GreenWilkins Green
Wilkins Greennswtox
 
Music magazine evaluation
Music magazine evaluationMusic magazine evaluation
Music magazine evaluationJordan Swan
 
4H2012 302 Product and Quotient Rules Practice!
4H2012 302 Product and Quotient Rules Practice!4H2012 302 Product and Quotient Rules Practice!
4H2012 302 Product and Quotient Rules Practice!A Jorge Garcia
 
мацюк в. с.
мацюк в. с.мацюк в. с.
мацюк в. с.semyurihor
 
4H2012 301 Product and Quotient Rules!
4H2012 301 Product and Quotient Rules!4H2012 301 Product and Quotient Rules!
4H2012 301 Product and Quotient Rules!A Jorge Garcia
 

Viewers also liked (20)

De Milieuproblematiek
De MilieuproblematiekDe Milieuproblematiek
De Milieuproblematiek
 
Babes with Babes - a Hunter TAFENSW Outreach initiative
Babes with Babes - a Hunter TAFENSW Outreach initiativeBabes with Babes - a Hunter TAFENSW Outreach initiative
Babes with Babes - a Hunter TAFENSW Outreach initiative
 
Seamosgansos
SeamosgansosSeamosgansos
Seamosgansos
 
Milieu
MilieuMilieu
Milieu
 
Ubiquitous Outreach xchange
Ubiquitous Outreach xchangeUbiquitous Outreach xchange
Ubiquitous Outreach xchange
 
Mow Konkurs etap kwalifikacyjny
Mow Konkurs etap kwalifikacyjnyMow Konkurs etap kwalifikacyjny
Mow Konkurs etap kwalifikacyjny
 
RSS
RSSRSS
RSS
 
W Zasadzie O Co Chodzi Pops5
W Zasadzie O Co Chodzi Pops5W Zasadzie O Co Chodzi Pops5
W Zasadzie O Co Chodzi Pops5
 
Webpreguntas
WebpreguntasWebpreguntas
Webpreguntas
 
Lamoto
LamotoLamoto
Lamoto
 
Zasady Konkursu
Zasady KonkursuZasady Konkursu
Zasady Konkursu
 
Golden Ratio Tasks Paper
Golden Ratio Tasks PaperGolden Ratio Tasks Paper
Golden Ratio Tasks Paper
 
Social Media Presentation To Student Affairs
Social Media Presentation To Student AffairsSocial Media Presentation To Student Affairs
Social Media Presentation To Student Affairs
 
Solving Linear Systems
Solving Linear SystemsSolving Linear Systems
Solving Linear Systems
 
Math 9 Lab Assignment
Math 9 Lab AssignmentMath 9 Lab Assignment
Math 9 Lab Assignment
 
Wilkins Green
Wilkins GreenWilkins Green
Wilkins Green
 
Music magazine evaluation
Music magazine evaluationMusic magazine evaluation
Music magazine evaluation
 
4H2012 302 Product and Quotient Rules Practice!
4H2012 302 Product and Quotient Rules Practice!4H2012 302 Product and Quotient Rules Practice!
4H2012 302 Product and Quotient Rules Practice!
 
мацюк в. с.
мацюк в. с.мацюк в. с.
мацюк в. с.
 
4H2012 301 Product and Quotient Rules!
4H2012 301 Product and Quotient Rules!4H2012 301 Product and Quotient Rules!
4H2012 301 Product and Quotient Rules!
 

Similar to Automated testing

Automate test-oim
Automate test-oimAutomate test-oim
Automate test-oimOim Trust
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsShivang100
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingFayis-QA
 
Test automation and beyond developing an effective continuous test strategy d...
Test automation and beyond developing an effective continuous test strategy d...Test automation and beyond developing an effective continuous test strategy d...
Test automation and beyond developing an effective continuous test strategy d...GerieOwen
 
Agile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseAgile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseClareMcLennan
 
5 Considerations When Adopting Automated Testing
5 Considerations When Adopting Automated Testing5 Considerations When Adopting Automated Testing
5 Considerations When Adopting Automated TestingBhupesh Dahal
 
Software Test Automation
Software Test AutomationSoftware Test Automation
Software Test AutomationYash Patel
 
Qtp training session I
Qtp training session IQtp training session I
Qtp training session IAisha Mazhar
 
Agile Testing – embedding testing into agile software development lifecycle
Agile Testing – embedding testing into agile software development lifecycle Agile Testing – embedding testing into agile software development lifecycle
Agile Testing – embedding testing into agile software development lifecycle Kari Kakkonen
 
Test Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh DahalTest Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh DahalQA or the Highway
 
Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)Andrey Oleynik
 
New trends in testing automation
New trends in testing automationNew trends in testing automation
New trends in testing automationEran Kinsbrunner
 
5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test AutomationSauce Labs
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessLee Barnes
 
Implementation of Software Testing
Implementation of Software TestingImplementation of Software Testing
Implementation of Software TestingMahesh Kodituwakku
 
St all about test case-p3
St all about test case-p3St all about test case-p3
St all about test case-p3Prachi Sasankar
 

Similar to Automated testing (20)

Automate test-oim
Automate test-oimAutomate test-oim
Automate test-oim
 
unit-5 SPM.pptx
unit-5 SPM.pptxunit-5 SPM.pptx
unit-5 SPM.pptx
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
7 steps to Software test automation success
7 steps to Software test automation success7 steps to Software test automation success
7 steps to Software test automation success
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Test automation and beyond developing an effective continuous test strategy d...
Test automation and beyond developing an effective continuous test strategy d...Test automation and beyond developing an effective continuous test strategy d...
Test automation and beyond developing an effective continuous test strategy d...
 
Agile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseAgile Acceptance testing with Fitnesse
Agile Acceptance testing with Fitnesse
 
5 Considerations When Adopting Automated Testing
5 Considerations When Adopting Automated Testing5 Considerations When Adopting Automated Testing
5 Considerations When Adopting Automated Testing
 
Software Test Automation
Software Test AutomationSoftware Test Automation
Software Test Automation
 
Qtp training session I
Qtp training session IQtp training session I
Qtp training session I
 
Agile Testing – embedding testing into agile software development lifecycle
Agile Testing – embedding testing into agile software development lifecycle Agile Testing – embedding testing into agile software development lifecycle
Agile Testing – embedding testing into agile software development lifecycle
 
UNIT IV.ppt
UNIT IV.pptUNIT IV.ppt
UNIT IV.ppt
 
Test Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh DahalTest Automation Architecture That Works by Bhupesh Dahal
Test Automation Architecture That Works by Bhupesh Dahal
 
Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)Lecture #6. automation testing (andrey oleynik)
Lecture #6. automation testing (andrey oleynik)
 
New trends in testing automation
New trends in testing automationNew trends in testing automation
New trends in testing automation
 
5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
 
Implementation of Software Testing
Implementation of Software TestingImplementation of Software Testing
Implementation of Software Testing
 
St all about test case-p3
St all about test case-p3St all about test case-p3
St all about test case-p3
 

Automated testing

  • 1. Automated Testing Jeroen Claes KU Leuven
  • 2. What? • Test automation is the use of special software (separate from the software being tested) to control the execution of tests and the comparison of actual outcomes to predicted outcomes [1].
  • 3. What? • Run Automatically • No human intervention required • Test result report generated
  • 4. Why? • Manual testing is time and cost consuming • Difficult to test for multi lingual sites manually • No Human intervention required. (can be run overnight) • Increases speed of test execution • Helps increase test Coverage • Manual Testing can become boring and hence error prone.
  • 5. What to automate • High Risk - Business Critical test cases • Test cases that are executed repeatedly • Test Cases that are very tedious or difficult to perform manually • Test Cases which are time consuming
  • 6. What NOT to automate • Test Cases that are newly designed and not executed manually at least once • Test Cases for which the requirements are changing frequently • Test cases which are executed on ad-hoc basis.
  • 8. Test tool selection • Select the right tool for the right job • Selected based on best fit, not based on popularity • Firstly perform proof of concept
  • 9. Scope • Important business features • Scenarios with large amount of data • Common functionalities across applications • Technical feasibility • Extent of reusability • Complexity of test cases • Ability to use cross browser testing
  • 10. Planning, Design and Development • Automation tools selected • Framework design and its features • In-Scope and Out-of-scope items of automation • Automation test bed preparation • Schedule and Timeline of scripting and execution • Deliverables of automation testing
  • 11. Test Execution • Input data provided • Test reports generated • Execution directly or via test management tool
  • 12. Maintenance • New functionality with succesive cycles • Scripts are added/reviewed/maintained for each release cycle • Required to improve effectivenes of automation scripts
  • 13. Automated Testing in an Agile devironment
  • 14. Start small • Develloped incrementally • Tests are added with the new implementation in each sprint • Dont aim for the “it-can-do-everything” solution at the start • Start with a bare minimum working solution
  • 15. Create test automation backlog • Backlog contains all needed automation tasks • Target a few items each sprint • Use priorities for automation tasks • Use dedicated developer time when needed
  • 16. pitfalls • Automation does not replaceme manual testing • Licensed test programs can be brittle and produce lots of overhead • UI testing should be reserved for testing the UI • Collaboration required between designer and tester • Tests must be properly maintained • Slow, brittle or unreliable tests need to be resolved • Return-on-investment should not be purely based on a reduction in labour costs
  • 17.
  • 18. References • [1] Kolawa, Adam; Huizinga, Dorota (2007). Automated Defect Prevention: Best Practices in Software Management. Wiley-IEEE Computer Society Press. p. 74.ISBN 0-470-04212- 5 • http://www.guru99.com/automation- testing.html • http://www.infoq.com/articles/thoughts-on-test- automation-in-agile • http://www.agileengineeringdesign.com/2012/0 1/7-deadly-sins-of-automated-software-testing/