SlideShare a Scribd company logo
© Vehid Geruslu (Vahid Garousi)
Vahid Garousi
AI-powered Software
Testing
(A hands-on tutorial – 3 hours)
1- Software Testing Strategist / Consultant
Testinium A.Ş., Türkiye
ProSys MMC, Azərbaycan
AzInTelecom, Azərbaycan
2- Professor of Software Engineering
Queen’s University Belfast, UK
vgeruslu
vehid.geruslu@gmail.com
www.vgarousi.com
© Vehid Geruslu (Vahid Garousi)
The plan for: AI-powered Software Testing: Hands-on tutorial (3 hours)
● Introduction
○ About the speaker
○ History and evolution of software testing
○ Testing + AI: Two combinations:
■ Testing AI = Testing the AI ​
​
itself versus
■ AI Testing = Using AI to in software testing: to increase effectiveness, efficiency
■ Two separate issues and fields
● AI-powered Software Testing
○ What testing activities can AI help with, and how?
○ Insights and lessons learned from using AI in testing
○ Prompt engineering: The importance of the commands (‘prompts’) that we
give to the AI (LLM)
● Two categories of AI-powered testing tools
○ “General-purpose” AI testing tools: Like ChatGPT
○ “Special-purpose” AI testing tools: 80+ tools already in the market and new
tools coming to the market constantly …
● Conclusions:
○ Insights and implications: for software testing jobs, …
○ The future of this field…
Topics will be presented in a hands-on manner and with live
examples using ChatGPT
2
⏰ ~ 15 minutes
⏰ ~ 20 minutes
⏰ ~ 45 minutes
⏰ ~ 100 minutes
= 1.5 hours
⏰ Total = 180 minutes
Practical
exercises
© Vehid Geruslu (Vahid Garousi)
About the speaker
Education:
PhD in Software Engineering, Carleton University, Ottawa, Canada, 2006
MSc in Software Engineering, University of Waterloo, Canada, 2003
BSc in Software Engineering, Sharif University of Technology, Tehran, 2000
1998-2013
2013- now
2019- now
2022- now
● I have been working in Software Engineering, Testing and QA
since 1998
○ (I wrote my first Test Automation code in 1998 using the IBM
Rational Functional Tester tool, to test an e-commerce web app)
● Origin: Azerbaijani Turkish
● Nationality: Canadian, British
● I have lived and worked in 4 different countries since 2000
● Work experience:
3
My area of ​
​
expertise (in short):
Improving software engineering processes and activities of software companies
...and increasing effectiveness / efficiency / quality
© Vehid Geruslu (Vahid Garousi)
History and evolution of Software Testing, as a field
4
Many software companies around the world have started using artificial
intelligence (AI) in their testing and quality assurance activities...
Let's not be left behind!
© Vehid Geruslu (Vahid Garousi)
Testing + AI: Two combinations…
5
System / component
/ model under test =
Aİ / ML models
System under test (SUT) =
Any software system
Aİ Testing:
Use of AI in software testing activities
Also called:
AI-powered testing
AI-powered testing
AI-augmented testing
AI-driven testing
AI-powered testing
…
Testing of Aİ
Testing of AI models
Testing of AI-enabled software
(software with one or more major AI component)
Tests (assesses accuracy /
precision of)
Tests
Getting
support
Aİ / ML models
/ LLMs
Purpose: To get support from AI in software testing
activities. Mainly: To increase effectiveness and efficiency
(and quality?) of testing
Purpose: To test the AI ​
​
and ML
models / software and verify that
they work correctly.
Or: AI-enabled
software
© Vehid Geruslu (Vahid Garousi)
And an advanced emerging field 🚀: Testing AI using AI
6
Tests
(assesses accuracy and
precision of)
– and even improve !
An AI model / system Another AI model / system
© Vehid Geruslu (Vahid Garousi)
Our plan  AI-powered Software Testing: Hands-on tutorial (3 hours)
● Introduction
○ About the speaker
○ History and evolution of software testing
○ Testing + AI: Two combinations:
■ Testing AI = Testing the AI ​
​
itself versus
■ AI Testing = Getting AI to help with testing
■ Two separate issues and fields
● AI-powered Software Testing
○ What testing activities can AI help with, and how?
○ Insights and lessons learned from using AI in testing
○ Prompt engineering: The importance of the commands
(‘prompts’) that we give to the AI (LLM)
● Two categories of AI-powered testing tools
○ “General-purpose” AI testing tools: Like ChatGPT
○ “Special-purpose” AI testing tools: 80+ tools already in the
market and new tools coming to the market constantly …
● Conclusions:
○ Insights and implications: for software testing jobs, …
○ The future of this field…
Topics will be presented in a hands-on manner and with live
examples using ChatGPT
7
⏰ ~ 15 minutes
⏰ ~ 20 minutes
⏰ ~ 45 minutes
⏰ ~ 100 minutes
= 1.5 hours
⏰ Total = 180 minutes
Practical
exercises
© Vehid Geruslu (Vahid Garousi)
What testing activities can AI assist with and how?
To analyze this, we need to refresh our knowledge of:
● SDLC = Software Development Life Cycle
● STLC = Software Testing Life Cycle
8
© Vehid Geruslu (Vahid Garousi)
What testing activities can AI assist with and how?
● In almost all testing activities… 🤩
● (but the level of help from AI in different test activities can vary)
● (and the level of help could increase as we are advancing in time !)
9
Test-case
Design
Test
Scripting
Test
Execution
Test
Evaluation
Pass
Fail
Test Suites
(set of test
cases)
Test
Results
Bug
(Defect)
Reports
Scripted
test suites
³ Exercise´
(test)
Manual test
suites
Automated
test suites
(e.g., Junit)
Criteria-based
(Systematic)
Human
knowledge-based
(Exploratory)
System Under Test
(SUT)
Activity
Data/
Entity
Legend
Test-
Result
Reporting
Test management (planning, «
Test-Data and
Test-Environment
Management
Other test engineering activities (regression testing, test minimization, etc.)
M T
M T
M T
M T M T M T
M T M T
Manual AI tool
Tool (without AI)
Let’s add more details
to the STLC / process
© Vehid Geruslu (Vahid Garousi)
AI-powered Software Test Management (Test Planning, etc.)
Important point: As software test engineers,
we should definitely review carefully what we
get from AI
10
Live demo +
practice
Creating Test Plans:
Prompt: My task is to test the following mobile banking app:
https://play.google.com/store/apps/details?id=com.pozitron.isc
ep
https://www.isbank.com.tr/iscep
For functional manual testing of this app, provide a draft test
plan document. (Türkçe cevap ver lütfen 🌎 )
Risk Analysis
Prompt: For the same mobile app, perform a detailed Risk
Analys, so that I can add to the test plan document
© Vehid Geruslu (Vahid Garousi)
AI-powered Test Planning: Time for hands-on practice …
● It’s now your turn …
● Prompt: For functional manual testing of the following
mobile app: X, provide a draft test plan
One suggestion  But feel free to use any mobile app idea
● Lessons learned?
○ What are the advantages / benefits of using GenAI for Test
Planning?
○ What are the disadvantages / drawbacks of using GenAI for Test
Planning?
● Or (you can practice with these later):
○ Asking ask for draft test plans for Functional “automated” testing
○ Asking ask for draft test plans for Automated performance testing
○ Asking ask for draft test plans for Automated security testing
○ …
● Some other app ideas, as Systems Under Test (SUTs).
You can use GenAI to test them later 
11
© Vehid Geruslu (Vahid Garousi)
AI-powered Software Test Management (Test Planning, etc.)
● In AI-powered Software Testing, we often need to have an iterative
interaction with the AI / LLM
● … to get the most help that we want, from the AI
12
Just like we ask our
colleagues (other software
engineers)
Yes, this is what I
wanted!
Is this what I wanted?
Can I get a better result?
© Vehid Geruslu (Vahid Garousi)
AI-powered Software Test Management (Test planning, effort estimation, …)
Test effort estimation
● Prompt: For the same mobile app, for the Functional Manual Test Plan
above, perform test effort estimation
Importance of our prompts, to the GenAI:
● If we issue a general command, and we do not specify the type of effort
estimation approach, the AI ​
​
will choose any method
● But if we ask specific questions, we will get specific and often better / more
precise answers from the AI.
● Just like we ask our colleagues (other software engineers)
13
Live demo
© Vehid Geruslu (Vahid Garousi)
AI-powered Software Testing: Let’s move to another testing activity
14
Test-case
Design
Test
Scripting
Test
Execution
Test
Evaluation
Pass
Fail
Test Suites
(set of test
cases)
Test
Results
Bug
(Defect)
Reports
Scripted
test suites
³ Exercise´
(test)
Manual test
suites
Automated
test suites
(e.g., Junit)
Criteria-based
(Systematic)
Human
knowledge-based
(Exploratory)
System Under Test
(SUT)
Activity
Data/
Entity
Legend
Test-
Result
Reporting
Test management (planning, «
Test-Data and
Test-Environment
Management
Other test engineering activities (regression testing, test minimization, etc.)
M T
M T
M T
M T M T M T
M T M T
Manual AI tool
Tool (without AI)
What we will now learn
What we just learned
© Vehid Geruslu (Vahid Garousi)
AI-powered Software Test-case Design
● What is test-case design (or just test design)?
● Various types (forms) of test cases?
○ tests in tabular format, automated test-code, etc.
● Example: We can issue the prompt to the GenAI
in different ways:
15
Test case design is a systematic /
structured approach to creating
test cases, outlining the test
inputs / steps / conditions, and
expected results to verify if a
software feature or functionality
is working as intended.
Which input fields?
We always need to give the
RIGHT direction to the AI tool
Conclusions:
• For many years to come, we still need to be in FULL CONTROL of how we
benefit from AI in our Software Engineering activities, and how it
generates artifacts for our tasks
• … until AI becomes capable enough to make near-zero mistakes!
• We don’t know when that will be: in 5, 10, 20 years?
© Vehid Geruslu (Vahid Garousi)
AI-powered Software Test-case Design
● For test-case design, we also need to consider another important concept: coverage
● How many types of coverage do we have?
● In testing, there are two types of coverage: Test coverage, and code coverage
○ Prompt: I want you to do test-case design based on test (requirements) coverage. For this, I suggest you generate
requirements for the same above mobile app (İşCep) in form of user stories. Then use those requirements to
generate test cases that "cover" (test) all requirements. You can use tabular format for presentation, if that is
suitable. Respond in English
■ Option for later: Respond in Turkish.
○ Prompt: For the same İşCep Mobile Banking App, as the next activity, I want you to do test-case design based on
code coverage, this time.
■ For brevity, let’s only do this for the “Login” feature. To see code coverage in this example, generate back-
end code in Java for Login feature.
■ Then use generate test cases in tabular format to fully "cover" (test) the code. Note: I want test cases, and
not test code (yet)
■ When you design test cases in the process, provide details of which lines of code are covered by which test
cases. And explain how you are adding new test cases to cover the uncovered lines of code so far. Respond
in English
■ Option for later: Respond in Turkish. All code and variables / comments in it should also be in Turkish 16
Live
demo
Test coverage Code coverage
Percentage of requirements
tested during testing %
Percentage of code executed
during testing %
© Vehid Geruslu (Vahid Garousi)
AI-powered Software Test-case Design (Exploratory Testing)
● But Exploratory testing ≠ Random (monkey) testing
● AI-powered Exploratory Testing: Do you think AI
could do / support Exploratory Testing?
○ AI cannot yet replace human test engineers in full execution
of Exploratory Testing, due to its current limitation of learning
“context”
○ But that could change in a few years 
○ For now, AI can support test engineers in Exploratory Testing.
Let’s ask the AI itself!
17
● Exploratory Testing: let’s recall what it is…
○ A common approach: using Test Charters 
How can you help in Exploratory testing in general?
© Vehid Geruslu (Vahid Garousi)
More details on: AI assisting with or itself doing Exploratory Testing
18
© Vehid Geruslu (Vahid Garousi)
AI-powered Software Testing: Auto generation of test-code from designed test-cases
● Prompt: For the same İşCep
Mobile Banking App:
○ I want you to “script” (write)
automated test code in Java
Selenium, using the test-cases that
you designed in the previous
interaction, for the “Login” feature
○ No need for POM.XML or other info.
Just give the Java Selenium code
○ (Code elements should all be in
Turkish)
● Insights / observations :
19
Test-case
Design
Test
Scripting
Test
Execution
Test Suites
(set of test
cases)
Scripted
test suites
³ E
Manual test
suites
Automated
test suites
(e.g., Junit)
Criteria-based
(Systematic)
Human
knowledge-based
(Exploratory)
Test management (planning, «
Other test engineering activities (regression testing, tes
M T M T
M T M T
Manual AI tool
Tool (without AI)
Canlı
demo
© Vehid Geruslu (Vahid Garousi)
● Prompt: Can you run each of the above manual or automated test
cases on the SUT?
● Prompt: For the “Login” feature of the same İşCep Mobile Banking
App:
1. First generate prototype back-end (production) code in Java
for the Login feature
2. Then do white-box test-case design to derive the list of test
cases (in tabular format), to have full “branch" coverage on
the code. Note: I want test cases, and not test code
3. Then, generate Selenium Java test code for those design
test-cases, clearly matching each test method to each
designed test cases
4. Run (in your simulation mode, obviously not on the actual
app) the Selenium Java test suite on the prototype back-end
code for the Login feature, and report the test output
Show details of each step as you proceed. Answer in all English
20
Test-case
Design
Test
Scripting
Test
Execution
Tes
Evalua
Test Suites
(set of test
cases)
Scripted
test suites
³ Exercise´
(test)
Manual test
suites
Automated
test suites
(e.g., Junit)
Criteria-based
(Systematic)
Human
knowledge-based
(Exploratory)
System
Test management (planning, «
Test-D
Test-Env
Manag
Other test engineering activities (regression testing, test minimiza
M T M T M T
M T M T
Manual AI tool
Tool (without AI)
Canlı
demo
AI-powered Test Execution
© Vehid Geruslu (Vahid Garousi)
AI-powered Test Execution
● As we saw, as “general-purpose” AI tool, GPT
does not help much in this test activity
● Prompt:
○ Show the names of a few AI-powered Test “Execution”
tools and their features
○ Note: I am not referring to AI tools which do test-code
maintenance (such as the self-healing feature), but
only those AI-powered tools that help in "execution" of
tests, running tests intelligently.
○ Explain each feature briefly 
● Note: Two categories of AI-powered testing
tools (we will explore this topic later in the tutorial)
○ “General-purpose” AI testing tools: Like ChatGPT
○ “Special-purpose” AI testing tools: 80+ tools already in
the market and new tools coming to the market
constantly …
21
© Vehid Geruslu (Vahid Garousi)
Prompt: For the same İşCep mobile banking app as the SUT:
○ If we want to test real SUT, the mobile app on an actual phone
○ What kind of other help can you provide for the “Test Evaluation” phase of the STLC? see attached
Prompt: For the same İşCep app as the SUT:
○ For the Test Evaluation phase, give one single concrete example of the help that you can provide
Let’s focus on Test flakiness…. A flaky test is a software test that yields both passing and failing
results despite zero changes to the code or test.
Prompt: Test flakiness is widely discussed in the testing industry. For the same İşCep app:
○ In the Test Evaluation phase, how would you help us identify and prevent test flakiness?
22
Canlı
demo
Test-case
Design
Test
Scripting
Test
Execution
Test
Evaluation
Pass
Fail
Test Suites
(set of test
cases)
Test
Results
Bug
(Defect)
Reports
Scripted
test suites
³ Exercise´
(test)
Manual test
suites
Automated
test suites
(e.g., Junit)
Criteria-based
(Systematic)
Human
knowledge-based
(Exploratory)
System Under Test
(SUT)
Activity
Data/
Entity
Legend
Test-
Result
Reporting
Test management (planning, «
Test-Data and
Test-Environment
Management
Other test engineering activities (regression testing, test minimization, etc.)
M T
M T
M T
M T M T M T
M T M T
Manual AI tool
Tool (without AI)
AI-powered Test Evaluation
© Vehid Geruslu (Vahid Garousi)
Prompt:
○ In the login page of a university online service…
○ I have received the following error message, which I believe is a bug
○ My question: Do you agree that it is a bug?
○ If you agree that it is a bug, generate a detailed bug report?
23
Canlı
demo
Test-case
Design
Test
Scripting
Test
Execution
Test
Evaluation
Pass
Fail
Test Suites
(set of test
cases)
Test
Results
Bug
(Defect)
Reports
Scripted
test suites
³ Exercise´
(test)
Manual test
suites
Automated
test suites
(e.g., Junit)
Criteria-based
(Systematic)
Human
knowledge-based
(Exploratory)
System Under Test
(SUT)
Activity
Data/
Entity
Legend
Test-
Result
Reporting
Test management (planning, «
Test-Data and
Test-Environment
Management
Other test engineering activities (regression testing, test minimization, etc.)
M T
M T
M T
M T M T M T
M T M T
Manual AI tool
Tool (without AI)
AI-powered Reporting of Test Results and Defects
© Vehid Geruslu (Vahid Garousi) 24
Test-case
Design
Test
Scripting
Test
Execution
Test
Evaluation
Pass
Fail
Test Suites
(set of test
cases)
Test
Results
Bug
(Defect)
Reports
Scripted
test suites
³ Exercise´
(test)
Manual test
suites
Automated
test suites
(e.g., Junit)
Criteria-based
(Systematic)
Human
knowledge-based
(Exploratory)
System Under Test
(SUT)
Activity
Data/
Entity
Legend
Test-
Result
Reporting
Test management (planning, «
Test-Data and
Test-Environment
Management
Other test engineering activities (regression testing, test minimization, etc.)
M T
M T
M T
M T M T M T
M T M T
Manual AI tool
Tool (without AI)
AI-powered Test-Data Management
● Test Data Management (TDM) is the process of …
○ planning, creating, storage, maintaining and deleting datasets used in software testing
● Prompt: For the same İşCep app as the
SUT:
○ Explain, using concrete examples, the
assistance that you can provide in test-data
management
© Vehid Geruslu (Vahid Garousi)
AI-powered Test-Environment Management
● Test Environment Management (TEM) is a crucial process that ensures Test
Engineers have access to functional, stable, and usable environments for testing,
bug replication, and overall software quality improvement
25
© Vehid Geruslu (Vahid Garousi)
AI-powered Test-Environment Management
● Prompt: For the same İşCep app as the SUT:
○ Explain, using concrete examples, the assistance that you can provide in Test-Environment
management
● Prompt: Define a comprehensive device matrix, for Test-Environment management
26
© Vehid Geruslu (Vahid Garousi)
Our plan  AI-powered Software Testing: Hands-on tutorial (3 hours)
● Introduction
○ About the speaker
○ History and evolution of software testing
○ Testing + AI: Two combinations:
■ Testing AI = Testing the AI ​
​
itself versus
■ AI Testing = Getting AI to help with testing
■ Two separate issues and fields
● AI-powered Software Testing
○ What testing activities can AI help with, and how?
○ Insights and lessons learned from using AI in testing
○ Prompt engineering: The importance of the commands
(‘prompts’) that we give to the AI (LLM)
● Two categories of AI-powered testing tools
○ “General-purpose” AI testing tools: Like ChatGPT
○ “Special-purpose” AI testing tools: 80+ tools already in the
market and new tools coming to the market constantly …
● Conclusions:
○ Insights and implications: for software testing jobs, …
○ The future of this field…
Topics will be presented in a hands-on manner and with live
examples using ChatGPT
27
⏰ ~ 15 minutes
⏰ ~ 20 minutes
⏰ ~ 45 minutes
⏰ ~ 100 minutes
= 1.5 hours
⏰ Total = 180 minutes
Practical
exercises
© Vehid Geruslu (Vahid Garousi) 28
Human-AI collaboration is a strategic
partnership between AI and human intelligence.
It combines the strengths of both to solve
problems, and improve outcomes.
© Vehid Geruslu (Vahid Garousi)
Our plan  AI-powered Software Testing: Hands-on tutorial (3 hours)
● Introduction
○ About the speaker
○ History and evolution of software testing
○ Testing + AI: Two combinations:
■ Testing AI = Testing the AI ​
​
itself versus
■ AI Testing = Getting AI to help with testing
■ Two separate issues and fields
● AI-powered Software Testing
○ What testing activities can AI help with, and how?
○ Insights and lessons learned from using AI in testing
○ Prompt Engineering: The importance of the commands
(‘prompts’) that we give to the GenAI / LLMs
● Two categories of AI-powered testing tools
○ “General-purpose” AI testing tools: Like ChatGPT
○ “Special-purpose” AI testing tools: 80+ tools already in the
market and new tools coming to the market constantly …
● Conclusions:
○ Insights and implications: for software testing jobs, …
○ The future of this field…
Topics will be presented in a hands-on manner and with live
examples using ChatGPT
29
⏰ ~ 15 minutes
⏰ ~ 20 minutes
⏰ ~ 45 minutes
⏰ ~ 100 minutes
= 1.5 hours
⏰ Total = 180 minutes
Practical
exercises
© Vehid Geruslu (Vahid Garousi)
The quality of the results we get from AI depends on the commands we give to AI
30
© Vehid Geruslu (Vahid Garousi)
Prompt Engineering
● To get the quality response we want from AI, we must write effective
and high-quality prompts…
There are MANY resources on the internet:
© Vehid Geruslu (Vahid Garousi)
Prompt Engineering – Job Positions !
32
© Vehid Geruslu (Vahid Garousi)
Our plan  AI-powered Software Testing: Hands-on tutorial (3 hours)
● Introduction
○ About the speaker
○ History and evolution of software testing
○ Testing + AI: Two combinations:
■ Testing AI = Testing the AI ​
​
itself versus
■ AI Testing = Getting AI to help with testing
■ Two separate issues and fields
● AI-powered Software Testing
○ What testing activities can AI help with, and how?
○ Insights and lessons learned from using AI in testing
○ Prompt Engineering: The importance of the commands
(‘prompts’) that we give to the GenAI / LLMs
● Two categories of AI-powered testing tools
○ “General-purpose” AI testing tools: Like ChatGPT
○ “Special-purpose” AI testing tools: 80+ tools already in the
market and new tools coming to the market constantly …
● Conclusions:
○ Insights and implications: for software testing jobs, …
○ The future of this field…
Topics will be presented in a hands-on manner and with live
examples using ChatGPT
33
⏰ ~ 15 minutes
⏰ ~ 20 minutes
⏰ ~ 45 minutes
⏰ ~ 100 minutes
= 1.5 hours
⏰ Total = 180 minutes
Practical
exercises
© Vehid Geruslu (Vahid Garousi)
Two categories of AI-powered testing tools
34
General-purpose Specific-purpose
(have been developed only for Software Testing)
© Vehid Geruslu (Vahid Garousi)
Specific-purpose AI testing tools – An example
● Self-healing of UI tests: Has become a major trend in the industry
○ Self-healing UI tests use AI to automatically adapt to changes in the application's
UI, reducing manual test-code maintenance and ensuring tests remain valid even
with UI modifications.
● A few interesting videos:
○ youtube.com/watch?v=cWX2uvygLg4
○ youtube.com/watch?v=O8z_sBDFL5A
35
© Vehid Geruslu (Vahid Garousi)
Specific-purpose AI testing tools – An example
● healenium.io
36
I am reviewing tools such as https://healenium.io/ . can
you give an estimate on extent of effort spent on
maintaining "locators" in Selenium tests
Old UI
Updated new UI
© Vehid Geruslu (Vahid Garousi)
Our plan  AI-powered Software Testing: Hands-on tutorial (3 hours)
● Introduction
○ About the speaker
○ History and evolution of software testing
○ Testing + AI: Two combinations:
■ Testing AI = Testing the AI ​
​
itself versus
■ AI Testing = Getting AI to help with testing
■ Two separate issues and fields
● AI-powered Software Testing
○ What testing activities can AI help with, and how?
○ Insights and lessons learned from using AI in testing
○ Prompt Engineering: The importance of the commands
(‘prompts’) that we give to the GenAI / LLMs
● Two categories of AI-powered testing tools
○ “General-purpose” AI testing tools: Like ChatGPT
○ “Special-purpose” AI testing tools: 80+ tools already in the
market and new tools coming to the market constantly …
● Conclusions:
○ Insights and implications: for software testing jobs, …
○ The future of this field…
Topics will be presented in a hands-on manner and with live
examples using ChatGPT
37
⏰ ~ 15 minutes
⏰ ~ 20 minutes
⏰ ~ 45 minutes
⏰ ~ 100 minutes
= 1.5 hours
⏰ Total = 180 minutes
Practical
exercises
© Vehid Geruslu (Vahid Garousi)
Insights and implications Human
Software Tester
AI Software Tester:
Will it replace us?
● Human versus AI?
Or:
● Human with (and) AI
(collaboration)?
We
are here
~2015 ~2040 ?
When?
(timeline)
38
© Vehid Geruslu (Vahid Garousi)
Insights and implications
Human
Software Tester
AI
Software Tester
39
© Vehid Geruslu (Vahid Garousi)
Insights and implications
● Who learned what and where?
● Both can make mistakes 🐞 in all tasks, including in software testing activities
● What can each do faster and with better quality? (effectiveness and efficiency)
the World Wide Web contains over 100
billion indexed pages
100,000,000,000 +
40
© Vehid Geruslu (Vahid Garousi)
Insights and implications
● A typical Software Test Engineer asks herself:
○ “Should I do this testing activity on my own, or should I get help from AI?”
● What can we (test engineers) do faster and with better quality? (efficiency and productivity)
● What can AI do faster and with better quality?
● I have observed these in my own 2 years of AI-assisted Software Testing experience
In software testing, I want a table to support my own decision-making of when to use AI
and when not to.
Create a table showing: what we (test engineers) can do faster and with higher quality
(effectiveness and efficiency), and what AI can do faster and with higher quality
41
© Vehid Geruslu (Vahid Garousi)
The future of the field: Levels of autonomy in software testing
with AI
● To what extent can AI help us? A little or a lot?
● First, let's look at the topic in another context: A well-known model in the
autonomous vehicle sector (levels of autonomy)...
● We can think of a similar model for software testing. Where do you think we
are?
42
© Vehid Geruslu (Vahid Garousi)
The future of the field: Levels of autonomy in software testing with AI
● In your opinion, where are we in this model in the software
testing field?
● Let's ask GPT itself
43
© Vehid Geruslu (Vahid Garousi)
The future of this field: How will AI change and impact the work of test engineers?
44
© Vehid Geruslu (Vahid Garousi) 45
© Vehid Geruslu (Vahid Garousi)
AI-powered Software Testing:
The Future is Here
(A hands-on tutorial – 3 hours)
* Also called: AI-driven (AI having a major / active role), AI-powered,
AI-enabled, AI-augmented, …
Vahid Garousi
(Vehid Geruslu)
1- Software Testing Strategist / Consultant
Testinium A.Ş., Türkiye
ProSys MMC, Azərbaycan
AzInTelecom, Azərbaycan
2- Professor of Software Engineering
Queen’s University Belfast, UK
vgeruslu
vehid.geruslu@gmail.com
www.vgarousi.com
Ad

More Related Content

Similar to AI-assisted Software Testing (3-hours tutorial) (20)

Test automation and Agile software development
Test automation and Agile software developmentTest automation and Agile software development
Test automation and Agile software development
Bas Dijkstra
 
Different Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application TestingDifferent Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application Testing
Rachel Davis
 
Introducing automated GUI testing and observing its benefits: an industrial c...
Introducing automated GUI testing and observing its benefits: an industrial c...Introducing automated GUI testing and observing its benefits: an industrial c...
Introducing automated GUI testing and observing its benefits: an industrial c...
Vəhid Gəruslu
 
Writing Tests with the Unity Test Framework
Writing Tests with the Unity Test FrameworkWriting Tests with the Unity Test Framework
Writing Tests with the Unity Test Framework
Peter Kofler
 
Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test Automation
Mindfire LLC
 
Test automation - Building effective solutions
Test automation - Building effective solutionsTest automation - Building effective solutions
Test automation - Building effective solutions
Artem Nagornyi
 
Agile testing (n)
Agile testing (n)Agile testing (n)
Agile testing (n)
Beata Nagy-Kovacs
 
What is Test Matrix?
What is Test Matrix?What is Test Matrix?
What is Test Matrix?
QA InfoTech
 
Top Software Testing Tools for 2024 - All You Need to Know About.pdf
Top Software Testing Tools for 2024 - All You Need to Know About.pdfTop Software Testing Tools for 2024 - All You Need to Know About.pdf
Top Software Testing Tools for 2024 - All You Need to Know About.pdf
flufftailshop
 
Quality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps cultureQuality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps culture
Rik Marselis
 
End-to-End Test Automation for Both Horizontal and Vertical Scale
End-to-End Test Automation for Both Horizontal and Vertical ScaleEnd-to-End Test Automation for Both Horizontal and Vertical Scale
End-to-End Test Automation for Both Horizontal and Vertical Scale
Erdem YILDIRIM
 
[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguy...
[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguy...[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguy...
[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguy...
DevDay Da Nang
 
Next level of test automation with Model-based Testing (MBT): Experience and ...
Next level of test automation with Model-based Testing (MBT): Experience and ...Next level of test automation with Model-based Testing (MBT): Experience and ...
Next level of test automation with Model-based Testing (MBT): Experience and ...
Vəhid Gəruslu
 
Test Automation Strategies and Frameworks: What Should Your Team Do?
Test Automation Strategies and Frameworks: What Should Your Team Do?Test Automation Strategies and Frameworks: What Should Your Team Do?
Test Automation Strategies and Frameworks: What Should Your Team Do?
TechWell
 
Wso2con test-automation
Wso2con test-automationWso2con test-automation
Wso2con test-automation
krishantha_samaraweera
 
The End Of Testing As We Know It (TestCon - Rik Marselis).pdf
The End Of Testing As We Know It (TestCon - Rik Marselis).pdfThe End Of Testing As We Know It (TestCon - Rik Marselis).pdf
The End Of Testing As We Know It (TestCon - Rik Marselis).pdf
Rik Marselis
 
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
Future Processing
 
Continuous Intelligence Workshop
Continuous Intelligence WorkshopContinuous Intelligence Workshop
Continuous Intelligence Workshop
David Tan
 
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Riccardo Coppola
 
Mobile Automation Basic Concepts / Demo
Mobile Automation Basic Concepts / DemoMobile Automation Basic Concepts / Demo
Mobile Automation Basic Concepts / Demo
TestingCR
 
Test automation and Agile software development
Test automation and Agile software developmentTest automation and Agile software development
Test automation and Agile software development
Bas Dijkstra
 
Different Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application TestingDifferent Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application Testing
Rachel Davis
 
Introducing automated GUI testing and observing its benefits: an industrial c...
Introducing automated GUI testing and observing its benefits: an industrial c...Introducing automated GUI testing and observing its benefits: an industrial c...
Introducing automated GUI testing and observing its benefits: an industrial c...
Vəhid Gəruslu
 
Writing Tests with the Unity Test Framework
Writing Tests with the Unity Test FrameworkWriting Tests with the Unity Test Framework
Writing Tests with the Unity Test Framework
Peter Kofler
 
Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test Automation
Mindfire LLC
 
Test automation - Building effective solutions
Test automation - Building effective solutionsTest automation - Building effective solutions
Test automation - Building effective solutions
Artem Nagornyi
 
What is Test Matrix?
What is Test Matrix?What is Test Matrix?
What is Test Matrix?
QA InfoTech
 
Top Software Testing Tools for 2024 - All You Need to Know About.pdf
Top Software Testing Tools for 2024 - All You Need to Know About.pdfTop Software Testing Tools for 2024 - All You Need to Know About.pdf
Top Software Testing Tools for 2024 - All You Need to Know About.pdf
flufftailshop
 
Quality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps cultureQuality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps culture
Rik Marselis
 
End-to-End Test Automation for Both Horizontal and Vertical Scale
End-to-End Test Automation for Both Horizontal and Vertical ScaleEnd-to-End Test Automation for Both Horizontal and Vertical Scale
End-to-End Test Automation for Both Horizontal and Vertical Scale
Erdem YILDIRIM
 
[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguy...
[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguy...[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguy...
[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguy...
DevDay Da Nang
 
Next level of test automation with Model-based Testing (MBT): Experience and ...
Next level of test automation with Model-based Testing (MBT): Experience and ...Next level of test automation with Model-based Testing (MBT): Experience and ...
Next level of test automation with Model-based Testing (MBT): Experience and ...
Vəhid Gəruslu
 
Test Automation Strategies and Frameworks: What Should Your Team Do?
Test Automation Strategies and Frameworks: What Should Your Team Do?Test Automation Strategies and Frameworks: What Should Your Team Do?
Test Automation Strategies and Frameworks: What Should Your Team Do?
TechWell
 
The End Of Testing As We Know It (TestCon - Rik Marselis).pdf
The End Of Testing As We Know It (TestCon - Rik Marselis).pdfThe End Of Testing As We Know It (TestCon - Rik Marselis).pdf
The End Of Testing As We Know It (TestCon - Rik Marselis).pdf
Rik Marselis
 
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
[QE 2018] Paul Gerrard – Automating Assurance: Tools, Collaboration and DevOps
Future Processing
 
Continuous Intelligence Workshop
Continuous Intelligence WorkshopContinuous Intelligence Workshop
Continuous Intelligence Workshop
David Tan
 
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Automated Generation, Evolution and Maintenance: a perspective for mobile GUI...
Riccardo Coppola
 
Mobile Automation Basic Concepts / Demo
Mobile Automation Basic Concepts / DemoMobile Automation Basic Concepts / Demo
Mobile Automation Basic Concepts / Demo
TestingCR
 

More from Vəhid Gəruslu (20)

Seminar: Tədqiqat üsulları-Dünya səviyyəli tədqiqatlar, Prof. Dr. Vəhid Gəruslu
Seminar: Tədqiqat üsulları-Dünya səviyyəli tədqiqatlar, Prof. Dr. Vəhid GərusluSeminar: Tədqiqat üsulları-Dünya səviyyəli tədqiqatlar, Prof. Dr. Vəhid Gəruslu
Seminar: Tədqiqat üsulları-Dünya səviyyəli tədqiqatlar, Prof. Dr. Vəhid Gəruslu
Vəhid Gəruslu
 
Pragmatic look at education and training of software test engineers: Further ...
Pragmatic look at education and training of software test engineers: Further ...Pragmatic look at education and training of software test engineers: Further ...
Pragmatic look at education and training of software test engineers: Further ...
Vəhid Gəruslu
 
Coverage measurement in model-based testing of web applications: Tool suppor...
Coverage measurement in model-based testing of web applications: Tool suppor...Coverage measurement in model-based testing of web applications: Tool suppor...
Coverage measurement in model-based testing of web applications: Tool suppor...
Vəhid Gəruslu
 
Experience and best practices from automated software testing in the finance ...
Experience and best practices from automated software testing in the finance ...Experience and best practices from automated software testing in the finance ...
Experience and best practices from automated software testing in the finance ...
Vəhid Gəruslu
 
Model-based Testing (MBT) of web and mobile applications: A practical tutorial
Model-based Testing (MBT) of web and mobile applications: A practical tutorialModel-based Testing (MBT) of web and mobile applications: A practical tutorial
Model-based Testing (MBT) of web and mobile applications: A practical tutorial
Vəhid Gəruslu
 
Application of TMMi to improve test approaches and processes: Experience from...
Application of TMMi to improve test approaches and processes: Experience from...Application of TMMi to improve test approaches and processes: Experience from...
Application of TMMi to improve test approaches and processes: Experience from...
Vəhid Gəruslu
 
Talk by Dr. Vahid Garousi, in the Turkey-UK Research Partnerships Event (Feb ...
Talk by Dr. Vahid Garousi, in the Turkey-UK Research Partnerships Event (Feb ...Talk by Dr. Vahid Garousi, in the Turkey-UK Research Partnerships Event (Feb ...
Talk by Dr. Vahid Garousi, in the Turkey-UK Research Partnerships Event (Feb ...
Vəhid Gəruslu
 
Industry-academia collaborations in Software Engineering: 20+ Years of Experi...
Industry-academia collaborations in Software Engineering: 20+ Years of Experi...Industry-academia collaborations in Software Engineering: 20+ Years of Experi...
Industry-academia collaborations in Software Engineering: 20+ Years of Experi...
Vəhid Gəruslu
 
Education and Training of Highly-skills Software Test Engineers
Education and Training of Highly-skills Software Test EngineersEducation and Training of Highly-skills Software Test Engineers
Education and Training of Highly-skills Software Test Engineers
Vəhid Gəruslu
 
Test automation with the Gauge framework: Experience and best practices -- SE...
Test automation with the Gauge framework: Experience and best practices -- SE...Test automation with the Gauge framework: Experience and best practices -- SE...
Test automation with the Gauge framework: Experience and best practices -- SE...
Vəhid Gəruslu
 
Benefitting from the Grey Literature in Software Engineering Research
Benefitting from the Grey Literature in Software Engineering ResearchBenefitting from the Grey Literature in Software Engineering Research
Benefitting from the Grey Literature in Software Engineering Research
Vəhid Gəruslu
 
Slides for for JSS "Happy Hour": Aligning software engineering education with...
Slides for for JSS "Happy Hour": Aligning software engineering education with...Slides for for JSS "Happy Hour": Aligning software engineering education with...
Slides for for JSS "Happy Hour": Aligning software engineering education with...
Vəhid Gəruslu
 
Experience in conducting 19 secondary (survey) studies in Software Engineering
Experience in conducting 19 secondary (survey) studies in Software EngineeringExperience in conducting 19 secondary (survey) studies in Software Engineering
Experience in conducting 19 secondary (survey) studies in Software Engineering
Vəhid Gəruslu
 
Sustainability of Scientific Software: Experience from Several Projects
Sustainability of Scientific Software: Experience from Several ProjectsSustainability of Scientific Software: Experience from Several Projects
Sustainability of Scientific Software: Experience from Several Projects
Vəhid Gəruslu
 
Career paths, training and learning resources in software test engineering
Career paths, training and learning resources in software test engineeringCareer paths, training and learning resources in software test engineering
Career paths, training and learning resources in software test engineering
Vəhid Gəruslu
 
Industry-academia collaborations in software testing: Success stories from Ca...
Industry-academia collaborations in software testing: Success stories from Ca...Industry-academia collaborations in software testing: Success stories from Ca...
Industry-academia collaborations in software testing: Success stories from Ca...
Vəhid Gəruslu
 
An overview of automated test suites and defect density in Android
An overview of automated test suites and defect density in AndroidAn overview of automated test suites and defect density in Android
An overview of automated test suites and defect density in Android
Vəhid Gəruslu
 
inforte.fi invited talk-Day 2: Conducting industry-relevant software enginee...
inforte.fi invited talk-Day 2: Conducting industry-relevant software enginee...inforte.fi invited talk-Day 2: Conducting industry-relevant software enginee...
inforte.fi invited talk-Day 2: Conducting industry-relevant software enginee...
Vəhid Gəruslu
 
inforte.fi invited talk-Day 1: Conducting industry-relevant software engineer...
inforte.fi invited talk-Day 1: Conducting industry-relevant software engineer...inforte.fi invited talk-Day 1: Conducting industry-relevant software engineer...
inforte.fi invited talk-Day 1: Conducting industry-relevant software engineer...
Vəhid Gəruslu
 
Can we do it better? Improving the maturity of software testing in test teams
Can we do it better? Improving the maturity of software testing in test teamsCan we do it better? Improving the maturity of software testing in test teams
Can we do it better? Improving the maturity of software testing in test teams
Vəhid Gəruslu
 
Seminar: Tədqiqat üsulları-Dünya səviyyəli tədqiqatlar, Prof. Dr. Vəhid Gəruslu
Seminar: Tədqiqat üsulları-Dünya səviyyəli tədqiqatlar, Prof. Dr. Vəhid GərusluSeminar: Tədqiqat üsulları-Dünya səviyyəli tədqiqatlar, Prof. Dr. Vəhid Gəruslu
Seminar: Tədqiqat üsulları-Dünya səviyyəli tədqiqatlar, Prof. Dr. Vəhid Gəruslu
Vəhid Gəruslu
 
Pragmatic look at education and training of software test engineers: Further ...
Pragmatic look at education and training of software test engineers: Further ...Pragmatic look at education and training of software test engineers: Further ...
Pragmatic look at education and training of software test engineers: Further ...
Vəhid Gəruslu
 
Coverage measurement in model-based testing of web applications: Tool suppor...
Coverage measurement in model-based testing of web applications: Tool suppor...Coverage measurement in model-based testing of web applications: Tool suppor...
Coverage measurement in model-based testing of web applications: Tool suppor...
Vəhid Gəruslu
 
Experience and best practices from automated software testing in the finance ...
Experience and best practices from automated software testing in the finance ...Experience and best practices from automated software testing in the finance ...
Experience and best practices from automated software testing in the finance ...
Vəhid Gəruslu
 
Model-based Testing (MBT) of web and mobile applications: A practical tutorial
Model-based Testing (MBT) of web and mobile applications: A practical tutorialModel-based Testing (MBT) of web and mobile applications: A practical tutorial
Model-based Testing (MBT) of web and mobile applications: A practical tutorial
Vəhid Gəruslu
 
Application of TMMi to improve test approaches and processes: Experience from...
Application of TMMi to improve test approaches and processes: Experience from...Application of TMMi to improve test approaches and processes: Experience from...
Application of TMMi to improve test approaches and processes: Experience from...
Vəhid Gəruslu
 
Talk by Dr. Vahid Garousi, in the Turkey-UK Research Partnerships Event (Feb ...
Talk by Dr. Vahid Garousi, in the Turkey-UK Research Partnerships Event (Feb ...Talk by Dr. Vahid Garousi, in the Turkey-UK Research Partnerships Event (Feb ...
Talk by Dr. Vahid Garousi, in the Turkey-UK Research Partnerships Event (Feb ...
Vəhid Gəruslu
 
Industry-academia collaborations in Software Engineering: 20+ Years of Experi...
Industry-academia collaborations in Software Engineering: 20+ Years of Experi...Industry-academia collaborations in Software Engineering: 20+ Years of Experi...
Industry-academia collaborations in Software Engineering: 20+ Years of Experi...
Vəhid Gəruslu
 
Education and Training of Highly-skills Software Test Engineers
Education and Training of Highly-skills Software Test EngineersEducation and Training of Highly-skills Software Test Engineers
Education and Training of Highly-skills Software Test Engineers
Vəhid Gəruslu
 
Test automation with the Gauge framework: Experience and best practices -- SE...
Test automation with the Gauge framework: Experience and best practices -- SE...Test automation with the Gauge framework: Experience and best practices -- SE...
Test automation with the Gauge framework: Experience and best practices -- SE...
Vəhid Gəruslu
 
Benefitting from the Grey Literature in Software Engineering Research
Benefitting from the Grey Literature in Software Engineering ResearchBenefitting from the Grey Literature in Software Engineering Research
Benefitting from the Grey Literature in Software Engineering Research
Vəhid Gəruslu
 
Slides for for JSS "Happy Hour": Aligning software engineering education with...
Slides for for JSS "Happy Hour": Aligning software engineering education with...Slides for for JSS "Happy Hour": Aligning software engineering education with...
Slides for for JSS "Happy Hour": Aligning software engineering education with...
Vəhid Gəruslu
 
Experience in conducting 19 secondary (survey) studies in Software Engineering
Experience in conducting 19 secondary (survey) studies in Software EngineeringExperience in conducting 19 secondary (survey) studies in Software Engineering
Experience in conducting 19 secondary (survey) studies in Software Engineering
Vəhid Gəruslu
 
Sustainability of Scientific Software: Experience from Several Projects
Sustainability of Scientific Software: Experience from Several ProjectsSustainability of Scientific Software: Experience from Several Projects
Sustainability of Scientific Software: Experience from Several Projects
Vəhid Gəruslu
 
Career paths, training and learning resources in software test engineering
Career paths, training and learning resources in software test engineeringCareer paths, training and learning resources in software test engineering
Career paths, training and learning resources in software test engineering
Vəhid Gəruslu
 
Industry-academia collaborations in software testing: Success stories from Ca...
Industry-academia collaborations in software testing: Success stories from Ca...Industry-academia collaborations in software testing: Success stories from Ca...
Industry-academia collaborations in software testing: Success stories from Ca...
Vəhid Gəruslu
 
An overview of automated test suites and defect density in Android
An overview of automated test suites and defect density in AndroidAn overview of automated test suites and defect density in Android
An overview of automated test suites and defect density in Android
Vəhid Gəruslu
 
inforte.fi invited talk-Day 2: Conducting industry-relevant software enginee...
inforte.fi invited talk-Day 2: Conducting industry-relevant software enginee...inforte.fi invited talk-Day 2: Conducting industry-relevant software enginee...
inforte.fi invited talk-Day 2: Conducting industry-relevant software enginee...
Vəhid Gəruslu
 
inforte.fi invited talk-Day 1: Conducting industry-relevant software engineer...
inforte.fi invited talk-Day 1: Conducting industry-relevant software engineer...inforte.fi invited talk-Day 1: Conducting industry-relevant software engineer...
inforte.fi invited talk-Day 1: Conducting industry-relevant software engineer...
Vəhid Gəruslu
 
Can we do it better? Improving the maturity of software testing in test teams
Can we do it better? Improving the maturity of software testing in test teamsCan we do it better? Improving the maturity of software testing in test teams
Can we do it better? Improving the maturity of software testing in test teams
Vəhid Gəruslu
 
Ad

Recently uploaded (20)

15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Journal of Soft Computing in Civil Engineering
 
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Journal of Soft Computing in Civil Engineering
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
railway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forgingrailway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forging
Javad Kadkhodapour
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
Compiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptxCompiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptx
RushaliDeshmukh2
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
railway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forgingrailway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forging
Javad Kadkhodapour
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
Compiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptxCompiler Design Unit1 PPT Phases of Compiler.pptx
Compiler Design Unit1 PPT Phases of Compiler.pptx
RushaliDeshmukh2
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
Ad

AI-assisted Software Testing (3-hours tutorial)

  • 1. © Vehid Geruslu (Vahid Garousi) Vahid Garousi AI-powered Software Testing (A hands-on tutorial – 3 hours) 1- Software Testing Strategist / Consultant Testinium A.Ş., Türkiye ProSys MMC, Azərbaycan AzInTelecom, Azərbaycan 2- Professor of Software Engineering Queen’s University Belfast, UK vgeruslu [email protected] www.vgarousi.com
  • 2. © Vehid Geruslu (Vahid Garousi) The plan for: AI-powered Software Testing: Hands-on tutorial (3 hours) ● Introduction ○ About the speaker ○ History and evolution of software testing ○ Testing + AI: Two combinations: ■ Testing AI = Testing the AI ​ ​ itself versus ■ AI Testing = Using AI to in software testing: to increase effectiveness, efficiency ■ Two separate issues and fields ● AI-powered Software Testing ○ What testing activities can AI help with, and how? ○ Insights and lessons learned from using AI in testing ○ Prompt engineering: The importance of the commands (‘prompts’) that we give to the AI (LLM) ● Two categories of AI-powered testing tools ○ “General-purpose” AI testing tools: Like ChatGPT ○ “Special-purpose” AI testing tools: 80+ tools already in the market and new tools coming to the market constantly … ● Conclusions: ○ Insights and implications: for software testing jobs, … ○ The future of this field… Topics will be presented in a hands-on manner and with live examples using ChatGPT 2 ⏰ ~ 15 minutes ⏰ ~ 20 minutes ⏰ ~ 45 minutes ⏰ ~ 100 minutes = 1.5 hours ⏰ Total = 180 minutes Practical exercises
  • 3. © Vehid Geruslu (Vahid Garousi) About the speaker Education: PhD in Software Engineering, Carleton University, Ottawa, Canada, 2006 MSc in Software Engineering, University of Waterloo, Canada, 2003 BSc in Software Engineering, Sharif University of Technology, Tehran, 2000 1998-2013 2013- now 2019- now 2022- now ● I have been working in Software Engineering, Testing and QA since 1998 ○ (I wrote my first Test Automation code in 1998 using the IBM Rational Functional Tester tool, to test an e-commerce web app) ● Origin: Azerbaijani Turkish ● Nationality: Canadian, British ● I have lived and worked in 4 different countries since 2000 ● Work experience: 3 My area of ​ ​ expertise (in short): Improving software engineering processes and activities of software companies ...and increasing effectiveness / efficiency / quality
  • 4. © Vehid Geruslu (Vahid Garousi) History and evolution of Software Testing, as a field 4 Many software companies around the world have started using artificial intelligence (AI) in their testing and quality assurance activities... Let's not be left behind!
  • 5. © Vehid Geruslu (Vahid Garousi) Testing + AI: Two combinations… 5 System / component / model under test = Aİ / ML models System under test (SUT) = Any software system Aİ Testing: Use of AI in software testing activities Also called: AI-powered testing AI-powered testing AI-augmented testing AI-driven testing AI-powered testing … Testing of Aİ Testing of AI models Testing of AI-enabled software (software with one or more major AI component) Tests (assesses accuracy / precision of) Tests Getting support Aİ / ML models / LLMs Purpose: To get support from AI in software testing activities. Mainly: To increase effectiveness and efficiency (and quality?) of testing Purpose: To test the AI ​ ​ and ML models / software and verify that they work correctly. Or: AI-enabled software
  • 6. © Vehid Geruslu (Vahid Garousi) And an advanced emerging field 🚀: Testing AI using AI 6 Tests (assesses accuracy and precision of) – and even improve ! An AI model / system Another AI model / system
  • 7. © Vehid Geruslu (Vahid Garousi) Our plan  AI-powered Software Testing: Hands-on tutorial (3 hours) ● Introduction ○ About the speaker ○ History and evolution of software testing ○ Testing + AI: Two combinations: ■ Testing AI = Testing the AI ​ ​ itself versus ■ AI Testing = Getting AI to help with testing ■ Two separate issues and fields ● AI-powered Software Testing ○ What testing activities can AI help with, and how? ○ Insights and lessons learned from using AI in testing ○ Prompt engineering: The importance of the commands (‘prompts’) that we give to the AI (LLM) ● Two categories of AI-powered testing tools ○ “General-purpose” AI testing tools: Like ChatGPT ○ “Special-purpose” AI testing tools: 80+ tools already in the market and new tools coming to the market constantly … ● Conclusions: ○ Insights and implications: for software testing jobs, … ○ The future of this field… Topics will be presented in a hands-on manner and with live examples using ChatGPT 7 ⏰ ~ 15 minutes ⏰ ~ 20 minutes ⏰ ~ 45 minutes ⏰ ~ 100 minutes = 1.5 hours ⏰ Total = 180 minutes Practical exercises
  • 8. © Vehid Geruslu (Vahid Garousi) What testing activities can AI assist with and how? To analyze this, we need to refresh our knowledge of: ● SDLC = Software Development Life Cycle ● STLC = Software Testing Life Cycle 8
  • 9. © Vehid Geruslu (Vahid Garousi) What testing activities can AI assist with and how? ● In almost all testing activities… 🤩 ● (but the level of help from AI in different test activities can vary) ● (and the level of help could increase as we are advancing in time !) 9 Test-case Design Test Scripting Test Execution Test Evaluation Pass Fail Test Suites (set of test cases) Test Results Bug (Defect) Reports Scripted test suites ³ Exercise´ (test) Manual test suites Automated test suites (e.g., Junit) Criteria-based (Systematic) Human knowledge-based (Exploratory) System Under Test (SUT) Activity Data/ Entity Legend Test- Result Reporting Test management (planning, « Test-Data and Test-Environment Management Other test engineering activities (regression testing, test minimization, etc.) M T M T M T M T M T M T M T M T Manual AI tool Tool (without AI) Let’s add more details to the STLC / process
  • 10. © Vehid Geruslu (Vahid Garousi) AI-powered Software Test Management (Test Planning, etc.) Important point: As software test engineers, we should definitely review carefully what we get from AI 10 Live demo + practice Creating Test Plans: Prompt: My task is to test the following mobile banking app: https://play.google.com/store/apps/details?id=com.pozitron.isc ep https://www.isbank.com.tr/iscep For functional manual testing of this app, provide a draft test plan document. (Türkçe cevap ver lütfen 🌎 ) Risk Analysis Prompt: For the same mobile app, perform a detailed Risk Analys, so that I can add to the test plan document
  • 11. © Vehid Geruslu (Vahid Garousi) AI-powered Test Planning: Time for hands-on practice … ● It’s now your turn … ● Prompt: For functional manual testing of the following mobile app: X, provide a draft test plan One suggestion  But feel free to use any mobile app idea ● Lessons learned? ○ What are the advantages / benefits of using GenAI for Test Planning? ○ What are the disadvantages / drawbacks of using GenAI for Test Planning? ● Or (you can practice with these later): ○ Asking ask for draft test plans for Functional “automated” testing ○ Asking ask for draft test plans for Automated performance testing ○ Asking ask for draft test plans for Automated security testing ○ … ● Some other app ideas, as Systems Under Test (SUTs). You can use GenAI to test them later  11
  • 12. © Vehid Geruslu (Vahid Garousi) AI-powered Software Test Management (Test Planning, etc.) ● In AI-powered Software Testing, we often need to have an iterative interaction with the AI / LLM ● … to get the most help that we want, from the AI 12 Just like we ask our colleagues (other software engineers) Yes, this is what I wanted! Is this what I wanted? Can I get a better result?
  • 13. © Vehid Geruslu (Vahid Garousi) AI-powered Software Test Management (Test planning, effort estimation, …) Test effort estimation ● Prompt: For the same mobile app, for the Functional Manual Test Plan above, perform test effort estimation Importance of our prompts, to the GenAI: ● If we issue a general command, and we do not specify the type of effort estimation approach, the AI ​ ​ will choose any method ● But if we ask specific questions, we will get specific and often better / more precise answers from the AI. ● Just like we ask our colleagues (other software engineers) 13 Live demo
  • 14. © Vehid Geruslu (Vahid Garousi) AI-powered Software Testing: Let’s move to another testing activity 14 Test-case Design Test Scripting Test Execution Test Evaluation Pass Fail Test Suites (set of test cases) Test Results Bug (Defect) Reports Scripted test suites ³ Exercise´ (test) Manual test suites Automated test suites (e.g., Junit) Criteria-based (Systematic) Human knowledge-based (Exploratory) System Under Test (SUT) Activity Data/ Entity Legend Test- Result Reporting Test management (planning, « Test-Data and Test-Environment Management Other test engineering activities (regression testing, test minimization, etc.) M T M T M T M T M T M T M T M T Manual AI tool Tool (without AI) What we will now learn What we just learned
  • 15. © Vehid Geruslu (Vahid Garousi) AI-powered Software Test-case Design ● What is test-case design (or just test design)? ● Various types (forms) of test cases? ○ tests in tabular format, automated test-code, etc. ● Example: We can issue the prompt to the GenAI in different ways: 15 Test case design is a systematic / structured approach to creating test cases, outlining the test inputs / steps / conditions, and expected results to verify if a software feature or functionality is working as intended. Which input fields? We always need to give the RIGHT direction to the AI tool Conclusions: • For many years to come, we still need to be in FULL CONTROL of how we benefit from AI in our Software Engineering activities, and how it generates artifacts for our tasks • … until AI becomes capable enough to make near-zero mistakes! • We don’t know when that will be: in 5, 10, 20 years?
  • 16. © Vehid Geruslu (Vahid Garousi) AI-powered Software Test-case Design ● For test-case design, we also need to consider another important concept: coverage ● How many types of coverage do we have? ● In testing, there are two types of coverage: Test coverage, and code coverage ○ Prompt: I want you to do test-case design based on test (requirements) coverage. For this, I suggest you generate requirements for the same above mobile app (İşCep) in form of user stories. Then use those requirements to generate test cases that "cover" (test) all requirements. You can use tabular format for presentation, if that is suitable. Respond in English ■ Option for later: Respond in Turkish. ○ Prompt: For the same İşCep Mobile Banking App, as the next activity, I want you to do test-case design based on code coverage, this time. ■ For brevity, let’s only do this for the “Login” feature. To see code coverage in this example, generate back- end code in Java for Login feature. ■ Then use generate test cases in tabular format to fully "cover" (test) the code. Note: I want test cases, and not test code (yet) ■ When you design test cases in the process, provide details of which lines of code are covered by which test cases. And explain how you are adding new test cases to cover the uncovered lines of code so far. Respond in English ■ Option for later: Respond in Turkish. All code and variables / comments in it should also be in Turkish 16 Live demo Test coverage Code coverage Percentage of requirements tested during testing % Percentage of code executed during testing %
  • 17. © Vehid Geruslu (Vahid Garousi) AI-powered Software Test-case Design (Exploratory Testing) ● But Exploratory testing ≠ Random (monkey) testing ● AI-powered Exploratory Testing: Do you think AI could do / support Exploratory Testing? ○ AI cannot yet replace human test engineers in full execution of Exploratory Testing, due to its current limitation of learning “context” ○ But that could change in a few years  ○ For now, AI can support test engineers in Exploratory Testing. Let’s ask the AI itself! 17 ● Exploratory Testing: let’s recall what it is… ○ A common approach: using Test Charters  How can you help in Exploratory testing in general?
  • 18. © Vehid Geruslu (Vahid Garousi) More details on: AI assisting with or itself doing Exploratory Testing 18
  • 19. © Vehid Geruslu (Vahid Garousi) AI-powered Software Testing: Auto generation of test-code from designed test-cases ● Prompt: For the same İşCep Mobile Banking App: ○ I want you to “script” (write) automated test code in Java Selenium, using the test-cases that you designed in the previous interaction, for the “Login” feature ○ No need for POM.XML or other info. Just give the Java Selenium code ○ (Code elements should all be in Turkish) ● Insights / observations : 19 Test-case Design Test Scripting Test Execution Test Suites (set of test cases) Scripted test suites ³ E Manual test suites Automated test suites (e.g., Junit) Criteria-based (Systematic) Human knowledge-based (Exploratory) Test management (planning, « Other test engineering activities (regression testing, tes M T M T M T M T Manual AI tool Tool (without AI) Canlı demo
  • 20. © Vehid Geruslu (Vahid Garousi) ● Prompt: Can you run each of the above manual or automated test cases on the SUT? ● Prompt: For the “Login” feature of the same İşCep Mobile Banking App: 1. First generate prototype back-end (production) code in Java for the Login feature 2. Then do white-box test-case design to derive the list of test cases (in tabular format), to have full “branch" coverage on the code. Note: I want test cases, and not test code 3. Then, generate Selenium Java test code for those design test-cases, clearly matching each test method to each designed test cases 4. Run (in your simulation mode, obviously not on the actual app) the Selenium Java test suite on the prototype back-end code for the Login feature, and report the test output Show details of each step as you proceed. Answer in all English 20 Test-case Design Test Scripting Test Execution Tes Evalua Test Suites (set of test cases) Scripted test suites ³ Exercise´ (test) Manual test suites Automated test suites (e.g., Junit) Criteria-based (Systematic) Human knowledge-based (Exploratory) System Test management (planning, « Test-D Test-Env Manag Other test engineering activities (regression testing, test minimiza M T M T M T M T M T Manual AI tool Tool (without AI) Canlı demo AI-powered Test Execution
  • 21. © Vehid Geruslu (Vahid Garousi) AI-powered Test Execution ● As we saw, as “general-purpose” AI tool, GPT does not help much in this test activity ● Prompt: ○ Show the names of a few AI-powered Test “Execution” tools and their features ○ Note: I am not referring to AI tools which do test-code maintenance (such as the self-healing feature), but only those AI-powered tools that help in "execution" of tests, running tests intelligently. ○ Explain each feature briefly  ● Note: Two categories of AI-powered testing tools (we will explore this topic later in the tutorial) ○ “General-purpose” AI testing tools: Like ChatGPT ○ “Special-purpose” AI testing tools: 80+ tools already in the market and new tools coming to the market constantly … 21
  • 22. © Vehid Geruslu (Vahid Garousi) Prompt: For the same İşCep mobile banking app as the SUT: ○ If we want to test real SUT, the mobile app on an actual phone ○ What kind of other help can you provide for the “Test Evaluation” phase of the STLC? see attached Prompt: For the same İşCep app as the SUT: ○ For the Test Evaluation phase, give one single concrete example of the help that you can provide Let’s focus on Test flakiness…. A flaky test is a software test that yields both passing and failing results despite zero changes to the code or test. Prompt: Test flakiness is widely discussed in the testing industry. For the same İşCep app: ○ In the Test Evaluation phase, how would you help us identify and prevent test flakiness? 22 Canlı demo Test-case Design Test Scripting Test Execution Test Evaluation Pass Fail Test Suites (set of test cases) Test Results Bug (Defect) Reports Scripted test suites ³ Exercise´ (test) Manual test suites Automated test suites (e.g., Junit) Criteria-based (Systematic) Human knowledge-based (Exploratory) System Under Test (SUT) Activity Data/ Entity Legend Test- Result Reporting Test management (planning, « Test-Data and Test-Environment Management Other test engineering activities (regression testing, test minimization, etc.) M T M T M T M T M T M T M T M T Manual AI tool Tool (without AI) AI-powered Test Evaluation
  • 23. © Vehid Geruslu (Vahid Garousi) Prompt: ○ In the login page of a university online service… ○ I have received the following error message, which I believe is a bug ○ My question: Do you agree that it is a bug? ○ If you agree that it is a bug, generate a detailed bug report? 23 Canlı demo Test-case Design Test Scripting Test Execution Test Evaluation Pass Fail Test Suites (set of test cases) Test Results Bug (Defect) Reports Scripted test suites ³ Exercise´ (test) Manual test suites Automated test suites (e.g., Junit) Criteria-based (Systematic) Human knowledge-based (Exploratory) System Under Test (SUT) Activity Data/ Entity Legend Test- Result Reporting Test management (planning, « Test-Data and Test-Environment Management Other test engineering activities (regression testing, test minimization, etc.) M T M T M T M T M T M T M T M T Manual AI tool Tool (without AI) AI-powered Reporting of Test Results and Defects
  • 24. © Vehid Geruslu (Vahid Garousi) 24 Test-case Design Test Scripting Test Execution Test Evaluation Pass Fail Test Suites (set of test cases) Test Results Bug (Defect) Reports Scripted test suites ³ Exercise´ (test) Manual test suites Automated test suites (e.g., Junit) Criteria-based (Systematic) Human knowledge-based (Exploratory) System Under Test (SUT) Activity Data/ Entity Legend Test- Result Reporting Test management (planning, « Test-Data and Test-Environment Management Other test engineering activities (regression testing, test minimization, etc.) M T M T M T M T M T M T M T M T Manual AI tool Tool (without AI) AI-powered Test-Data Management ● Test Data Management (TDM) is the process of … ○ planning, creating, storage, maintaining and deleting datasets used in software testing ● Prompt: For the same İşCep app as the SUT: ○ Explain, using concrete examples, the assistance that you can provide in test-data management
  • 25. © Vehid Geruslu (Vahid Garousi) AI-powered Test-Environment Management ● Test Environment Management (TEM) is a crucial process that ensures Test Engineers have access to functional, stable, and usable environments for testing, bug replication, and overall software quality improvement 25
  • 26. © Vehid Geruslu (Vahid Garousi) AI-powered Test-Environment Management ● Prompt: For the same İşCep app as the SUT: ○ Explain, using concrete examples, the assistance that you can provide in Test-Environment management ● Prompt: Define a comprehensive device matrix, for Test-Environment management 26
  • 27. © Vehid Geruslu (Vahid Garousi) Our plan  AI-powered Software Testing: Hands-on tutorial (3 hours) ● Introduction ○ About the speaker ○ History and evolution of software testing ○ Testing + AI: Two combinations: ■ Testing AI = Testing the AI ​ ​ itself versus ■ AI Testing = Getting AI to help with testing ■ Two separate issues and fields ● AI-powered Software Testing ○ What testing activities can AI help with, and how? ○ Insights and lessons learned from using AI in testing ○ Prompt engineering: The importance of the commands (‘prompts’) that we give to the AI (LLM) ● Two categories of AI-powered testing tools ○ “General-purpose” AI testing tools: Like ChatGPT ○ “Special-purpose” AI testing tools: 80+ tools already in the market and new tools coming to the market constantly … ● Conclusions: ○ Insights and implications: for software testing jobs, … ○ The future of this field… Topics will be presented in a hands-on manner and with live examples using ChatGPT 27 ⏰ ~ 15 minutes ⏰ ~ 20 minutes ⏰ ~ 45 minutes ⏰ ~ 100 minutes = 1.5 hours ⏰ Total = 180 minutes Practical exercises
  • 28. © Vehid Geruslu (Vahid Garousi) 28 Human-AI collaboration is a strategic partnership between AI and human intelligence. It combines the strengths of both to solve problems, and improve outcomes.
  • 29. © Vehid Geruslu (Vahid Garousi) Our plan  AI-powered Software Testing: Hands-on tutorial (3 hours) ● Introduction ○ About the speaker ○ History and evolution of software testing ○ Testing + AI: Two combinations: ■ Testing AI = Testing the AI ​ ​ itself versus ■ AI Testing = Getting AI to help with testing ■ Two separate issues and fields ● AI-powered Software Testing ○ What testing activities can AI help with, and how? ○ Insights and lessons learned from using AI in testing ○ Prompt Engineering: The importance of the commands (‘prompts’) that we give to the GenAI / LLMs ● Two categories of AI-powered testing tools ○ “General-purpose” AI testing tools: Like ChatGPT ○ “Special-purpose” AI testing tools: 80+ tools already in the market and new tools coming to the market constantly … ● Conclusions: ○ Insights and implications: for software testing jobs, … ○ The future of this field… Topics will be presented in a hands-on manner and with live examples using ChatGPT 29 ⏰ ~ 15 minutes ⏰ ~ 20 minutes ⏰ ~ 45 minutes ⏰ ~ 100 minutes = 1.5 hours ⏰ Total = 180 minutes Practical exercises
  • 30. © Vehid Geruslu (Vahid Garousi) The quality of the results we get from AI depends on the commands we give to AI 30
  • 31. © Vehid Geruslu (Vahid Garousi) Prompt Engineering ● To get the quality response we want from AI, we must write effective and high-quality prompts… There are MANY resources on the internet:
  • 32. © Vehid Geruslu (Vahid Garousi) Prompt Engineering – Job Positions ! 32
  • 33. © Vehid Geruslu (Vahid Garousi) Our plan  AI-powered Software Testing: Hands-on tutorial (3 hours) ● Introduction ○ About the speaker ○ History and evolution of software testing ○ Testing + AI: Two combinations: ■ Testing AI = Testing the AI ​ ​ itself versus ■ AI Testing = Getting AI to help with testing ■ Two separate issues and fields ● AI-powered Software Testing ○ What testing activities can AI help with, and how? ○ Insights and lessons learned from using AI in testing ○ Prompt Engineering: The importance of the commands (‘prompts’) that we give to the GenAI / LLMs ● Two categories of AI-powered testing tools ○ “General-purpose” AI testing tools: Like ChatGPT ○ “Special-purpose” AI testing tools: 80+ tools already in the market and new tools coming to the market constantly … ● Conclusions: ○ Insights and implications: for software testing jobs, … ○ The future of this field… Topics will be presented in a hands-on manner and with live examples using ChatGPT 33 ⏰ ~ 15 minutes ⏰ ~ 20 minutes ⏰ ~ 45 minutes ⏰ ~ 100 minutes = 1.5 hours ⏰ Total = 180 minutes Practical exercises
  • 34. © Vehid Geruslu (Vahid Garousi) Two categories of AI-powered testing tools 34 General-purpose Specific-purpose (have been developed only for Software Testing)
  • 35. © Vehid Geruslu (Vahid Garousi) Specific-purpose AI testing tools – An example ● Self-healing of UI tests: Has become a major trend in the industry ○ Self-healing UI tests use AI to automatically adapt to changes in the application's UI, reducing manual test-code maintenance and ensuring tests remain valid even with UI modifications. ● A few interesting videos: ○ youtube.com/watch?v=cWX2uvygLg4 ○ youtube.com/watch?v=O8z_sBDFL5A 35
  • 36. © Vehid Geruslu (Vahid Garousi) Specific-purpose AI testing tools – An example ● healenium.io 36 I am reviewing tools such as https://healenium.io/ . can you give an estimate on extent of effort spent on maintaining "locators" in Selenium tests Old UI Updated new UI
  • 37. © Vehid Geruslu (Vahid Garousi) Our plan  AI-powered Software Testing: Hands-on tutorial (3 hours) ● Introduction ○ About the speaker ○ History and evolution of software testing ○ Testing + AI: Two combinations: ■ Testing AI = Testing the AI ​ ​ itself versus ■ AI Testing = Getting AI to help with testing ■ Two separate issues and fields ● AI-powered Software Testing ○ What testing activities can AI help with, and how? ○ Insights and lessons learned from using AI in testing ○ Prompt Engineering: The importance of the commands (‘prompts’) that we give to the GenAI / LLMs ● Two categories of AI-powered testing tools ○ “General-purpose” AI testing tools: Like ChatGPT ○ “Special-purpose” AI testing tools: 80+ tools already in the market and new tools coming to the market constantly … ● Conclusions: ○ Insights and implications: for software testing jobs, … ○ The future of this field… Topics will be presented in a hands-on manner and with live examples using ChatGPT 37 ⏰ ~ 15 minutes ⏰ ~ 20 minutes ⏰ ~ 45 minutes ⏰ ~ 100 minutes = 1.5 hours ⏰ Total = 180 minutes Practical exercises
  • 38. © Vehid Geruslu (Vahid Garousi) Insights and implications Human Software Tester AI Software Tester: Will it replace us? ● Human versus AI? Or: ● Human with (and) AI (collaboration)? We are here ~2015 ~2040 ? When? (timeline) 38
  • 39. © Vehid Geruslu (Vahid Garousi) Insights and implications Human Software Tester AI Software Tester 39
  • 40. © Vehid Geruslu (Vahid Garousi) Insights and implications ● Who learned what and where? ● Both can make mistakes 🐞 in all tasks, including in software testing activities ● What can each do faster and with better quality? (effectiveness and efficiency) the World Wide Web contains over 100 billion indexed pages 100,000,000,000 + 40
  • 41. © Vehid Geruslu (Vahid Garousi) Insights and implications ● A typical Software Test Engineer asks herself: ○ “Should I do this testing activity on my own, or should I get help from AI?” ● What can we (test engineers) do faster and with better quality? (efficiency and productivity) ● What can AI do faster and with better quality? ● I have observed these in my own 2 years of AI-assisted Software Testing experience In software testing, I want a table to support my own decision-making of when to use AI and when not to. Create a table showing: what we (test engineers) can do faster and with higher quality (effectiveness and efficiency), and what AI can do faster and with higher quality 41
  • 42. © Vehid Geruslu (Vahid Garousi) The future of the field: Levels of autonomy in software testing with AI ● To what extent can AI help us? A little or a lot? ● First, let's look at the topic in another context: A well-known model in the autonomous vehicle sector (levels of autonomy)... ● We can think of a similar model for software testing. Where do you think we are? 42
  • 43. © Vehid Geruslu (Vahid Garousi) The future of the field: Levels of autonomy in software testing with AI ● In your opinion, where are we in this model in the software testing field? ● Let's ask GPT itself 43
  • 44. © Vehid Geruslu (Vahid Garousi) The future of this field: How will AI change and impact the work of test engineers? 44
  • 45. © Vehid Geruslu (Vahid Garousi) 45
  • 46. © Vehid Geruslu (Vahid Garousi) AI-powered Software Testing: The Future is Here (A hands-on tutorial – 3 hours) * Also called: AI-driven (AI having a major / active role), AI-powered, AI-enabled, AI-augmented, … Vahid Garousi (Vehid Geruslu) 1- Software Testing Strategist / Consultant Testinium A.Ş., Türkiye ProSys MMC, Azərbaycan AzInTelecom, Azərbaycan 2- Professor of Software Engineering Queen’s University Belfast, UK vgeruslu [email protected] www.vgarousi.com

Editor's Notes

  • #11: I have asked you (GPT) to assist me in Test Planning. In general, what "Lessons learned" can we derive from your help (as an AI model/software) to me as a human software tester, in AI-powered Software Testing?
  • #13: https://www.gelecekburada.net/prompt-muhendisligi-sufle-muhendisligi-nedir/
  • #14: Bir sonraki aktivite olarak, kod kapsama oranına dayalı test vakası tasarımı yapmanızı istiyorum. Kısalık adına, bunu yalnızca Giriş özelliği için yapalım. Giriş özelliği için Java dilinde minimal arka uç kodu oluşturun. Ardından, bu kodu tamamen "kapsayacak" (test edecek) test vakalarını oluşturun. Kodda Turkce dilinde olsun.
  • #15: Bir sonraki aktivit
  • #16: Bir sonraki aktivite olarak, kod kapsama oranına dayalı test vakası tasarımı yapmanızı istiyorum. Kısalık adına, bunu yalnızca Giriş özelliği için yapalım. Giriş özelliği için Java dilinde minimal arka uç kodu oluşturun. Ardından, bu kodu tamamen "kapsayacak" (test edecek) test vakalarını oluşturun. Kodda Turkce dilinde olsun.
  • #24: https://testomat.io/blog/test-data-management-definition/
  • #25: Setup and Configuration Version control and maintenance Managing Test Data Monitoring, scheduling, and access control Backup and recovery Decommissioning Keeping Records Communication Continuous improvement
  • #35: https://www.youtube.com/watch?v=cWX2uvygLg4
  • #38: in testing, I want a table to support decision-making when to use AI and when not to, in software testing. Create a table showing: what can we (test engineers) do faster and with higher quality (effectiveness and efficiency)? what can AI do faster and with higher quality?
  • #39: in testing, I want a table to support decision-making when to use AI and when not to, in software testing. Create a table showing: what can we (test engineers) do faster and with higher quality (effectiveness and efficiency)? what can AI do faster and with higher quality?
  • #40: in testing, I want a table to support decision-making when to use AI and when not to, in software testing. Create a table showing: what can we (test engineers) do faster and with higher quality (effectiveness and efficiency)? what can AI do faster and with higher quality?
  • #41: In testing, I want a table to support decision-making when to use AI and when not to, in software testing. Create a table showing: what can we (test engineers) do faster and with higher quality (effectiveness and efficiency)? what can AI do faster and with higher quality?
  • #42: this is the well known AI autonomy levels. In area of software testing, which level do you think we are? and when we will reach level5 AI autonomy in software testing?
  • #43: this is the well known AI autonomy levels. In area of software testing, which level do you think we are? and when we will reach level5 AI autonomy in software testing? even if we Reach Level 5, I beleive test engineers will be needed to design and monitor the entire test process, right?
  • #44: this is the well known AI autonomy levels. In area of software testing, which level do you think we are? and when we will reach level5 AI autonomy in software testing? even if we Reach Level 5, I beleive test engineers will be needed to design and monitor the entire test process, right?