SlideShare a Scribd company logo
1 of 45
Download to read offline
Testing tools and AI
Kari Kakkonen
Knowit
https://www.linkedin.com/in/karikakkonen
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 1
ROLES
• Knowit Solutions Oy, Director of Training and
Competences, Lead Consultant, Trainer and
Coach
• Children’s and testing author at Dragons Out
Oy
• TMMi, Board of Directors
• Treasurer of Finnish Software Testing Board
(FiSTB)
ACHIEVEMENTS
• Tester of the Year in Finland 2021
• EuroSTAR Testing Excellence Award 2021
• Exemplary DevOps Instructor Award 2023 by
DASA
• ISTQB Executive Committee 2015-2021
• Influencing testing since 1996
• Ranked in 100 most influential IT persons in
Finland (Tivi magazine)
• Great number of presentations in Finnish and
international conferences
• TestausOSY/FAST founding member.
• Co-author of Agile Testing Foundations book
• Regular blogger in Tivi-magazine
Kari Kakkonen, Lead Testing Consultant
SERVICES
• ISTQB Advanced, Foundation, Agile Testing, AI Testing
• Knowit Quality Professional
• DASA DevOps
• Quality & Test process and organization development,
Metrics, TMMi and other assessments
• Agile testing, Scrum, Kanban, Lean
• Leadership
• Test automation, Mobile, Cloud, DevOps, AI
• Quality, cost, benefits
EDUCATION
• ISTQB Expert Level Test Management & Advanced Full
& Agile Tester certified
• DASA DevOps, Scrum Master and SAFe certified
• TMMi Professional, Assessor, Process Improver certified
• SPICE provisionary assessor certified
• M.Sc.(Eng), Helsinki University of Technology (present Aalto
University), Otaniemi, Espoo
• Marketing studies, University of Wisconsin-Madison,
the USA.
BUSINESS DOMAINS
Wide spread of business domain knowledge: Embedded,
industry, public, training, telecommunications, commerce,
Insurance, banking, pension.
2
twitter.com/kkakkonen
dragonsout.com
act2lead.net
MORE INFORMATION
linkedin.com/in/karikakkonen/
© Copyright Knowit Trainings 2023
Copyright Knowit Solutions Oy and Dragons Out Oy 2024
A Nordic powerhouse
for digital solutions
4 400+
Experts
6 countries
SE, NO, FI, DK, DE, PL
613 MEUR
Combined turnover 2022
4 business areas
Solutions, Experience, Connectivity and Insight
Nordic ESG-ambassador
Clear vision to accelerate the UN sustainability agenda
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 3
The book project ”Dragons Out!”
• Mission
• “Software testing brought to children”
• Book
• Author Kari Kakkonen
• Illustrator Adrienn Széll
• Text and illustration rights Dragons Out Oy
• In Finnish, English, Polish, French and growing
• For ages of 10-99
• Free “Dragon lesson in software testing”
presentation under Creative Commons –license
• Translated to 20 languages!
• More info: www.dragonsout.com
• Also other books coming out
4
Copyright Knowit Solutions Oy and Dragons Out Oy 2024
ISTQB GLOBAL PRESENCE
• Number of exams
administered: over 1,2 million
• Number of certifications
issued: 914,000
• In 130 countries
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 5
TMMi for test improvement in all kinds of testing,
including agile and DevOps
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 6
• Artificial Intelligence (AI) in short
• AI and testing tools
Agenda
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 7
Why right now?
Four drivers behind AI revolution
8
Copyright Knowit Solutions Oy and Dragons Out Oy 2024
Computation growth due to general purpose GPUs The rise of Big data
Community based achievements in Deep learning Open source tools and frameworks
Quality management as top use-case for AI
Source: AI software platform adoption survey, IDC, February 2019 [Percent of respondents: N=505]
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 9
• When talking about AI, it is
important to ask if we are
talking about modelling
humans or how to work in
ideal way.
• Machine learning is a sub-
category of AI, which
considers algorithms that
enable AI to learn ideal way to
work.
Artificial intelligence == machine learning?
Figure: Example of concepts related to AI.
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 10
Three methods of machine learning
Machine learning methods
Supervised Learning
• The aim is to learn
mapping from input to
output.
• Output is known by
supervisor.
Unsupervised Learning
• The aim is to find
”something interesting”.
• Output is not known
(known also as density
estimation in statistics).
Reinforcement Learning
• Seemingly good
solutions are
encouraged to
develop further.
AI literature review[1]
1 Reagan, A., et al., The emotional arcs of stories are dominated by six basic shapes, EPJ Data Science (2016).
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 11
Anomaly detection
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 12
• Can I find defects faster from lots of test runs?
• Which automatic defect reports / crash reports are actual defects?
• Are there duplicate reports?
• Automation to defect reporting?
Tester’s objectives
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 13
• Detecting:
• abnormal behaviour
• new kind of customers
• etc.
Anomaly detection
Copyright Knowit Solutions Oy and Dragons Out Oy 2024
Figure: Example of time series
14
• NLP can be used to analyze text within different defect reports to
identify areas of affected functionality
• Clustering algorithms such as SVM are used to define defect
categories
• Text similarity metrics are used to identify similar or duplicate defects
• Particularly useful for automated defect reporting systems
• Case: MS Windows and Firefox and on large projects with many
software engineers
Large project defect classification
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 15
Source: STA Consulting
• ML models can be trained to identify those defects most likely to
cause critical system failures from automatically generated defect
reports
Defect prioritization
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 16
Ref: Kim, D.; Wang, X.; Kim, S.; Zeller, A.; Cheung, S.C.; Park, S. (2011). “Which Crashes Should I Fix First? Predicting Top
Crashes at an Early Stage to Prioritize Debugging Efforts,” in the IEEE Transactions on Software Engineering, volume 37
Source: STA Consulting
Prediction
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 17
• Where should I start testing?
• Which tests will give me results fastest?
• Do I need all my 10 000 test cases / scripts?
• Which parts of software are likely to have defects?
Tester’s objectives
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 18
AI
AI review
Requirement
management
Code quality
analysis
Version
control
Test
management
Defect
management
AI code quality metrics
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 19
Developer
Product
Owner
Scrum team
Management
AI
AI review
AI code quality metrics
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 20
• Goal is to understand technical quality and test coverage of modules.
Also, goal is to guide and focus testing:
• Focusing technical debt reduction
• Found defects per module
• Guide for test coverage in automating system level testing.
AI code quality metrics
Copyright Knowit Solutions Oy and Dragons Out Oy 2024
Requires that there is link from components (version control) and tests (test management) to feature descriptions and from reported defects to modules (observation control)
Module Developer Benchmark
(order.numb.)
Relative
risk
Number of
reported
bugs
Module_1 Jaakko 50 58 4
Module_2 Jaakko 4 5 1
Module_3 Mikko 180 95 7
SCRUM TEAM
21
• Goal is to provide overview:
• How fast the development is advancing
• Maturity for release
• Quality and technical debt of the software
• Defect probabilities
• Risks related to modifications of the
software.
AI code quality metrics
Copyright Knowit Solutions Oy and Dragons Out Oy 2024
Interpretation:
• Module 5 has high defect probability and is
related to five most important features of
the application. This results into high risk in
release at this moment.
• Defect probability of module 10 has fallen
to acceptable level.
Start-up
phase
Development
phase
Maturing
phase
MANAGEMENT
22
• Go through functionalities
• Identify risky areas
• Focus testing
• Case: Eggplant
• https://www.eggplantsoftwar
e.com/
Predict quality issues
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 23
• Analyze risk in commits to the code
• Select the tests that test the risky areas
• Reduce number of test cases needed to run
• Case: Appsurify
• https://appsurify.com/
Select most suitable test cases
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 24
• Power of open source
developers
• Machine learning
algorithms learn from the
community automatically
• Analyse code and
propose improvements
• Case: DeepCode
• https://www.deepcode.ai/
Code analysis using AI
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 25
Fault-tolerant test automation
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 26
• How can I get my regression test cases pass more often when the
software under test changes?
• Can I use test automation scripts from another similar project?
• Can I test some generic test without my own scripting?
Tester’s objectives
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 27
• AI-based test generation
• Checking functional differences
• Checking visual differences
• Automatically learning the test
automation
• For: regression testing after changes
• Case: retest
• https://retest.de/ai-based-test-
generation/
AI with regression testing
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 28
• Python-editor PyCharm can use
Dev Tools AI library
• Asks which element to click on the
screen and then keeps it running
• Suggests how to fix
semiautomatically a changed test
script that doesn’t pass any more
• Reduces the need for test script
maintenance
• Supports e.g. Cypress, Selenium,
Appium, Playwright
• https://www.dev-tools.ai/
AI library helps pass Python test scripts
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 29
• Build test through interface backed by ML
• Plain English
• New life for “record-playback”
• ML algorithms maintain the tests
• Case: Functionize
• https://www.functionize.com/
Intelligent testing
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 30
• Supports test automation object recognition
• Helps with typical GUI recognition problems for test automation
• Can be used as a support library for existing test automation
• Cases:
• ImageHorizonLibrary is a cross-platform library for Robot Framework.
• Eficode, Oulu University and Business Finland
• https://www.eficode.com/projects/testomat
Image recognition with AI
for open source test automation
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 31
Faster test automation scripting with AI
assistants
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 32
• Can LLMs / Generative AI help me?
• I want to produce test scripts faster
• I want ideas for my test cases / scripts
Tester’s objectives
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 33
• Python-editor PyCharm has
Refact.ai library that uses ChatGPT
• Understands Python and Robot
Framework test automation setup
• Refact.ai is labelled as an AI coding
assistant software
• https://refact.ai/
Python enhanced with ChatGPT
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 34
• Assist test automation script
creation
• Suggest what the user might want
• What kind of code
• What kind of test script
• User reviews and approves
suggestions
• Based on Generative AI
• https://github.com/features/copilot
Github Copilot
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 35
• Derive tests from specifications
• Create tests based on user input
• Enabled by good prompt
engineering
• Challenge: repeated teaching
• User reviews AI proposals and uses
in their tests
• https://chat.openai.com/ (ChatGPT)
• https://gemini.google.com/
• https://copilot.microsoft.com/ (Bing)
Generative AI helps in test creation
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 36
Autonomous testing
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 37
• Can I have some tests done before I start my test scripting?
• Can I leave testing to AI?
• Are there some default tests that fit my product testing needs?
Tester’s objectives
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 38
• “World’s first”
• Go automatically through mobile apps
• Use general test cases
• Reinforcement learning
• Case: test.ai
• https://www.test.ai/
AI-powered mobile test automation platform
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 39
• Assist extending existing test
automation sets
• With e.g. Robot Framework,
Playwright, Selenium, Cypress
• Use tests as self-driving test-
bots
• Exploring web apps
• Regression testing
• Autonomous testing
• https://wopee.io/
Test automation assistants and bots
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 40
Resources
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 41
• Trainings and certifications
• https://www.istqb.org/certification-path-root/ai-testing.html
• Standards
• ISO
• AI/ML standard https://www.iso.org/standard/74438.html
• Testing of AI-based systems https://www.iso.org/standard/79016.html
• IEEE
• What is AI Software Testing https://ieeexplore.ieee.org/document/8705808
• AI testing perspectives https://ieeexplore.ieee.org/document/9514942
• Application of AI in Testing https://ieeexplore.ieee.org/document/9676244
Promoting and teaching AI and testing
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 42
• AI in Testing: Impact, Problems, Challenges and Prospect
https://www.researchgate.net/publication/357876318_Artificial_Inte
lligence_in_Software_Testing_Impact_Problems_Challenges_and_Pro
spect
• Utilizing AI in Software Testing
https://www.theseus.fi/handle/10024/263992
• AI Applied to Software Testing
https://dl.acm.org/doi/10.1145/3616372
• AI Applied to Testing: A Literature Review
https://ieeexplore.ieee.org/abstract/document/9141124
• ChatGPT helps testing https://www.linkedin.com/pulse/gpt-4-sdlcs-
secret-weapon-reinventing-testing-phase-andy-abbott/
Some more research notes
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 43
• AI-enabled testing is already a reality
• Many companies are enhancing their solutions with AI
• New companies are set up around AI
• AI can provide simplicity to complex software development projects.
• With Generative AI, manual and automated test script creation is
more productive
• With AI, testing activities can be focused on high-risk areas.
• With AI, test automation becomes more autonomous
• Testers are freed to create new tests
Conclusion
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 44
kari.kakkonen@knowit.fi
https://linkedin.com/in/karikakkonen/
Thank you!
Copyright Knowit Solutions Oy and Dragons Out Oy 2024 45

