SlideShare uma empresa Scribd logo
1 de 31
HOW AI IS CHANGING
THE FUTURE OF
SOFTWARE TESTING
2
Vui Nguyen
Software Test Engineer at Axon Active Viet Nam
vuint.it@gmail.com
Agenda
3
What is Software Testing?
1
What is AI?
2
What challenges can AI solve?
3
Advantages and Disadvantages of AI
4
AI Tools for Software Testing
5
What is Software Testing?
International Software Testing Qualifications Board:
“Software testing is a process of executing a program or
application with intent of finding the software bugs.
It can also be stated as process of validating and verifying that a
software program or application or product meets the business
and technical requirements that guided its design and
development”
4
Software Testing Overview
5
Requirement
Analysis
Implement
Test Script
Write test cases
Execute test cases
Compare
Test result == expected value
Expected Result
Test result != expected value
Expected
Results or properties
Software Testing Challenges
6
Years
Months
Months
Weeks
Weeks
Days
Days
Minutes
Software Testing Challenges
7
What is AI?
8
It is the science and engineering of making
intelligent machines, especially intelligent
computers to understand human intelligence,
but AI does not have to confine itself to
methods that are biologically observable
STANFORD
“Artificial intelligence (AI) is a self improving
enable horizontal layer that is solving problems
that were in the realm of science fiction for the
past several decades”
Jeff Bezos, Amazon.com Inc
Artificial intelligence (AI) makes it possible for
machines to learn from experience, adjust to
new inputs and perform human like tasks
SAS
Artificial intelligence is the boarder concept of
machines being able to carry out tasks in a way
that we would consider “smart”
FORBES
Structure of AI
9
Applications of AI
10
Fraud Detection
• AI has the ability to identify
fraudulent behavior, as well as
identify what next pattern of
suspicious behavior will be
• AI algorithms can preempt such
fraudulent transactions and can
lead to huge costs savings for
banks and its customers
Meeting regulatory
requirements
• AI is used to ensure that
regulatory requirements are
met and that data is kept with
monitoring done on a real-
time basis. This allows issues
to be flagged a lot sooner
Boost customer
engagement
• AI will assist in the creation of
customized and intelligent
products and services, with
new features, more intuitive
interactions (e.g. speech) and
advisory skills (e.g. personal
financial management)
BANKING
Computer
aided
diagnosis
• AI is being used
extensively to read
and interpret
complex radiology,
pathology reports
to help doctors
arrive at early
High risk groups
identification
• AI is being fed huge volumes
of data historical medical
records that helps in
identifying whether a
patients is in a high risk
group for any particular
disease say stroke
cardiovascular diseases or
cancer
Epidemic out break prediction
• ML and AI technologies are also being applied
to monitoring and predicting epidemic
outbreaks around the world, based on data
collected from satellites, historical information
on the web, real- time social media updates,
and other sources
• Support vector machines and artificial neural
networks have been used, for example, to
predict malaria outbreaks, talking into account
data such as temperature, average monthly
rainfall, total number of positive cases, and
other data points
HEALTHCARE
10
Applications of AI
11
Processes of software testing are similar to the processes used to
train AI
AI for Software Testing
AI applications use the output of the AI training process and
apply that to specific problems, such as recognizing a stop
sign and stopping a car, traffic lights … which consist of
inputs and comparing the outputs to expected results
12
AI Training data Process
 Training AI systems is very similar to testing
 AI training process assigned into categories: processing, sensing,
learning
13
What challenges can AI solve?
14
Ease of Authoring
and Executing
Tests
Releasing at the
Speed of
Development
Reducing
Maintenance and
Eliminating Flaky
Tests
Faster and More
Stable UI Tests
Continuous
Learning from
Production Data
Removing
Dependencies
Hundreds of attributes used to
identify elements
 A few changes don’t break the test
 Automatic get best location
strategy to successfully identify
15
Faster and More Stable UI Tests
 AI’s self-healing mechanism can detect problems in the
failed tests before they even occur, fix tests instead of us
reacting to them
 AI can figure out which tests are stable or flaky, analysis
what tests need to be modified to ensure test runs are
stable
 Based on large numbers of test runs, AI can optimize the
wait times used in tests to wait for the pages to load and
also can handle tests running on different resolutions
Reducing Maintenance and Eliminating Flaky Tests
16
 AI will start observing and learning how our customers are using the
