Introduction To Artificial Intelligence (AI) in Software Testing
Introduction To Artificial Intelligence (AI) in Software Testing
By Sujal Patel
Why I end up creating this course even though I have created
Artificial Intelligence (AI) in Software Testing course earlier
• I have received lot of good feedback about my Artificial
Intelligence (AI) in Software Testing course from different
group of peoples
• https://www.udemy.com/artificial-intelligence-ai-in-
software-testing/?couponCode=WELCOME10
3
What is Artificial Intelligence (AI)?
4
What is Artificial Intelligence (AI)?
Think about this, instead of you doing all your work you have
a machine to finish up for you
5
What is Machine Learning?
6
Algorithms Behind Machine Learning
Example:
• let’s say you want to teach a computer to distinguish
between a cat and a dog. You might say cats have four legs,
a tail, and pointed ears. Dogs have four legs, a tail, and
floppy ears. But if you show that machine a coyote, does it
say it’s a cat?
The answer is NO
• Between tail length, fur texture, and color, there are a lot of
labels a developer would have to program manually to help
a traditional computer to spot the difference. But with
machine learning, you feed the computer thousands of
photos of cats and dogs so it can learn to spot the
difference by generating the model that will recognize the
patterns and identify cat or dog 7
Why Deep Learning?
8
What is Deep Learning?
9
Deep Learning vs Machine Learning
• Let's take the example of machine which recognizes the
animal. Task of the machine is to recognize whether the
given image is cat or dog
• How machine learning should solved that problem?
• We have defined the feature such as whether the
animal has pointed ears or floppy ears, whether the
animal has straight tail or curve trail. In sort we have
defined the facial feature and let the system identify
which features are more important and classifying the
particular animal
10
Deep Learning vs Machine Learning
• How deep learning should solved that problem?
• Now when it comes to deep learning it takes one step
ahead of that. Deep learning will automatically find
the features which are more important for the
classification compare to machine learning where we
have to manually give out that feature
11
What is AI in Software Testing (AI)?
12
What is AI in Software Testing (AI)?
Example 1:
• Let’s say you have a website to test and let’s say a
developer changes the ID, name or some attribute of an
element on the web page. Once you run your test, it
immediately break due to this change because it is still
referring to the old ID or name. This leads to unstable test,
tester have to modify that test and that way they have to
spend a lot of time in maintaining that test
• So they introduced the concept of Dynamic locators. The
Artificial Intelligence underneath the platform in real time,
analyzes all the DOM objects of the page and extracts the
objects and its properties. Then AI decides the best location
strategy to locate a particular element based on this
analysis.
13
What is AI in Software Testing (AI)?
14
What is AI in Software Testing (AI)?
Example 3:
• Login screen for any app
• Your login test should work across all app and user should
able to login and navigate the app
• Those are some simple examples where AI can help you to
do your testing smarter
15
What is the Role of AI Testing?
18
Test Automation of Web Application
using Artificial Intelligence
You can easily automate any type of web application
test with Testim using AI Machine Learning
Demo https://www.testim.io/
20
Is it time for Testers or QA Teams to worry about AI?
21
Please take a look my original course @…..
• https://www.udemy.com/artificial-intelligence-ai-in-
software-testing/?couponCode=WELCOME10
22
Questions & Comments?
[email protected]
Thank you!