More Related Content

Similar to Testing tools and AI - ideas what to try with some tool examples

Exploratory Testing Basics and Future Kari Kakkonen Moscow 2018
Exploratory Testing Basics and Future Kari Kakkonen Moscow 2018Exploratory Testing Basics and Future Kari Kakkonen Moscow 2018
Exploratory Testing Basics and Future Kari Kakkonen Moscow 2018Kari Kakkonen
 
How AI and ML Can Accelerate and Optimize Software Development and Testing
How AI and ML Can Accelerate and Optimize Software Development and TestingHow AI and ML Can Accelerate and Optimize Software Development and Testing
How AI and ML Can Accelerate and Optimize Software Development and TestingAggregage
 
Webcast Presentation: Accelerate Continuous Delivery with Development Testing...
Webcast Presentation: Accelerate Continuous Delivery with Development Testing...Webcast Presentation: Accelerate Continuous Delivery with Development Testing...
Webcast Presentation: Accelerate Continuous Delivery with Development Testing...GRUC
 
How to Guarantee Continuous Value from your Test Automation
How to Guarantee Continuous Value from your Test AutomationHow to Guarantee Continuous Value from your Test Automation
How to Guarantee Continuous Value from your Test AutomationPerfecto by Perforce
 
Your Open Source Program Office
Your Open Source Program OfficeYour Open Source Program Office
Your Open Source Program OfficeGil Yehuda
 