product and can start creating tests based on real user data
 AI will identify commonly used actions such as logging in/out of the
application and cluster them into reusable component
17
Continuous Learning from Production Data
LEARN BY OBSERVATION
(PRODUCTION)
AGGREGATE USER
ACTIONS INTO FLOWS
TEST PRODUCED
FROM FLOWS
 Once we have authored some tests
and have run them consistently for a
period of time, the AI can start
recording all the server responses
 When run the tests again, instead of
talking to a server or database, the test
will access the stored responses and
will continue to run without any
obstacles
18
Removing Dependencies
Author and execute tests can be done in a matter of hours
Use dynamic locators and the ability to easily create reusable
components
Integrate CI/CD systems easily with public and private grids
Nontechnical people can get involved in test
Increase collaboration within teams and encourages everyone to
own the test automation effort
Ease of Authoring and Executing Tests
19
 With AI powering the transition to autonomous testing, reducing the
maintenance to a minimum, and creating more reliable tests, the ability
for teams to release faster is better than
 Testers an maximize user coverage by connecting authoring of tests with
production apps mapping to real user flows
 We have the ability to take a risk-based approach and base our
decisions on real data
 We are now able to create more user scenarios in short period of time.
This means you can find bugs fast and release faster
20
Releasing at the Speed of Development
 Improved accuracy and efficiency
 Overcoming the limitations of manual testing
 Benefits both testers and developers
 Improving overall test coverage
 Time & cost-saving
Advantages
21
Advantages and Disadvantages of AI
Advantages and Disadvantages of AI
 Artificial intelligence software testers use the
concept of GIGO (Garbage in Garbage Out)
 High costs
 Can’t think outside the box
Disadvantages
22
AI Tools
Visual Testing
Regression Test
Monitoring / Report
23
Visual Testing
24
Baseline
<empty>
Image1
Image2
Image3
Result:
Image1
Image2
Image3
new
new
new
visualTest () {
simulate UI state 1
check (“check 1”)
simulate UI state 2
check (“check 2”)
simulate UI state 3
check (“check 3”)
}
1) Write app & test code 2) Run test 1st time 4) Baseline created3) Review results
Baseline:
Image1
Image2
Image3
visualTest () {
simulate UI state 1
check (“check 1”)
simulate UI state 2
check (“check 2”)
simulate UI state 3
check (“check 3”)
}
Image1F
Image2
Image3B
Result:
Image1
Image2
Image3
diff
==
diff
5) Update app & test code 6) Differences detected 8) Save baseline7) Review results
Baseline:
Image1F
Image2
Image3
Baseline:
Image1
Image2
Image3
3B:
Bug
1F – New feature
 Segmentation algorithm, Convolutional Neural Networks and a
combination of algorithms
 Can be directly incorporated into testing frameworks
 Test results available in Test manager
25
Visual Testing
 Flaky tests
 Maintenance
 Huge data
 Learning curve
26
Regression Testing
Regression Test
 Focuses on reducing flakiness
 Data driven testing
 Automated test case generation
 Reads production user access
27
Monitoring / Reporting
 Different tools, frameworks and test for functional,
performance and security testing
 Numerous test cases
 Non prioritized test suite
 Get meaningful data out of logs
28
 One tool for code coverage for
different technologies
 Prioritizes test cases
 Functional, Performance, Security
 Segregates test into smoke and regression
 Failure prediction though log monitoring
 Logs with reason for test failure
29
Monitoring / Reporting
30
References
 https://techbeacon.com/app-dev-testing/state-test-automation-7-
key-trends-watch
 https://blog.testim.io/summary-blog-how-ai-is-transforming-
software-testing/
 https://www.infoq.com/articles/test-automation-ai-ml
 https://www.akiraanalytics.com/blog/cognitive-solutions/ai-in-
software-testing/
 https://moolya.com/important-testers-learn-ai/
 https://sdtimes.com/ai/whats-beyond-continuous-testing-ai/
Thank you for
listening!

Mais conteúdo relacionado

Mais procurados

License plate recognition
License plate recognitionLicense plate recognition
License plate recognition
slmnsvn
 

Mais procurados (20)

Quality Engineering in the New Era
Quality Engineering in the New EraQuality Engineering in the New Era
Quality Engineering in the New Era
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Code coverage
Code coverageCode coverage
Code coverage
 
Testing Tools with AI
Testing Tools with AITesting Tools with AI
Testing Tools with AI
 
