SlideShare a Scribd company logo
1 of 94
Download to read offline
Najpierw myśl
Potem automatyzuj
Jakub Rosiński
Automatyzacja? Robotyzacja?
Najpierw mysl, potem automatyzuj
powtarzalne
rutynowe
powtarzalne
rutynowe
słowaklucze
Zamiana czegoś, co działa na coś, co prawie działa,
ale jest szybsze i tańsze
Najpierw mysl, potem automatyzuj
Selenium
Selenium
web frontend
Selenium
web frontend
web frontend
Selenium
web frontend
web frontend
Selenium
Selenium
wstęp uniwersalny
web frontend
web frontend
Selenium
Selenium
wstęp uniwersalny
web frontend
web frontend
Selenium
Selenium
Selenium
wstęp uniwersalny
web frontend
web frontend
Selenium
funkcjonalne
Selenium
Selenium
wstęp uniwersalny
web frontend
web frontend
Selenium
funkcjonalne
wydajnościowe!
Selenium
Selenium
wstęp uniwersalny
web frontend
web frontend
Selenium
funkcjonalne
wydajnościowe!
web frontend
Selenium
Czy testowanie automatyczne to testowanie?
Czy testowanie automatyczne to testowanie?
Najpierw mysl, potem automatyzuj
Najpierw mysl, potem automatyzuj
Cel testów automatycznych?
ZNAJDOWANIE BŁĘDÓW ?
Kto pamięta 6 rozdział ISTQB FL?
+ -
Redukcja manualnej pracy
+ -
Redukcja manualnej pracy
+ -
Obiektywna ocena
Redukcja manualnej pracy
+ -
Stała logika i regularność
Obiektywna ocena
Redukcja manualnej pracy
+
Nierealistyczne oczekiwania
-
Stała logika i regularność
Obiektywna ocena
Redukcja manualnej pracy
+
Nierealistyczne oczekiwania
-
Stała logika i regularność
Obiektywna ocena
Niedoszacowanie (wdrożenia,
utrzymania, osiągnięcia zysków)
Redukcja manualnej pracy
+
Nierealistyczne oczekiwania
-
Stała logika i regularność
Obiektywna ocena
Niedoszacowanie (wdrożenia,
utrzymania, osiągnięcia zysków)
Automatyzujmy wszystko
(zbyt duża zależność)
Redukcja manualnej pracy
+
Nierealistyczne oczekiwania
-
Stała logika i regularność
Obiektywna ocena
Niedoszacowanie (wdrożenia,
utrzymania, osiągnięcia zysków)
Automatyzujmy wszystko
(zbyt duża zależność)
I sporo innych!
Co automatyzować?
Co automatyzować?
Powtarzające się zadania
Testy regresji
w tym smoke testy
Co automatyzować?
Powtarzające się zadania
Testy regresji
w tym smoke testy
Zadania trudne lub niewykonalne manualnie
Test wydajnościowe
Konfigurowanie środowisk
Tworzenie danych (szczególnie dużo danych)
I na Teutatesa! Pamiętajcie!
I na Teutatesa! Pamiętajcie!
Automatyzacja to nie tylko GUI!!
I na Teutatesa! Pamiętajcie!
Automatyzacja to nie tylko GUI!!
Funkcjonalne i niefunkcjonalne!
Popularność Selenium / frontend ?
Popularność Selenium / frontend ?
Popularność Selenium / frontend ?
Popularność Selenium / frontend ?
Popularność Selenium / frontend ?
Dobre praktyki
Dobre praktyki
#thinkingdriventesting
Dobre praktyki
#thinkingdriventesting
Nie o narzędziach o których ktoś mówił na konferencji
Dobre praktyki
#thinkingdriventesting
Nie o narzędziach o których ktoś mówił na konferencji
a o tym jakie Ty masz potrzeby projektowe
Dobre praktyki
#thinkingdriventesting
Nie o narzędziach o których ktoś mówił na konferencji
a o tym jakie Ty masz potrzeby projektowe
takich narzędzi szukaj
Dobre praktyki
#thinkingdriventesting
Nie o narzędziach o których ktoś mówił na konferencji
a o tym jakie Ty masz potrzeby projektowe
takich narzędzi szukaj
ale poznaj ich słabe punkty / koszt
Dobre praktyki
#thinkingdriventesting
Nie o narzędziach o których ktoś mówił na konferencji
a o tym jakie Ty masz potrzeby projektowe
takich narzędzi szukaj
ale poznaj ich słabe punkty / koszt
będziemy te narzędzia konfigurować
Dobre praktyki
#thinkingdriventesting
Nie o narzędziach o których ktoś mówił na konferencji
a o tym jakie Ty masz potrzeby projektowe
takich narzędzi szukaj
ale poznaj ich słabe punkty / koszt
będziemy te narzędzia konfigurować
one wpłyną na nasze procesy
(bardzo we wdrożeniu)
Najpierw mysl, potem automatyzuj
Poor automated tests are just chaos done faster
Poor automated tests are just chaos done faster
Szkolenia z „nietechnicznego testowania”?
Poor automated tests are just chaos done faster
Szkolenia z „nietechnicznego testowania”?
Planuj
Planuj
Wybieraj scenariusze do automatyzacji
Planuj
Wybieraj scenariusze do automatyzacji
Czekaj na choć odrobinę stabilności
Wybór scenariuszy?
Wybór scenariuszy?
Najważniejsze testy (poziom ryzyka)
Wybór scenariuszy?
Najważniejsze testy (poziom ryzyka)
Szerokie i płytkie pokrycie
Wybór scenariuszy?
Najważniejsze testy (poziom ryzyka)
Szerokie i płytkie pokrycie
Najłatwiej automatyzowalne
Wybór scenariuszy?
Najważniejsze testy (poziom ryzyka)
Szerokie i płytkie pokrycie
Najłatwiej automatyzowalne
Najwyższe ROI
Wybór scenariuszy?
Najważniejsze testy (poziom ryzyka)
Szerokie i płytkie pokrycie
Najłatwiej automatyzowalne
Najwyższe ROI
Najczęściej wykonywane
Wybór scenariuszy?
Najważniejsze testy (poziom ryzyka)
Szerokie i płytkie pokrycie
Najłatwiej automatyzowalne
Najwyższe ROI
Najczęściej wykonywane
Niemożliwe, trudne, drogie manualnie
Zastanów się czy w tym projekcie W OGÓLE warto / da się
Najpierw mysl, potem automatyzuj
Wyobraźmy sobie
bardzo skomplikowany projekt informatyczny
Baza danych, backend - webservice’y,
web-frontend
Wyobraźmy sobie
bardzo skomplikowany projekt informatyczny
!! sklep internetowy !!
Baza danych, backend - webservice’y,
web-frontend
Najpierw mysl, potem automatyzuj
Przecież to dla programistów!
Przecież to dla programistów!
Pilnujmy pokrycia
Przecież to dla programistów!
Pilnujmy pokrycia
Pilnujmy wyników
Przecież to dla programistów!
Pilnujmy pokrycia
Pilnujmy wyników
Wymyślajmy ciekawe przypadki
Przecież to dla programistów!
Pilnujmy pokrycia
Pilnujmy wyników
Wymyślajmy ciekawe przypadki
Wspólnie planujmy (TDD)
Przecież to dla programistów!
Pilnujmy pokrycia
Pilnujmy wyników
Wymyślajmy ciekawe przypadki
Wspólnie planujmy (TDD)
A może nawet piszmy!
Baza danych + webservice
mogą być stabilne na długo przed UI
SQL
Tworzenie danych testowych bezpośrednio w bazie danych
Migracja (anonimizacja) danych produkcyjnych
Odczytywanie danych SELECTY, JOINY, widoki itd.
Najpierw mysl, potem automatyzuj
API
API
wybór narzędzia?
API
wybór narzędzia?
wybór biblioteki?
API
wybór narzędzia?
wybór biblioteki?
integracja z bazą danych
API
wybór narzędzia?
wybór biblioteki?
integracja z bazą danych
Sekwencje CRUD
API
wybór narzędzia?
wybór biblioteki?
integracja z bazą danych
Sekwencje CRUD
wydajność
Doczekaliśmy się stabilnego GUI
Doczekaliśmy się stabilnego GUI
Ta… jasne ;-)
Doczekaliśmy się stabilnego GUI
Ta… jasne ;-)
Jakie testy przyniosą korzyść?
Doczekaliśmy się stabilnego GUI
Ta… jasne ;-)
Jakie testy przyniosą korzyść?
-> „Wybór scenariuszy”
zysk czasowy, pokryciowy, finansowy
Doczekaliśmy się stabilnego GUI
Ta… jasne ;-)
Jakie testy przyniosą korzyść?
-> „Wybór scenariuszy”
zysk czasowy, pokryciowy, finansowy
zysk psychologiczny!
Biznesowe scenariusze e2e na GUI?
Zadania „nietestowe”:
Tworzenie użytkowników
Tworzenie danych
Konfiguracja środowiska
Doprowadzanie do konkretnych stanów systemu
Jako miejsc startowych do eksploracji
Funkcjonalność
Selenium (znowu programowanie!)
czyste czy opakowane (a może nawet BDD)?
Robot Framework
Ranorex
…
Wydajność
jMeter
Load Runner
…
A inne niefunkcjonalne?
Tester
Lider
Krytyk, posiadacz i trener ISTQB
Ojciec i Mąż
Motocyklista
Jedyny mężczyzna w domu
3 kobiet i psa kastrata
Ojciec prowadzący fp Syrenki
Warszawskie
Jakub Rosiński
qpcio
jrosinski@thinkingdriventesting.com
Dziękuję
Pytania?

More Related Content

Featured

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Najpierw mysl, potem automatyzuj