QA in digitalized world kari kakkonen ICTexpo2016
QA in digitalized world kari kakkonen  ICTexpo2016QA in digitalized world kari kakkonen  ICTexpo2016
QA in digitalized world kari kakkonen ICTexpo2016Kari Kakkonen
 
Ten10 Seminar: Test Automation, Tooling and the Future (slides)
Ten10 Seminar: Test Automation, Tooling and the Future (slides)Ten10 Seminar: Test Automation, Tooling and the Future (slides)
Ten10 Seminar: Test Automation, Tooling and the Future (slides)Ten10
 
QA in Digitalized World - Kari Kakkonen
QA in Digitalized World - Kari KakkonenQA in Digitalized World - Kari Kakkonen
QA in Digitalized World - Kari KakkonenKari Kakkonen
 
Programming languages and techniques for today’s embedded andIoT world
Programming languages and techniques for today’s embedded andIoT worldProgramming languages and techniques for today’s embedded andIoT world
Programming languages and techniques for today’s embedded andIoT worldRogue Wave Software
 
Cross functional peer review preso 10-01-2013
Cross functional peer review preso 10-01-2013Cross functional peer review preso 10-01-2013
Cross functional peer review preso 10-01-2013SmartBear
 
Exploratory Testing Kari Kakkonen BTD 2017
Exploratory Testing Kari Kakkonen BTD 2017Exploratory Testing Kari Kakkonen BTD 2017
Exploratory Testing Kari Kakkonen BTD 2017Kari Kakkonen
 
Software Quality without Testing
Software Quality without TestingSoftware Quality without Testing
Software Quality without TestingNagarro
 
Future of Software Testing
Future of Software TestingFuture of Software Testing
Future of Software TestingKari Kakkonen
 
So Now You’re a UiPath Developer – What’s Next?” What Role do You Play as Dev...
So Now You’re a UiPath Developer – What’s Next?” What Role do You Play as Dev...So Now You’re a UiPath Developer – What’s Next?” What Role do You Play as Dev...
So Now You’re a UiPath Developer – What’s Next?” What Role do You Play as Dev...DianaGray10
 
