0% found this document useful (0 votes)
8 views

Modified

Uploaded by

vivek nair
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Modified

Uploaded by

vivek nair
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

AI in software testing

Introduction

l
Artificial Intelligence in Test Automation The Next
Challenges with Traditional Automation

Challenges in Test Planning Phase


Challenges in Test Authoring Phase

l
Artificial Intelligence in Test Automation The Next
Challenges in Test Maintenance Phase
Flaky tests
Script updates with every minor UI change

l
Artificial Intelligence in Test Automation The Next
Determining test size to ensure quality of a change
Maintaining different test suites/scripts

l
Artificial Intelligence in Test Automation The Next
An Overview of AI and Machine Learning

l
Artificial Intelligence in Test Automation The Next
Leveraging AI and ML in Test Automation

Changing the way we identify our web elements

l
Artificial Intelligence in Test Automation The Next
Using a weighted set of locators
A

Visually locating an element

l
Artificial Intelligence in Test Automation The Next
Self-Healing Test Scripts
I

What if our test scripts were given the ability to do this themselves! That is exactly what artificial
intelligence can do for us.
.
Below are various approaches an intelligent framework can follow to self-heal a failing script.
Correct a failing web element locator
Intelligent retry of a failing step
Handle any unexpected error as per the error content

l
Artificial Intelligence in Test Automation The Next
Update obsolete test data resulting in error
Replace Repetitive tasks

Below is a list of few of them and how leveraging AI algorithms can help us automate them.
Writing Page Classes

l
Artificial Intelligence in Test Automation The Next
Creating data models (classes representing test data for different web forms)
I
Smart Regression

l
Artificial Intelligence in Test Automation The Next
Visual/Snapshot Testing

l
Artificial Intelligence in Test Automation The Next
Other Uses of AI in Test Automation
I
Spidering
Test Bots doing exploratory testing on an application
Early automation - deriving test scripts from mockups or architecture documents

l
Artificial Intelligence in Test Automation The Next
Tools Leveraging AI in Test Automation

Testim

Testim is an AI-based UI testing tool. This tool leverages AI and machine


learning to provide fast test authoring and reliable test scripts.

Applitools Eyes

Intelligent Automated Testing Platform Applitools Eyes is


powered by Visual AI, which replicates human eyes and the brain to spot
functional and visual regressions quickly.

Testcraft

Testcraft is a codeless selenium test automation platform for regression


and continuous testing, as well as monitoring of web applications. Their
revolu- tionary artificial intelligence technology eliminates maintenance
time and cost as it automatically overcomes changes in the app.
Test.ai

Test.ai is an AI-powered mobile test automation platform, which scales


and tests thousands of apps in parallel without the need to code or maintain
tests.

l
Artificial Intelligence in Test Automation The Next
Conclusion

l
Artificial Intelligence in Test Automation The Next
About the Authors

Prageet Pathak is a Senior Quality Assurance


Lead at GlobalLogic with extensive
experience in Functional and Automation
Testing. Prageet contributes to various
streams through his automation skills in
mobile and web application.

Parvendra Singh is a Quality Assurance


Consultant at GlobalLogic with extensive
experience in Web and API Automation.
Parvendra works to ensure quality throughout the
product engineering life cycle, which includes
Functional Testing, Test Automation and Process
improvements.

Reference
s
Vahabzadeh, A. M. Fard and A. Mesbah, “An empirical study of bugs in test code,” 2015 IEEE
International Conference on Software Maintenance and Evolution (ICSME), Bremen, 2015, pp. 101-110,
doi: 10.1109/ ICSM.2015.7332456
5 great ways to use AI in your test automation - Joe Colantonio, Founder, TestGuild

l
Artificial Intelligence in Test Automation The Next
GlobalLogic is a leader in digital product engineering. We help our clients design and build
innovative products, platforms, and digital experiences for the modern world. By integrating
strategic design, complex engineering, and vertical industry expertise,— we help our clients
imagine what’s possible and accelerate their transition into tomorrow’s digital businesses.
Headquartered in Silicon Valley, GlobalLogic operates design studios and engineering centers
around the world, extending our deep expertise to customers in the communications, automotive,
healthcare, technology, media and entertainment, manufacturing, and semiconductor industries.

www
.globallogic.com

You might also like