Role of Automation in Testing

2,043 views

Published on

Slides explaining the Agile process, and how Test Automation plays a key role in enabling teams to be successful in this fast moving process.

Published in: Software

Role of Automation in Testing

  1. 1. ROLE OF AUTOMATION IN TESTING Anand Bagmar Test Practice Lead
  2. 2. @BagmarAnand about.me/anand.bagmar ABOUT ME
  3. 3. Money / Value Time Quality ORGANIZATION OBJECTIVE
  4. 4. Typical Process in Agile Teams
  5. 5. Story Planning Session BUSINESS BA Write Story & Scenarios BA Implement Automated Acceptance Tests TESTER TESTERDEV Implement Functionality Regular BA/QA Demo DEV DEV TESTERDEV BA TESTERDEV BA Story Testing Showcase to Business STARTS HERE SYSTEM TESTING START DEVELOPMENT ITERATION END DEVELOPMENT ITERATION DEVELOPMENT ENGINE STORY PLANNING SESSION BUSINESS BA TESTER TESTER BA / QA Signoff on Dev Box
  6. 6. Story Planning Session BUSINESS BA Write Story & Scenarios BA Implement Automated Acceptance Tests TESTER TESTERDEV Implement Functionality Regular BA/QA Demo DEV DEV TESTERDEV BA TESTERDEV BA Showcase to Business START DEVELOPMENT ITERATION END DEVELOPMENT ITERATION DEVELOPMENT ENGINE STORY WRITING BUSINESS BA TESTER TESTER STARTS HERE SYSTEM TESTING BA / QA Signoff on Dev Box Story Testing
  7. 7. Story Planning Session BUSINESS BA Write Story & Scenarios BA Implement Automated Acceptance Tests TESTER TESTERDEV Implement Functionality Regular BA/QA Demo DEV DEV TESTERDEV BA TESTERDEV BA Showcase to Business START DEVELOPMENT ITERATION END DEVELOPMENT ITERATION DEVELOPMENT ENGINE AUTOMATE ACCEPTANCE TESTS BUSINESS BA TESTER TESTER STARTS HERE SYSTEM TESTING BA / QA Signoff on Dev Box Story Testing
  8. 8. Story Planning Session BUSINESS BA Write Story & Scenarios BA Implement Automated Acceptance Tests TESTER TESTERDEV Implement Functionality Regular BA/QA Demo DEV DEV TESTERDEV BA TESTERDEV BA Showcase to Business START DEVELOPMENT ITERATION END DEVELOPMENT ITERATION DEVELOPMENT ENGINE IMPLEMENT FUNCTIONALITY BUSINESS BA TESTER TESTER STARTS HERE SYSTEM TESTING BA / QA Signoff on Dev Box Story Testing
  9. 9. Story Planning Session BUSINESS BA Write Story & Scenarios BA Implement Automated Acceptance Tests TESTER TESTERDEV Implement Functionality Regular BA/QA Demo BA / QA Signoff on Dev Box DEV DEV TESTERDEV BA TESTERDEV BA Showcase to Business START DEVELOPMENT ITERATION END DEVELOPMENT ITERATION DEVELOPMENT ENGINE BA & QA SIGNOFF BUSINESS BA TESTER TESTER STARTS HERE SYSTEM TESTING Story Testing
  10. 10. Story Planning Session BUSINESS BA Write Story & Scenarios BA Implement Automated Acceptance Tests TESTER TESTERDEV Implement Functionality Regular BA/QA Demo DEV DEV TESTERDEV BA TESTERDEV BA BUSINESS BA Showcase to Business TESTER START DEVELOPMENT ITERATION END DEVELOPMENT ITERATION DEVELOPMENT ENGINE STORY TESTING TESTER STARTS HERE SYSTEM TESTING BA / QA Signoff on Dev Box Story Testing
  11. 11. Story Planning Session BUSINESS BA Write Story & Scenarios BA Implement Automated Acceptance Tests TESTER TESTERDEV Implement Functionality Regular BA/QA Demo BA / QA Signoff on Dev Box DEV DEV TESTERDEV BA TESTERDEV BA BUSINESS BA Showcase to Business TESTER START DEVELOPMENT ITERATION END DEVELOPMENT ITERATION DEVELOPMENT ENGINE SHOWCASE TO BUSINESS TESTER STARTS HERE SYSTEM TESTING Story Testing
  12. 12. Test Automation A PRACTICE THAT MAKES TEAMS SUCCESSFUL?
  13. 13. Test Automation A PRACTICE THAT MAKES TEAMS UNSUCCESSFUL?
  14. 14. What is Test Automation?
  15. 15. Automation - A Safety Net
  16. 16. Value IDEAL TEST AUTOMATION PYRAMID Manual / Exploratory Technology- facing Tests Business-facing Tests Cost Time UI Web Service View JavaScript Integration Unit
  17. 17. REALITY
  18. 18. ICE-CREAM CONE ANTI PATTERN Manual / Exploratory UI Web Service View JavaScript Integration Unit
  19. 19. Web Service View JavaScript Integration Unit Developers Test Pyramid QA Team Test Pyramid DUAL TEST PYRAMID ANTI-PATTERN Manual / Exploratory UI Web Service
  20. 20. CUP-CAKE ANTI-PATTERN
  21. 21. TYPES OF TEST AUTOMATION FRAMEWORKS Modular Data-driven Keyword-driven Model-based Hybrid ? ? ?
  22. 22. Understand  the  system(s)  /  product(s)  you  need  to   test!!   REMEMBER …
  23. 23. TEST AUTOMATION FRAMEWORK DESIGN CRITERIA Maintainable Scalable Browser / Device support Support features of Product-under-test Easy to Use Different Environments Parallel Execution Tool support Reports & Metrics Support the types of testing required Operating System & Database support Run locally & remotely Language / tool restrictions
  24. 24. PRINCIPLES FOR TEST AUTOMATION FRAMEWORK Design Patterns Abstraction Layers Headless executing Evolve Code Quality Take Screenshots Refactor Tools & Utilities Extensible Run via CI Logging Video Recording Test Data
  25. 25. FRAMEWORK ABSTRACTION LAYERS
  26. 26. QA Capabilities & Skills
  27. 27. Are We Building the Correct Product & …. If so, are we building it correctly?
  28. 28. QA CAPABILITIES Continuous Delivery Coaching Enabling Sales Bridging The Communication Gap Tech Debt Trainings Writing Blogs Raising Risks Prioritization Facilitation Stakeholder Management Speaking At QA Conferences
  29. 29. QA SKILLS Domain Functional Analysis & Testing Process Improvements Automation Testing Mindset Accessibility Testing Showcases UAT Defect Management Security Testing Performance Testing Usability Testing Facilitation
  30. 30. abagmar@gmail.com Anand.Bagmar@thoughtworks.com @BagmarAnand about.me/anand.bagmar THANK YOU

×