The Future of AI-Based Test Automation
The Future of AI-Based Test AutomationThe Future of AI-Based Test Automation
The Future of AI-Based Test AutomationApplitools
 
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011TEST Huddle
 
Leveraging AI and ML in Test Management Systems - DevOps Next
Leveraging AI and ML in Test Management Systems - DevOps NextLeveraging AI and ML in Test Management Systems - DevOps Next
Leveraging AI and ML in Test Management Systems - DevOps NextPerfecto by Perforce
 
Owasp Summit - Wednesday evening briefing master
Owasp Summit - Wednesday evening briefing masterOwasp Summit - Wednesday evening briefing master
Owasp Summit - Wednesday evening briefing masterDinis Cruz
 
RSA 2018- What’s Hot in the Cyber Security Space
RSA 2018- What’s Hot in the Cyber Security SpaceRSA 2018- What’s Hot in the Cyber Security Space
RSA 2018- What’s Hot in the Cyber Security SpaceSBWebinars
 

Similar to Testing tools and AI - ideas what to try with some tool examples (20)

Exploratory Testing Basics and Future Kari Kakkonen Moscow 2018
Exploratory Testing Basics and Future Kari Kakkonen Moscow 2018Exploratory Testing Basics and Future Kari Kakkonen Moscow 2018
Exploratory Testing Basics and Future Kari Kakkonen Moscow 2018
 
How AI and ML Can Accelerate and Optimize Software Development and Testing
How AI and ML Can Accelerate and Optimize Software Development and TestingHow AI and ML Can Accelerate and Optimize Software Development and Testing
How AI and ML Can Accelerate and Optimize Software Development and Testing
 
Webcast Presentation: Accelerate Continuous Delivery with Development Testing...
Webcast Presentation: Accelerate Continuous Delivery with Development Testing...Webcast Presentation: Accelerate Continuous Delivery with Development Testing...
Webcast Presentation: Accelerate Continuous Delivery with Development Testing...
 
How to Guarantee Continuous Value from your Test Automation
How to Guarantee Continuous Value from your Test AutomationHow to Guarantee Continuous Value from your Test Automation
How to Guarantee Continuous Value from your Test Automation
 
Your Open Source Program Office
Your Open Source Program OfficeYour Open Source Program Office
Your Open Source Program Office
 
QA in digitalized world kari kakkonen ICTexpo2016
QA in digitalized world kari kakkonen  ICTexpo2016QA in digitalized world kari kakkonen  ICTexpo2016
QA in digitalized world kari kakkonen ICTexpo2016
 
Ten10 Seminar: Test Automation, Tooling and the Future (slides)
Ten10 Seminar: Test Automation, Tooling and the Future (slides)Ten10 Seminar: Test Automation, Tooling and the Future (slides)
Ten10 Seminar: Test Automation, Tooling and the Future (slides)
 
QA in Digitalized World - Kari Kakkonen
QA in Digitalized World - Kari KakkonenQA in Digitalized World - Kari Kakkonen
QA in Digitalized World - Kari Kakkonen
 
Programming languages and techniques for today’s embedded andIoT world
Programming languages and techniques for today’s embedded andIoT worldProgramming languages and techniques for today’s embedded andIoT world
Programming languages and techniques for today’s embedded andIoT world
 
Cross functional peer review preso 10-01-2013
Cross functional peer review preso 10-01-2013Cross functional peer review preso 10-01-2013
Cross functional peer review preso 10-01-2013
 
Exploratory Testing Kari Kakkonen BTD 2017
Exploratory Testing Kari Kakkonen BTD 2017Exploratory Testing Kari Kakkonen BTD 2017
Exploratory Testing Kari Kakkonen BTD 2017
 
Automation and Technical Debt
Automation and Technical DebtAutomation and Technical Debt
Automation and Technical Debt
 
Software Quality without Testing
Software Quality without TestingSoftware Quality without Testing
Software Quality without Testing
 
Future of Software Testing
Future of Software TestingFuture of Software Testing
Future of Software Testing
 
So Now You’re a UiPath Developer – What’s Next?” What Role do You Play as Dev...
So Now You’re a UiPath Developer – What’s Next?” What Role do You Play as Dev...So Now You’re a UiPath Developer – What’s Next?” What Role do You Play as Dev...
So Now You’re a UiPath Developer – What’s Next?” What Role do You Play as Dev...
 
The Future of AI-Based Test Automation
The Future of AI-Based Test AutomationThe Future of AI-Based Test Automation
The Future of AI-Based Test Automation
 
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
 
Leveraging AI and ML in Test Management Systems - DevOps Next
Leveraging AI and ML in Test Management Systems - DevOps NextLeveraging AI and ML in Test Management Systems - DevOps Next
Leveraging AI and ML in Test Management Systems - DevOps Next
 
Owasp Summit - Wednesday evening briefing master
Owasp Summit - Wednesday evening briefing masterOwasp Summit - Wednesday evening briefing master
Owasp Summit - Wednesday evening briefing master
 
RSA 2018- What’s Hot in the Cyber Security Space
RSA 2018- What’s Hot in the Cyber Security SpaceRSA 2018- What’s Hot in the Cyber Security Space
RSA 2018- What’s Hot in the Cyber Security Space
 

More from Kari Kakkonen

Kari Kakkonen Climate Impact of Software Testing
Kari Kakkonen Climate Impact of Software TestingKari Kakkonen Climate Impact of Software Testing
Kari Kakkonen Climate Impact of Software TestingKari Kakkonen
 
