using functional ,test automation to prevent defects from escaping the development phase' by...
TRANSCRIPT
![Page 1: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/1.jpg)
Version 2.5© Bredex GmbH
Using Functional Test Automation to Prevent Defects from Escaping the Development Phase
Alexandra Schladebeck
![Page 2: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/2.jpg)
2
Agenda
Prevention versus cure
Testing close to development
Focus on the user perspective
Automation as a quality-enhancing activity
Open points for the test process
Checklist and conclusions
![Page 3: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/3.jpg)
3
Prevention versus cure
Prevention? Discovery and removal
(or: seek and destroy)
![Page 4: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/4.jpg)
4
How soon is now?
![Page 5: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/5.jpg)
5
Software, defend yourself!
Justification Test criteria During development Frequently
Regardless of model… More information is
beneficial As early as possible
![Page 6: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/6.jpg)
6
Focusing on what‘s important
What informaton do we want? What sources are available to us? What are our priorities?
Our focus: customer perspective … the perspective with which
it will be used
![Page 7: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/7.jpg)
7
Use test automation to test…
Automate acceptance tests during development ATDD / In parallel / Just after
The early automator gets the worm
Steps… Review Automate Repeat (React)
![Page 8: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/8.jpg)
8
Step 1: Preparing for automation
Explore Read, talk, prototype, document, play
Set the bar What is good enough Tests and checks
Select automation candidates
![Page 9: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/9.jpg)
9
Bugs prevented in step one
Case 1: Remembered report
Report written during test Report generated after test
![Page 10: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/10.jpg)
10
Bugs prevented in step one
Case 2: Forgotten option
![Page 11: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/11.jpg)
11
Step 2: Do the automation
As close as possible
Be a user while writing the test Different paths and alternatives while
designing / testing Exactness for automation
Added bonuses Usability testing Open questions
![Page 12: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/12.jpg)
12
Step 2: Do the automation
Long-life tests
Test structure Levels of detail Small use cases Independent tests
Plan for change
![Page 13: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/13.jpg)
13
Bugs caught in step two
Enter customer name Enter address Enter telephone
number
Leave field via enter
Enter customer name Enter address Enter telephone
number
Don‘t leave field / leave field via click
![Page 14: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/14.jpg)
14
Bugs caught in step two
Validation PDF Library
Mandatory fields with *
Mandatory fieldsvalidated by program
…all of them? … NoClassDefFound
![Page 15: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/15.jpg)
15
Step 3: Lather, rinse, repeat
Activity of automating test has gathered all information it can?
Multiply Same test new area of application Same test another platform Same test new software versions
![Page 16: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/16.jpg)
16
Step 3: The glossy finish
Continuous integration
Error handling in tests
![Page 17: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/17.jpg)
17
Bugs prevented by step three
Case 1: Multiplication error
Case 2: Regression error
OK
OK
OKFailed
![Page 18: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/18.jpg)
18
Step 4: React
![Page 19: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/19.jpg)
19
Step 4: React
![Page 20: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/20.jpg)
20
What have we got so far?
![Page 21: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/21.jpg)
21
What‘s missing?
![Page 22: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck](https://reader036.vdocuments.site/reader036/viewer/2022062514/559251631a28abdd028b4772/html5/thumbnails/22.jpg)
22
Checklist
Add the test perspective Tester, User, Documentation
Start automating As close as possible Explicit tests
Find ways to gain feedback CI, Show & Tell, Docu
React to feedback