You are on page 1of 32

ARTIFICIAL INTELLIGENCE

IN
AUTOMATION TESTING Aliaa Monier
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 ?
A r t i f i c i a l i n t e l l i ge n c e  ( A I ) , s o m e t i m e s c a l l e d  m a ch i n e i n t e l l i ge n c e,
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 ?
A r t i f i c i a l i n t e l l i ge n c e  ( A I ) , s o m e t i m e s c a l l e d  m a ch i n e i n t e l l i ge n c e,
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"
Learn to Understand the
improve itself environment

Take actions
based on
its intelligence

AI is the machine ability to ….


AI Examples in Our Daily Life …

• Chatbot

• Self-driven Cars

• Video Games

• Plate Recognition Systems

• AI Music Composer

• Google AI Eye Doctor


Machine Learning …..

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 system

Dataset with patterns


1- Finds patterns
2- Generate model

Take Decision

Yes … It’s a
New dataset Software using the model shopping cart
Match Patterns??
Deep Learning …..
A subfield of Machine Learning.

Deep Learning is inspired by the functionality of our


brain cells (neurons).

• Artificial Neural Networks Algorithm


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.
Data Science …..

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.


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.


Manual tester Test Automation Artificial
Engineer Intelligence

Evolution of Testers ….
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.


REFERENCES
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
Thank You …

You might also like