Climate Impact of Software Testing
Climate Impact of Software TestingClimate Impact of Software Testing
Climate Impact of Software TestingKari Kakkonen
 
Insights about children testing
Insights about children testingInsights about children testing
Insights about children testingKari Kakkonen
 
Climate Impact of Software Testing.pdf
Climate Impact of Software Testing.pdfClimate Impact of Software Testing.pdf
Climate Impact of Software Testing.pdfKari Kakkonen
 
Knights of Quality: Immersive talk about software testing
Knights of Quality: Immersive talk about software testingKnights of Quality: Immersive talk about software testing
Knights of Quality: Immersive talk about software testingKari Kakkonen
 
Climate Impact of Software Testing
Climate Impact of Software TestingClimate Impact of Software Testing
Climate Impact of Software TestingKari Kakkonen
 
Becoming MultiTalented Tester
Becoming MultiTalented TesterBecoming MultiTalented Tester
Becoming MultiTalented TesterKari Kakkonen
 
Becoming a Multitalented Tester - at KDS
Becoming a Multitalented Tester - at KDSBecoming a Multitalented Tester - at KDS
Becoming a Multitalented Tester - at KDSKari Kakkonen
 
How to test an AI application
How to test an AI applicationHow to test an AI application
How to test an AI applicationKari Kakkonen
 
How children learn software testing
How children learn software testingHow children learn software testing
How children learn software testingKari Kakkonen
 
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avullaOhjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avullaKari Kakkonen
 
Becoming Multitalented Tester - Kari Kakkonen
Becoming Multitalented Tester - Kari KakkonenBecoming Multitalented Tester - Kari Kakkonen
Becoming Multitalented Tester - Kari KakkonenKari Kakkonen
 
How Children Learn Testing at Testit
How Children Learn Testing at TestitHow Children Learn Testing at Testit
How Children Learn Testing at TestitKari Kakkonen
 
How Children Learn Testing Kari Kakkonen Odin conference.pdf
How Children Learn Testing Kari Kakkonen Odin conference.pdfHow Children Learn Testing Kari Kakkonen Odin conference.pdf
How Children Learn Testing Kari Kakkonen Odin conference.pdfKari Kakkonen
 
Insights from children about testing at NTD2022
Insights from children about testing at NTD2022Insights from children about testing at NTD2022
Insights from children about testing at NTD2022Kari Kakkonen
 
Insights from children about testing; how children who've read the Dragons O...
Insights from children about testing; how children who've read the Dragons O...Insights from children about testing; how children who've read the Dragons O...
Insights from children about testing; how children who've read the Dragons O...Kari Kakkonen
 
Insights from children about testing; how children who've read the Dragons O...
Insights from children about testing; how children who've read the Dragons O...Insights from children about testing; how children who've read the Dragons O...
Insights from children about testing; how children who've read the Dragons O...Kari Kakkonen
 
Insights from children about testing; how children who've read the Dragons Ou...
Insights from children about testing; how children who've read the Dragons Ou...Insights from children about testing; how children who've read the Dragons Ou...
Insights from children about testing; how children who've read the Dragons Ou...Kari Kakkonen
 
Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi)
Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi)Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi)
Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi)Kari Kakkonen
 
How Children Learn Testing with Dragons - KDS2021
How Children Learn Testing with Dragons - KDS2021How Children Learn Testing with Dragons - KDS2021
How Children Learn Testing with Dragons - KDS2021Kari Kakkonen
 

More from Kari Kakkonen (20)

Kari Kakkonen Climate Impact of Software Testing
Kari Kakkonen Climate Impact of Software TestingKari Kakkonen Climate Impact of Software Testing
Kari Kakkonen Climate Impact of Software Testing
 
Climate Impact of Software Testing
Climate Impact of Software TestingClimate Impact of Software Testing
Climate Impact of Software Testing
 
Insights about children testing
Insights about children testingInsights about children testing
Insights about children testing
 
Climate Impact of Software Testing.pdf
Climate Impact of Software Testing.pdfClimate Impact of Software Testing.pdf
Climate Impact of Software Testing.pdf
 
Knights of Quality: Immersive talk about software testing
Knights of Quality: Immersive talk about software testingKnights of Quality: Immersive talk about software testing
Knights of Quality: Immersive talk about software testing
 
Climate Impact of Software Testing
Climate Impact of Software TestingClimate Impact of Software Testing
Climate Impact of Software Testing
 
Becoming MultiTalented Tester
Becoming MultiTalented TesterBecoming MultiTalented Tester
Becoming MultiTalented Tester
 
Becoming a Multitalented Tester - at KDS
Becoming a Multitalented Tester - at KDSBecoming a Multitalented Tester - at KDS
Becoming a Multitalented Tester - at KDS
 
How to test an AI application
How to test an AI applicationHow to test an AI application
How to test an AI application
 
How children learn software testing
How children learn software testingHow children learn software testing
How children learn software testing
 
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avullaOhjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla
 
Becoming Multitalented Tester - Kari Kakkonen
Becoming Multitalented Tester - Kari KakkonenBecoming Multitalented Tester - Kari Kakkonen
Becoming Multitalented Tester - Kari Kakkonen
 
How Children Learn Testing at Testit
How Children Learn Testing at TestitHow Children Learn Testing at Testit
How Children Learn Testing at Testit
 