개발이 테스트를 만났을 때(Shift left testing)
개발이 테스트를 만났을 때(Shift left testing)개발이 테스트를 만났을 때(Shift left testing)
개발이 테스트를 만났을 때(Shift left testing)
 
The Axioms of Testing
The Axioms of TestingThe Axioms of Testing
The Axioms of Testing
 
Selecting the Right Automated Testing tool
Selecting the Right Automated Testing tool Selecting the Right Automated Testing tool
Selecting the Right Automated Testing tool
 
License plate recognition
License plate recognitionLicense plate recognition
License plate recognition
 
Test Process Maturity Measurement and Related Measurements
Test Process Maturity Measurement and Related MeasurementsTest Process Maturity Measurement and Related Measurements
Test Process Maturity Measurement and Related Measurements
 
Test Automation Frameworks: Assumptions, Concepts & Tools
Test Automation Frameworks: Assumptions, Concepts & ToolsTest Automation Frameworks: Assumptions, Concepts & Tools
Test Automation Frameworks: Assumptions, Concepts & Tools
 
Pattern recognition
Pattern recognitionPattern recognition
Pattern recognition
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
 
Introduction to SysML af Finn Overgaard Hansen, AU
Introduction to SysML af Finn Overgaard Hansen, AUIntroduction to SysML af Finn Overgaard Hansen, AU
Introduction to SysML af Finn Overgaard Hansen, AU
 
웹을 지탱하는 기술
웹을 지탱하는 기술웹을 지탱하는 기술
웹을 지탱하는 기술
 
katalon studio 툴을 이용한 GUI 테스트 자동화 가이드
katalon studio 툴을 이용한 GUI 테스트 자동화 가이드katalon studio 툴을 이용한 GUI 테스트 자동화 가이드
katalon studio 툴을 이용한 GUI 테스트 자동화 가이드
 
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
 
Next Generation Functional & Visual Testing powered by AI
Next Generation Functional & Visual Testing powered by AINext Generation Functional & Visual Testing powered by AI
Next Generation Functional & Visual Testing powered by AI
 
Selenium
SeleniumSelenium
Selenium
 
UiPath Test Suite Automation and Oracle Cloud ERP and E-Business Suite Use Cases
UiPath Test Suite Automation and Oracle Cloud ERP and E-Business Suite Use CasesUiPath Test Suite Automation and Oracle Cloud ERP and E-Business Suite Use Cases
UiPath Test Suite Automation and Oracle Cloud ERP and E-Business Suite Use Cases
 
Api testing
Api testingApi testing
Api testing
 

