Aliaa Monier
ARTIFICIAL INTELLIGENCE
IN
AUTOMATION TESTING
AGENDA
What is Artificial Intelligence ?
What is Machine Learning?
What is Deep Learning?
What is Data Science?
AI in software testing.
AI in software automation testing.
Demo using testim.io
WHAT IS AI ?
Artificial intelligence  (AI), sometimes called  machine intelligence,
is  intelligence  demonstrated by  machines, in contrast to the  natural
intelligence  displayed by humans and other animals. Computer science defines AI
research as the study of "intelligent agents": any device that perceives its
environment and takes actions that maximize its chance of successfully achieving its
goals.  More specifically,  AI is defined as “a system’s ability to correctly interpret
external data, to learn from such data, and to use those learnings to achieve specific
goals and tasks through flexible adaptation”.  Colloquially, the term "artificial
intelligence" is applied when a machine mimics "cognitive" functions that humans
associate with other human minds, such as "learning" and "problem solving"
WHAT IS AI ?
Artificial intelligence  (AI), sometimes called  machine intelligence,
is  intelligence  demonstrated by  machines, in contrast to the  natural
intelligence  displayed by humans and other animals. Computer science defines AI
research as the study of "intelligent agents": any device that perceives its
environment and takes actions that maximize its chance of successfully achieving its
goals.  More specifically,  AI is defined as “a system’s ability to correctly interpret
external data, to learn from such data, and to use those learnings to achieve specific
goals and tasks through flexible adaptation”.  Colloquially, the term "artificial
intelligence" is applied when a machine mimics "cognitive" functions that humans
associate with other human minds, such as "learning" and "problem solving"
Understand the
environment
Take actions
based on
its intelligence
Learn to
improve itself
AI is the machine ability to ….
• Chatbot
• Self-driven Cars
• Video Games
• Plate Recognition Systems
• AI Music Composer
• Google AI Eye Doctor
AI Examples in Our Daily Life …
A subfield of Artificial Intelligence.
Machine is trained on a large training dataset to create a model
which helps the machine to take decisions based on its learning.
Machine Learning …..
Dataset with patterns
Machine learning system
1- Finds patterns
2- Generate model
Software using the model
New dataset
Match Patterns??
Take Decision
Yes … It’s a
shopping cart
A subfield of Machine Learning.
Deep Learning is inspired by the functionality of our
brain cells (neurons).
• Artificial Neural Networks Algorithm
Deep Learning …..
Artificial Neural Networks ….
It seems like a black box; an input layer gets the data into the “hidden
Layers” and after a magic trick we can see the information provided by
the output layer.
It is about transferring Data into Knowledge.
Knowledge will be used to make Decisions.
• GoogleMaps, analyzes traffic, decides trip time , and
suggests different route.
• Netflix , suggests TV series to watch.
Data Science …..
Summary …..
AI can be achieved with the help of lots of Data.
AI need more computing power to process the
algorithms, understand and replicate the patterns.
Data Algorithms Prediction
Artificial Intelligence in Software testing ….
Why do we need Artificial Intelligence in software
testing ?
• Complexity of software continues to increases.
• Release delivery cycles become shorter.
• Testers need to provide instance feedback.
• Companies are adapting “testing smarter not harder” technologies.
Evolution of Testers ….
Manual tester Test Automation
Engineer
Artificial
Intelligence
Extinct Testers are gone forever ….
“A lot of things are going to change in the testing field with the
entry of AI. Almost 70 percent of testing is repetitive and AI can
quickly occupy that space. The 30 percent left is questioning the
system, and that’s what testers need to focus on. AI is the next
big thing in testing, but it won’t replace humans. The testers
working alongside AI can quickly revolutionize the way we test
today.” — Vijay Shinde, Founder of Software Testing Help
Test automation engineers will be the subject
matter experts teaching AI to execute the tests
Artificial Intelligence in Software automation testing ….
AI based test automation tools
Demo
Start by installing Testim Chrome extension
Once installed, click on Testim extension
icon and then "Login to start"
Let's explore the tool !!
Features to explore through the demo:
• Recording/Playback a test case.
• AI implementation in the tool.
• Adding more test steps after recording.
• Labeling test cases.
• Reuse test cases.
• Using Dataset (JSON format).
• Run test cases in multiple browsers.
• CLI and Integrating test cases to CI/CD.
• Schedule Run.
• Reporting (Charts).
• Capture and report a bug.
https://docs.testim.io/getting-started/getting-started-with-testim?utm_source=hs_automation&utm_medium=email&utm_content=66297691&_hsenc=p2ANqtz-9wzDCk0C_KjqKPIrrgT7GfWu-a8KzoJ7B3u0tfKTmRjNP7zTX3ySd8QMnRavq-N28tok2423jvmz5rq0v7GTYVL2FN0W-
EqgRIXhn1Q4K6ABgocV4&_hsmi=66297691
https://www.joecolantonio.com/7-innovative-ai-test-automation-tools-future-third-wave/
http://docs.testim.io/getting-started/hello-world
https://docs.testim.io/getting-started/getting-started-with-testim?utm_source=hs_automation&utm_medium=email&utm_content=66297691&_hsenc=p2ANqtz-9wzDCk0C_KjqKPIrrgT7GfWu-a8KzoJ7B3u0tfKTmRjNP7zTX3ySd8QMnRavq-N28tok2423jvmz5rq0v7GTYVL2FN0W-
EqgRIXhn1Q4K6ABgocV4&_hsmi=66297691
https://www.youtube.com/watch?v=EcTmKXdYvtM&fbclid=IwAR2RP3ivwui82-0JLzRS-DG8rCx_PwQPW-v6DQg6DIga--E9_XBW1MEE7io
https://www.perforce.com/blog/alm/ai-software-testing-it-your-future
https://machinelearningmastery.com/supervised-and-unsupervised-machine-learning-algorithms/
https://towardsdatascience.com/understanding-neural-networks-what-how-and-why-18ec703ebd31
https://www.udemy.com/artificial-intelligence-ai-in-software-testing/
https://www.youtube.com/watch?v=bCvVgT5owv0&utm_source=hs_automation&utm_medium=email&utm_content=66297691&_hsenc=p2ANqtz-9wzDCk0C_KjqKPIrrgT7GfWu-a8KzoJ7B3u0tfKTmRjNP7zTX3ySd8QMnRavq-N28tok2423jvmz5rq0v7GTYVL2FN0W-
EqgRIXhn1Q4K6ABgocV4&_hsmi=66297691
https://www.youtube.com/watch?v=kTjaf34U6tQ
https://sdtimes.com/ai/whats-beyond-continuous-testing-ai/
https://www.pnsqc.org/rise-machines-can-artificial-intelligence-terminate-manual-testing/
https://www.youtube.com/watch?v=v3ruvz3l_Mw
REFERENCES
Thank You …

Ai in software automation testing - testim.io