How Children Learn Testing Kari Kakkonen Odin conference.pdf
How Children Learn Testing Kari Kakkonen Odin conference.pdfHow Children Learn Testing Kari Kakkonen Odin conference.pdf
How Children Learn Testing Kari Kakkonen Odin conference.pdf
 
Insights from children about testing at NTD2022
Insights from children about testing at NTD2022Insights from children about testing at NTD2022
Insights from children about testing at NTD2022
 
Insights from children about testing; how children who've read the Dragons O...
Insights from children about testing; how children who've read the Dragons O...Insights from children about testing; how children who've read the Dragons O...
Insights from children about testing; how children who've read the Dragons O...
 
Insights from children about testing; how children who've read the Dragons O...
Insights from children about testing; how children who've read the Dragons O...Insights from children about testing; how children who've read the Dragons O...
Insights from children about testing; how children who've read the Dragons O...
 
Insights from children about testing; how children who've read the Dragons Ou...
Insights from children about testing; how children who've read the Dragons Ou...Insights from children about testing; how children who've read the Dragons Ou...
Insights from children about testing; how children who've read the Dragons Ou...
 
Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi)
Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi)Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi)
Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi)
 
How Children Learn Testing with Dragons - KDS2021
How Children Learn Testing with Dragons - KDS2021How Children Learn Testing with Dragons - KDS2021
How Children Learn Testing with Dragons - KDS2021
 

Recently uploaded

Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 