Semelhante a [DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguyen, Software Test Engineer at Axon Active Vietnam

Future of Software Testing and What are the Trends to follow in 2023.pdf
Future of Software Testing and What are the Trends to follow in 2023.pdfFuture of Software Testing and What are the Trends to follow in 2023.pdf
Future of Software Testing and What are the Trends to follow in 2023.pdf
AnanthReddy38
 
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
 

Semelhante a [DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguyen, Software Test Engineer at Axon Active Vietnam (20)

implementing_ai_for_improved_performance_testing_the_key_to_success.pptx
implementing_ai_for_improved_performance_testing_the_key_to_success.pptximplementing_ai_for_improved_performance_testing_the_key_to_success.pptx
implementing_ai_for_improved_performance_testing_the_key_to_success.pptx
 
AI for Software Testing Excellence in 2024
AI for Software Testing Excellence in 2024AI for Software Testing Excellence in 2024
AI for Software Testing Excellence in 2024
 
implementing_ai_for_improved_performance_testing_the_key_to_success.pdf
implementing_ai_for_improved_performance_testing_the_key_to_success.pdfimplementing_ai_for_improved_performance_testing_the_key_to_success.pdf
implementing_ai_for_improved_performance_testing_the_key_to_success.pdf
 
AI Trends and Benefits in Software Testing
AI Trends and Benefits in Software TestingAI Trends and Benefits in Software Testing
AI Trends and Benefits in Software Testing
 
How AI Can Be Leveraged In All Aspects Of Testing
How AI Can Be Leveraged In All Aspects Of TestingHow AI Can Be Leveraged In All Aspects Of Testing
How AI Can Be Leveraged In All Aspects Of Testing
 
Implementing AI for improved performance testing – Cuneiform.pdf
Implementing AI for improved performance testing – Cuneiform.pdfImplementing AI for improved performance testing – Cuneiform.pdf
Implementing AI for improved performance testing – Cuneiform.pdf
 
How Would Software Testing Change in the Future.docx.docx
How Would Software Testing Change in the Future.docx.docxHow Would Software Testing Change in the Future.docx.docx
How Would Software Testing Change in the Future.docx.docx
 
AI Makes Software Testing Smarter.pdf
AI Makes Software Testing Smarter.pdfAI Makes Software Testing Smarter.pdf
AI Makes Software Testing Smarter.pdf
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Creating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran KinsbrunerCreating a successful continuous testing environment by Eran Kinsbruner
Creating a successful continuous testing environment by Eran Kinsbruner
 
Augment human testers first in the path to ai based autonomous testing
Augment human testers first in the path to ai based autonomous testingAugment human testers first in the path to ai based autonomous testing
Augment human testers first in the path to ai based autonomous testing
 
Unit Testing Essay
Unit Testing EssayUnit Testing Essay
Unit Testing Essay
 
Autonomous Testing Tools.pdf
Autonomous Testing Tools.pdfAutonomous Testing Tools.pdf
Autonomous Testing Tools.pdf
 
A Complete Guide to Codeless Testing.pdf
A Complete Guide to Codeless Testing.pdfA Complete Guide to Codeless Testing.pdf
A Complete Guide to Codeless Testing.pdf
 
Future of Software Testing and What are the Trends to follow in 2023.pdf
Future of Software Testing and What are the Trends to follow in 2023.pdfFuture of Software Testing and What are the Trends to follow in 2023.pdf
Future of Software Testing and What are the Trends to follow in 2023.pdf
 
"Software Quality in the Service of Innovation in the Insurance Industry"
"Software Quality in the Service of Innovation in the Insurance Industry""Software Quality in the Service of Innovation in the Insurance Industry"
"Software Quality in the Service of Innovation in the Insurance Industry"
 
vercha_resumeNew
vercha_resumeNewvercha_resumeNew
vercha_resumeNew
 
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
 
How to Leverage AI to Enhance UI Testing
How to Leverage AI to Enhance UI TestingHow to Leverage AI to Enhance UI Testing
How to Leverage AI to Enhance UI Testing
 
The Future of Automation Testing Emerging Trends and Technologies
The Future of Automation Testing Emerging Trends and TechnologiesThe Future of Automation Testing Emerging Trends and Technologies
The Future of Automation Testing Emerging Trends and Technologies
 

Mais de DevDay.org

Mais de DevDay.org (20)

[DevDay2019] Lean UX - By Bryant Castro, Bryant Castro at Wizeline
[DevDay2019] Lean UX - By  Bryant Castro,  Bryant Castro at Wizeline[DevDay2019] Lean UX - By  Bryant Castro,  Bryant Castro at Wizeline
[DevDay2019] Lean UX - By Bryant Castro, Bryant Castro at Wizeline
 
[DevDay2019] Why you'll lose without UX Design - By Szilard Toth, CTO at e·pi...
[DevDay2019] Why you'll lose without UX Design - By Szilard Toth, CTO at e·pi...[DevDay2019] Why you'll lose without UX Design - By Szilard Toth, CTO at e·pi...
[DevDay2019] Why you'll lose without UX Design - By Szilard Toth, CTO at e·pi...
 
[DevDay2019] Things i wish I knew when I was a 23-year-old Developer - By Chr...
[DevDay2019] Things i wish I knew when I was a 23-year-old Developer - By Chr...[DevDay2019] Things i wish I knew when I was a 23-year-old Developer - By Chr...
[DevDay2019] Things i wish I knew when I was a 23-year-old Developer - By Chr...
 
[DevDay2019] Designing design teams - Christopher Nguyen, UX Manager at Wizeline
[DevDay2019] Designing design teams - Christopher Nguyen, UX Manager at Wizeline[DevDay2019] Designing design teams - Christopher Nguyen, UX Manager at Wizeline
[DevDay2019] Designing design teams - Christopher Nguyen, UX Manager at Wizeline
 
[DevDay2019] Growth Hacking - How to double the benefits of your startup with...
[DevDay2019] Growth Hacking - How to double the benefits of your startup with...[DevDay2019] Growth Hacking - How to double the benefits of your startup with...
[DevDay2019] Growth Hacking - How to double the benefits of your startup with...
 
[DevDay2019] Collaborate or die: The designers’ guide to working with develop...
[DevDay2019] Collaborate or die: The designers’ guide to working with develop...[DevDay2019] Collaborate or die: The designers’ guide to working with develop...
[DevDay2019] Collaborate or die: The designers’ guide to working with develop...
 
[DevDay2019] Hands-on Machine Learning on Google Cloud Platform - By Thanh Le...
[DevDay2019] Hands-on Machine Learning on Google Cloud Platform - By Thanh Le...[DevDay2019] Hands-on Machine Learning on Google Cloud Platform - By Thanh Le...
[DevDay2019] Hands-on Machine Learning on Google Cloud Platform - By Thanh Le...
 
[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...
[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...
[DevDay2019] Micro Frontends Architecture - By Thang Pham, Senior Software En...
 
[DevDay2019] Power of Test Automation and DevOps combination - One click savi...
[DevDay2019] Power of Test Automation and DevOps combination - One click savi...[DevDay2019] Power of Test Automation and DevOps combination - One click savi...
[DevDay2019] Power of Test Automation and DevOps combination - One click savi...
 
[DevDay2019] How do I test AI models? - By Minh Hoang, Senior QA Engineer at KMS
[DevDay2019] How do I test AI models? - By Minh Hoang, Senior QA Engineer at KMS[DevDay2019] How do I test AI models? - By Minh Hoang, Senior QA Engineer at KMS
[DevDay2019] How do I test AI models? - By Minh Hoang, Senior QA Engineer at KMS
 
[DevDay2019] How to quickly become a Senior Engineer - By Tran Anh Minh, CEO ...
[DevDay2019] How to quickly become a Senior Engineer - By Tran Anh Minh, CEO ...[DevDay2019] How to quickly become a Senior Engineer - By Tran Anh Minh, CEO ...
[DevDay2019] How to quickly become a Senior Engineer - By Tran Anh Minh, CEO ...
 
[Devday2019] Dev start-up - By Le Trung, Founder & CEO at Hifiveplus and Edu...
[Devday2019]  Dev start-up - By Le Trung, Founder & CEO at Hifiveplus and Edu...[Devday2019]  Dev start-up - By Le Trung, Founder & CEO at Hifiveplus and Edu...
[Devday2019] Dev start-up - By Le Trung, Founder & CEO at Hifiveplus and Edu...
 
[DevDay2019] Web Development In 2019 - A Practical Guide - By Hoang Nhu Vinh,...
[DevDay2019] Web Development In 2019 - A Practical Guide - By Hoang Nhu Vinh,...[DevDay2019] Web Development In 2019 - A Practical Guide - By Hoang Nhu Vinh,...
[DevDay2019] Web Development In 2019 - A Practical Guide - By Hoang Nhu Vinh,...
 
[DevDay2019] Opportunities and challenges for human resources during the digi...
[DevDay2019] Opportunities and challenges for human resources during the digi...[DevDay2019] Opportunities and challenges for human resources during the digi...
[DevDay2019] Opportunities and challenges for human resources during the digi...
 
[DevDay2019] Python Machine Learning with Jupyter Notebook - By Nguyen Huu Th...
[DevDay2019] Python Machine Learning with Jupyter Notebook - By Nguyen Huu Th...[DevDay2019] Python Machine Learning with Jupyter Notebook - By Nguyen Huu Th...
[DevDay2019] Python Machine Learning with Jupyter Notebook - By Nguyen Huu Th...
 
[DevDay2019] Do you dockerize? Are your containers safe? - By Pham Hong Khanh...
[DevDay2019] Do you dockerize? Are your containers safe? - By Pham Hong Khanh...[DevDay2019] Do you dockerize? Are your containers safe? - By Pham Hong Khanh...
[DevDay2019] Do you dockerize? Are your containers safe? - By Pham Hong Khanh...
 
[DevDay2019] Develop a web application with Kubernetes - By Nguyen Xuan Phong...
[DevDay2019] Develop a web application with Kubernetes - By Nguyen Xuan Phong...[DevDay2019] Develop a web application with Kubernetes - By Nguyen Xuan Phong...
[DevDay2019] Develop a web application with Kubernetes - By Nguyen Xuan Phong...
 
[DevDay2019] Paradigm shift towards effective Scrum - By Tam Doan, Agile Coac...
[DevDay2019] Paradigm shift towards effective Scrum - By Tam Doan, Agile Coac...[DevDay2019] Paradigm shift towards effective Scrum - By Tam Doan, Agile Coac...
[DevDay2019] Paradigm shift towards effective Scrum - By Tam Doan, Agile Coac...
 
[DevDay2019] JAM Stack - By Ngo Thi Ni, Web Developer at Agility IO
[DevDay2019] JAM Stack - By Ngo Thi Ni, Web Developer at Agility IO[DevDay2019] JAM Stack - By Ngo Thi Ni, Web Developer at Agility IO
[DevDay2019] JAM Stack - By Ngo Thi Ni, Web Developer at Agility IO
 
[DevDay2019] Layering GraphQL on top of existing infrastructure - By Phan Tha...
[DevDay2019] Layering GraphQL on top of existing infrastructure - By Phan Tha...[DevDay2019] Layering GraphQL on top of existing infrastructure - By Phan Tha...
[DevDay2019] Layering GraphQL on top of existing infrastructure - By Phan Tha...
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

[DevDay2019] How AI is changing the future of Software Testing? - By Vui Nguyen, Software Test Engineer at Axon Active Vietnam

  • 1. HOW AI IS CHANGING THE FUTURE OF SOFTWARE TESTING
  • 2. 2 Vui Nguyen Software Test Engineer at Axon Active Viet Nam vuint.it@gmail.com
  • 3. Agenda 3 What is Software Testing? 1 What is AI? 2 What challenges can AI solve? 3 Advantages and Disadvantages of AI 4 AI Tools for Software Testing 5
  • 4. What is Software Testing? International Software Testing Qualifications Board: “Software testing is a process of executing a program or application with intent of finding the software bugs. It can also be stated as process of validating and verifying that a software program or application or product meets the business and technical requirements that guided its design and development” 4
  • 5. Software Testing Overview 5 Requirement Analysis Implement Test Script Write test cases Execute test cases Compare Test result == expected value Expected Result Test result != expected value Expected Results or properties
  • 8. What is AI? 8 It is the science and engineering of making intelligent machines, especially intelligent computers to understand human intelligence, but AI does not have to confine itself to methods that are biologically observable STANFORD “Artificial intelligence (AI) is a self improving enable horizontal layer that is solving problems that were in the realm of science fiction for the past several decades” Jeff Bezos, Amazon.com Inc Artificial intelligence (AI) makes it possible for machines to learn from experience, adjust to new inputs and perform human like tasks SAS Artificial intelligence is the boarder concept of machines being able to carry out tasks in a way that we would consider “smart” FORBES
  • 10. Applications of AI 10 Fraud Detection • AI has the ability to identify fraudulent behavior, as well as identify what next pattern of suspicious behavior will be • AI algorithms can preempt such fraudulent transactions and can lead to huge costs savings for banks and its customers Meeting regulatory requirements • AI is used to ensure that regulatory requirements are met and that data is kept with monitoring done on a real- time basis. This allows issues to be flagged a lot sooner Boost customer engagement • AI will assist in the creation of customized and intelligent products and services, with new features, more intuitive interactions (e.g. speech) and advisory skills (e.g. personal financial management) BANKING Computer aided diagnosis • AI is being used extensively to read and interpret complex radiology, pathology reports to help doctors arrive at early High risk groups identification • AI is being fed huge volumes of data historical medical records that helps in identifying whether a patients is in a high risk group for any particular disease say stroke cardiovascular diseases or cancer Epidemic out break prediction • ML and AI technologies are also being applied to monitoring and predicting epidemic outbreaks around the world, based on data collected from satellites, historical information on the web, real- time social media updates, and other sources • Support vector machines and artificial neural networks have been used, for example, to predict malaria outbreaks, talking into account data such as temperature, average monthly rainfall, total number of positive cases, and other data points HEALTHCARE 10
  • 12. Processes of software testing are similar to the processes used to train AI AI for Software Testing AI applications use the output of the AI training process and apply that to specific problems, such as recognizing a stop sign and stopping a car, traffic lights … which consist of inputs and comparing the outputs to expected results 12
  • 13. AI Training data Process  Training AI systems is very similar to testing  AI training process assigned into categories: processing, sensing, learning 13
  • 14. What challenges can AI solve? 14 Ease of Authoring and Executing Tests Releasing at the Speed of Development Reducing Maintenance and Eliminating Flaky Tests Faster and More Stable UI Tests Continuous Learning from Production Data Removing Dependencies
  • 15. Hundreds of attributes used to identify elements  A few changes don’t break the test  Automatic get best location strategy to successfully identify 15 Faster and More Stable UI Tests
  • 16.  AI’s self-healing mechanism can detect problems in the failed tests before they even occur, fix tests instead of us reacting to them  AI can figure out which tests are stable or flaky, analysis what tests need to be modified to ensure test runs are stable  Based on large numbers of test runs, AI can optimize the wait times used in tests to wait for the pages to load and also can handle tests running on different resolutions Reducing Maintenance and Eliminating Flaky Tests 16
  • 17.  AI will start observing and learning how our customers are using the product and can start creating tests based on real user data  AI will identify commonly used actions such as logging in/out of the application and cluster them into reusable component 17 Continuous Learning from Production Data LEARN BY OBSERVATION (PRODUCTION) AGGREGATE USER ACTIONS INTO FLOWS TEST PRODUCED FROM FLOWS
  • 18.  Once we have authored some tests and have run them consistently for a period of time, the AI can start recording all the server responses  When run the tests again, instead of talking to a server or database, the test will access the stored responses and will continue to run without any obstacles 18 Removing Dependencies
  • 19. Author and execute tests can be done in a matter of hours Use dynamic locators and the ability to easily create reusable components Integrate CI/CD systems easily with public and private grids Nontechnical people can get involved in test Increase collaboration within teams and encourages everyone to own the test automation effort Ease of Authoring and Executing Tests 19
  • 20.  With AI powering the transition to autonomous testing, reducing the maintenance to a minimum, and creating more reliable tests, the ability for teams to release faster is better than  Testers an maximize user coverage by connecting authoring of tests with production apps mapping to real user flows  We have the ability to take a risk-based approach and base our decisions on real data  We are now able to create more user scenarios in short period of time. This means you can find bugs fast and release faster 20 Releasing at the Speed of Development
  • 21.  Improved accuracy and efficiency  Overcoming the limitations of manual testing  Benefits both testers and developers  Improving overall test coverage  Time & cost-saving Advantages 21 Advantages and Disadvantages of AI
  • 22. Advantages and Disadvantages of AI  Artificial intelligence software testers use the concept of GIGO (Garbage in Garbage Out)  High costs  Can’t think outside the box Disadvantages 22
  • 23. AI Tools Visual Testing Regression Test Monitoring / Report 23
  • 24. Visual Testing 24 Baseline <empty> Image1 Image2 Image3 Result: Image1 Image2 Image3 new new new visualTest () { simulate UI state 1 check (“check 1”) simulate UI state 2 check (“check 2”) simulate UI state 3 check (“check 3”) } 1) Write app & test code 2) Run test 1st time 4) Baseline created3) Review results Baseline: Image1 Image2 Image3 visualTest () { simulate UI state 1 check (“check 1”) simulate UI state 2 check (“check 2”) simulate UI state 3 check (“check 3”) } Image1F Image2 Image3B Result: Image1 Image2 Image3 diff == diff 5) Update app & test code 6) Differences detected 8) Save baseline7) Review results Baseline: Image1F Image2 Image3 Baseline: Image1 Image2 Image3 3B: Bug 1F – New feature
  • 25.  Segmentation algorithm, Convolutional Neural Networks and a combination of algorithms  Can be directly incorporated into testing frameworks  Test results available in Test manager 25 Visual Testing
  • 26.  Flaky tests  Maintenance  Huge data  Learning curve 26 Regression Testing
  • 27. Regression Test  Focuses on reducing flakiness  Data driven testing  Automated test case generation  Reads production user access 27
  • 28. Monitoring / Reporting  Different tools, frameworks and test for functional, performance and security testing  Numerous test cases  Non prioritized test suite  Get meaningful data out of logs 28
  • 29.  One tool for code coverage for different technologies  Prioritizes test cases  Functional, Performance, Security  Segregates test into smoke and regression  Failure prediction though log monitoring  Logs with reason for test failure 29 Monitoring / Reporting
  • 30. 30 References  https://techbeacon.com/app-dev-testing/state-test-automation-7- key-trends-watch  https://blog.testim.io/summary-blog-how-ai-is-transforming- software-testing/  https://www.infoq.com/articles/test-automation-ai-ml  https://www.akiraanalytics.com/blog/cognitive-solutions/ai-in- software-testing/  https://moolya.com/important-testers-learn-ai/  https://sdtimes.com/ai/whats-beyond-continuous-testing-ai/