automating everyday tasks for better...
TRANSCRIPT
![Page 1: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/1.jpg)
Automating Everyday Tasks for
Better Productivity
Predrag Skokovic
![Page 2: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/2.jpg)
Agenda
Goal of Software Testing
Effort vs Result Driven Testing
What (not) to Automate?
Exercises
Conclusion
![Page 4: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/4.jpg)
Effort vs Result Driven Testing
“Businesswoman breaking through a finish line ribbon” by Ron Leishman
Marathon Finish Line Clip Art (247246) http://ngmnexpo.com/marathon-finish-line-clip-art-247246/
![Page 5: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/5.jpg)
“For many events, roughly 80% of the effects come
from 20% of the causes” – Vilfredo Pareto
Effort vs Result Driven Testing
80% RESULT20% EFFORT
![Page 6: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/6.jpg)
What (not) to Automate
![Page 7: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/7.jpg)
Let’s Do Some Exercises!
"Cartoon Businessman Exercise Set“ - Image courtesy of iosphere at FreeDigitalPhotos.net
![Page 8: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/8.jpg)
Test phase: Reporting
Testing of AUT is finished. We are writing test report.
We have couple of minutes remaining to send final test
report and then we realize that we forgot to fill in
content of the test environment section.
What shall we do?
Add System Environment Details to Report
Exercise 1
![Page 9: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/9.jpg)
Test phase: Reporting
While executing three SUT, a number of log files is
created. Although folder structure that keeps log files is
complex it is necessary to preserve log files as evidence
for future analysis.
How to avoid boring and error prone task of evidence
gathering?
Preserve Log Files as Evidence
Exercise 2
![Page 10: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/10.jpg)
Test phase: Preparation
We are working in a complex environment in which initial
database configuration defines context of the system, by
enabling (or disabling) parts and functions of the SUT.
How to quickly switch test environment contexts?Database Switch
Exercise 3
![Page 11: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/11.jpg)
Test phase: Preparation
We want to evaluate AUT behavior on the page that
shows all users available in the system.
How to quickly import details of 1000+ users (full name,
username, email address) into the system?Evaluate All Users Page
Exercise 4
![Page 12: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/12.jpg)
All test phases
Execute test cases against the AUT, located here:
http://localhost/LoginRegistrationForm/
Test scenario 1: Login
Test scenario 2: Sign upData Driven Testing
Exercise 5
![Page 13: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/13.jpg)
Data Driven Testing
Exercise 5
Action(fixture)
Data Storage (test cases)
Supporting Utility
Components mapping
![Page 14: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/14.jpg)
Automating Everyday Tasks for
Better ProductivityPredrag Skokovic
@PredragSkokovic
![Page 15: Automating everyday tasks for better productivitynordictestingdays.eu/files/files/predrag_skokovic_automating_everyd… · Dorothy Graham - Blunders in Test Automation J. Bach & M](https://reader034.vdocuments.net/reader034/viewer/2022042408/5f22ca98739ae521a5357545/html5/thumbnails/15.jpg)
Literature
Dorothy Graham - Blunders in Test Automation
J. Bach & M. Bolton - A Context-Driven Approach to Automation in Testing
Gojko Adzic - Avoiding the most common pitfall of large-scale agile
Elisabeth Hendrickson - Explore It!
Tim Koomen, et al. - TMap Next, for result-driven testing
Rex Black, et al. - Foundations of Software Testing ISTQB Certification
You Suck at Excel with Joel Spolsky
Al Sweigart - Automate the Boring Stuff with Python
M. Pyhäjärvi & L. Falco – The Mob Programming Guidebook