Testing tools and AI - ideas what to try with some tool examples

  • 1. Testing tools and AI Kari Kakkonen Knowit https://www.linkedin.com/in/karikakkonen Copyright Knowit Solutions Oy and Dragons Out Oy 2024 1
  • 2. ROLES • Knowit Solutions Oy, Director of Training and Competences, Lead Consultant, Trainer and Coach • Children’s and testing author at Dragons Out Oy • TMMi, Board of Directors • Treasurer of Finnish Software Testing Board (FiSTB) ACHIEVEMENTS • Tester of the Year in Finland 2021 • EuroSTAR Testing Excellence Award 2021 • Exemplary DevOps Instructor Award 2023 by DASA • ISTQB Executive Committee 2015-2021 • Influencing testing since 1996 • Ranked in 100 most influential IT persons in Finland (Tivi magazine) • Great number of presentations in Finnish and international conferences • TestausOSY/FAST founding member. • Co-author of Agile Testing Foundations book • Regular blogger in Tivi-magazine Kari Kakkonen, Lead Testing Consultant SERVICES • ISTQB Advanced, Foundation, Agile Testing, AI Testing • Knowit Quality Professional • DASA DevOps • Quality & Test process and organization development, Metrics, TMMi and other assessments • Agile testing, Scrum, Kanban, Lean • Leadership • Test automation, Mobile, Cloud, DevOps, AI • Quality, cost, benefits EDUCATION • ISTQB Expert Level Test Management & Advanced Full & Agile Tester certified • DASA DevOps, Scrum Master and SAFe certified • TMMi Professional, Assessor, Process Improver certified • SPICE provisionary assessor certified • M.Sc.(Eng), Helsinki University of Technology (present Aalto University), Otaniemi, Espoo • Marketing studies, University of Wisconsin-Madison, the USA. BUSINESS DOMAINS Wide spread of business domain knowledge: Embedded, industry, public, training, telecommunications, commerce, Insurance, banking, pension. 2 twitter.com/kkakkonen dragonsout.com act2lead.net MORE INFORMATION linkedin.com/in/karikakkonen/ © Copyright Knowit Trainings 2023 Copyright Knowit Solutions Oy and Dragons Out Oy 2024
  • 3. A Nordic powerhouse for digital solutions 4 400+ Experts 6 countries SE, NO, FI, DK, DE, PL 613 MEUR Combined turnover 2022 4 business areas Solutions, Experience, Connectivity and Insight Nordic ESG-ambassador Clear vision to accelerate the UN sustainability agenda Copyright Knowit Solutions Oy and Dragons Out Oy 2024 3
  • 4. The book project ”Dragons Out!” • Mission • “Software testing brought to children” • Book • Author Kari Kakkonen • Illustrator Adrienn Széll • Text and illustration rights Dragons Out Oy • In Finnish, English, Polish, French and growing • For ages of 10-99 • Free “Dragon lesson in software testing” presentation under Creative Commons –license • Translated to 20 languages! • More info: www.dragonsout.com • Also other books coming out 4 Copyright Knowit Solutions Oy and Dragons Out Oy 2024
  • 5. ISTQB GLOBAL PRESENCE • Number of exams administered: over 1,2 million • Number of certifications issued: 914,000 • In 130 countries Copyright Knowit Solutions Oy and Dragons Out Oy 2024 5
  • 6. TMMi for test improvement in all kinds of testing, including agile and DevOps Copyright Knowit Solutions Oy and Dragons Out Oy 2024 6
  • 7. • Artificial Intelligence (AI) in short • AI and testing tools Agenda Copyright Knowit Solutions Oy and Dragons Out Oy 2024 7
  • 8. Why right now? Four drivers behind AI revolution 8 Copyright Knowit Solutions Oy and Dragons Out Oy 2024 Computation growth due to general purpose GPUs The rise of Big data Community based achievements in Deep learning Open source tools and frameworks
  • 9. Quality management as top use-case for AI Source: AI software platform adoption survey, IDC, February 2019 [Percent of respondents: N=505] Copyright Knowit Solutions Oy and Dragons Out Oy 2024 9
  • 10. • When talking about AI, it is important to ask if we are talking about modelling humans or how to work in ideal way. • Machine learning is a sub- category of AI, which considers algorithms that enable AI to learn ideal way to work. Artificial intelligence == machine learning? Figure: Example of concepts related to AI. Copyright Knowit Solutions Oy and Dragons Out Oy 2024 10
  • 11. Three methods of machine learning Machine learning methods Supervised Learning • The aim is to learn mapping from input to output. • Output is known by supervisor. Unsupervised Learning • The aim is to find ”something interesting”. • Output is not known (known also as density estimation in statistics). Reinforcement Learning • Seemingly good solutions are encouraged to develop further. AI literature review[1] 1 Reagan, A., et al., The emotional arcs of stories are dominated by six basic shapes, EPJ Data Science (2016). Copyright Knowit Solutions Oy and Dragons Out Oy 2024 11
  • 12. Anomaly detection Copyright Knowit Solutions Oy and Dragons Out Oy 2024 12
  • 13. • Can I find defects faster from lots of test runs? • Which automatic defect reports / crash reports are actual defects? • Are there duplicate reports? • Automation to defect reporting? Tester’s objectives Copyright Knowit Solutions Oy and Dragons Out Oy 2024 13
  • 14. • Detecting: • abnormal behaviour • new kind of customers • etc. Anomaly detection Copyright Knowit Solutions Oy and Dragons Out Oy 2024 Figure: Example of time series 14
  • 15. • NLP can be used to analyze text within different defect reports to identify areas of affected functionality • Clustering algorithms such as SVM are used to define defect categories • Text similarity metrics are used to identify similar or duplicate defects • Particularly useful for automated defect reporting systems • Case: MS Windows and Firefox and on large projects with many software engineers Large project defect classification Copyright Knowit Solutions Oy and Dragons Out Oy 2024 15 Source: STA Consulting
  • 16. • ML models can be trained to identify those defects most likely to cause critical system failures from automatically generated defect reports Defect prioritization Copyright Knowit Solutions Oy and Dragons Out Oy 2024 16 Ref: Kim, D.; Wang, X.; Kim, S.; Zeller, A.; Cheung, S.C.; Park, S. (2011). “Which Crashes Should I Fix First? Predicting Top Crashes at an Early Stage to Prioritize Debugging Efforts,” in the IEEE Transactions on Software Engineering, volume 37 Source: STA Consulting
  • 17. Prediction Copyright Knowit Solutions Oy and Dragons Out Oy 2024 17
  • 18. • Where should I start testing? • Which tests will give me results fastest? • Do I need all my 10 000 test cases / scripts? • Which parts of software are likely to have defects? Tester’s objectives Copyright Knowit Solutions Oy and Dragons Out Oy 2024 18
  • 19. AI AI review Requirement management Code quality analysis Version control Test management Defect management AI code quality metrics Copyright Knowit Solutions Oy and Dragons Out Oy 2024 19
  • 20. Developer Product Owner Scrum team Management AI AI review AI code quality metrics Copyright Knowit Solutions Oy and Dragons Out Oy 2024 20
  • 21. • Goal is to understand technical quality and test coverage of modules. Also, goal is to guide and focus testing: • Focusing technical debt reduction • Found defects per module • Guide for test coverage in automating system level testing. AI code quality metrics Copyright Knowit Solutions Oy and Dragons Out Oy 2024 Requires that there is link from components (version control) and tests (test management) to feature descriptions and from reported defects to modules (observation control) Module Developer Benchmark (order.numb.) Relative risk Number of reported bugs Module_1 Jaakko 50 58 4 Module_2 Jaakko 4 5 1 Module_3 Mikko 180 95 7 SCRUM TEAM 21
  • 22. • Goal is to provide overview: • How fast the development is advancing • Maturity for release • Quality and technical debt of the software • Defect probabilities • Risks related to modifications of the software. AI code quality metrics Copyright Knowit Solutions Oy and Dragons Out Oy 2024 Interpretation: • Module 5 has high defect probability and is related to five most important features of the application. This results into high risk in release at this moment. • Defect probability of module 10 has fallen to acceptable level. Start-up phase Development phase Maturing phase MANAGEMENT 22
  • 23. • Go through functionalities • Identify risky areas • Focus testing • Case: Eggplant • https://www.eggplantsoftwar e.com/ Predict quality issues Copyright Knowit Solutions Oy and Dragons Out Oy 2024 23
  • 24. • Analyze risk in commits to the code • Select the tests that test the risky areas • Reduce number of test cases needed to run • Case: Appsurify • https://appsurify.com/ Select most suitable test cases Copyright Knowit Solutions Oy and Dragons Out Oy 2024 24
  • 25. • Power of open source developers • Machine learning algorithms learn from the community automatically • Analyse code and propose improvements • Case: DeepCode • https://www.deepcode.ai/ Code analysis using AI Copyright Knowit Solutions Oy and Dragons Out Oy 2024 25
  • 26. Fault-tolerant test automation Copyright Knowit Solutions Oy and Dragons Out Oy 2024 26
  • 27. • How can I get my regression test cases pass more often when the software under test changes? • Can I use test automation scripts from another similar project? • Can I test some generic test without my own scripting? Tester’s objectives Copyright Knowit Solutions Oy and Dragons Out Oy 2024 27
  • 28. • AI-based test generation • Checking functional differences • Checking visual differences • Automatically learning the test automation • For: regression testing after changes • Case: retest • https://retest.de/ai-based-test- generation/ AI with regression testing Copyright Knowit Solutions Oy and Dragons Out Oy 2024 28
  • 29. • Python-editor PyCharm can use Dev Tools AI library • Asks which element to click on the screen and then keeps it running • Suggests how to fix semiautomatically a changed test script that doesn’t pass any more • Reduces the need for test script maintenance • Supports e.g. Cypress, Selenium, Appium, Playwright • https://www.dev-tools.ai/ AI library helps pass Python test scripts Copyright Knowit Solutions Oy and Dragons Out Oy 2024 29
  • 30. • Build test through interface backed by ML • Plain English • New life for “record-playback” • ML algorithms maintain the tests • Case: Functionize • https://www.functionize.com/ Intelligent testing Copyright Knowit Solutions Oy and Dragons Out Oy 2024 30
  • 31. • Supports test automation object recognition • Helps with typical GUI recognition problems for test automation • Can be used as a support library for existing test automation • Cases: • ImageHorizonLibrary is a cross-platform library for Robot Framework. • Eficode, Oulu University and Business Finland • https://www.eficode.com/projects/testomat Image recognition with AI for open source test automation Copyright Knowit Solutions Oy and Dragons Out Oy 2024 31
  • 32. Faster test automation scripting with AI assistants Copyright Knowit Solutions Oy and Dragons Out Oy 2024 32
  • 33. • Can LLMs / Generative AI help me? • I want to produce test scripts faster • I want ideas for my test cases / scripts Tester’s objectives Copyright Knowit Solutions Oy and Dragons Out Oy 2024 33
  • 34. • Python-editor PyCharm has Refact.ai library that uses ChatGPT • Understands Python and Robot Framework test automation setup • Refact.ai is labelled as an AI coding assistant software • https://refact.ai/ Python enhanced with ChatGPT Copyright Knowit Solutions Oy and Dragons Out Oy 2024 34
  • 35. • Assist test automation script creation • Suggest what the user might want • What kind of code • What kind of test script • User reviews and approves suggestions • Based on Generative AI • https://github.com/features/copilot Github Copilot Copyright Knowit Solutions Oy and Dragons Out Oy 2024 35
  • 36. • Derive tests from specifications • Create tests based on user input • Enabled by good prompt engineering • Challenge: repeated teaching • User reviews AI proposals and uses in their tests • https://chat.openai.com/ (ChatGPT) • https://gemini.google.com/ • https://copilot.microsoft.com/ (Bing) Generative AI helps in test creation Copyright Knowit Solutions Oy and Dragons Out Oy 2024 36
  • 37. Autonomous testing Copyright Knowit Solutions Oy and Dragons Out Oy 2024 37
  • 38. • Can I have some tests done before I start my test scripting? • Can I leave testing to AI? • Are there some default tests that fit my product testing needs? Tester’s objectives Copyright Knowit Solutions Oy and Dragons Out Oy 2024 38
  • 39. • “World’s first” • Go automatically through mobile apps • Use general test cases • Reinforcement learning • Case: test.ai • https://www.test.ai/ AI-powered mobile test automation platform Copyright Knowit Solutions Oy and Dragons Out Oy 2024 39
  • 40. • Assist extending existing test automation sets • With e.g. Robot Framework, Playwright, Selenium, Cypress • Use tests as self-driving test- bots • Exploring web apps • Regression testing • Autonomous testing • https://wopee.io/ Test automation assistants and bots Copyright Knowit Solutions Oy and Dragons Out Oy 2024 40
  • 41. Resources Copyright Knowit Solutions Oy and Dragons Out Oy 2024 41
  • 42. • Trainings and certifications • https://www.istqb.org/certification-path-root/ai-testing.html • Standards • ISO • AI/ML standard https://www.iso.org/standard/74438.html • Testing of AI-based systems https://www.iso.org/standard/79016.html • IEEE • What is AI Software Testing https://ieeexplore.ieee.org/document/8705808 • AI testing perspectives https://ieeexplore.ieee.org/document/9514942 • Application of AI in Testing https://ieeexplore.ieee.org/document/9676244 Promoting and teaching AI and testing Copyright Knowit Solutions Oy and Dragons Out Oy 2024 42
  • 43. • AI in Testing: Impact, Problems, Challenges and Prospect https://www.researchgate.net/publication/357876318_Artificial_Inte lligence_in_Software_Testing_Impact_Problems_Challenges_and_Pro spect • Utilizing AI in Software Testing https://www.theseus.fi/handle/10024/263992 • AI Applied to Software Testing https://dl.acm.org/doi/10.1145/3616372 • AI Applied to Testing: A Literature Review https://ieeexplore.ieee.org/abstract/document/9141124 • ChatGPT helps testing https://www.linkedin.com/pulse/gpt-4-sdlcs- secret-weapon-reinventing-testing-phase-andy-abbott/ Some more research notes Copyright Knowit Solutions Oy and Dragons Out Oy 2024 43
  • 44. • AI-enabled testing is already a reality • Many companies are enhancing their solutions with AI • New companies are set up around AI • AI can provide simplicity to complex software development projects. • With Generative AI, manual and automated test script creation is more productive • With AI, testing activities can be focused on high-risk areas. • With AI, test automation becomes more autonomous • Testers are freed to create new tests Conclusion Copyright Knowit Solutions Oy and Dragons Out Oy 2024 44