Anda di halaman 1dari 4

AI and the future of QA

Jyoti Prasad (JP) March-2019


CEO - ImpactQA

AI – A key trend in IT Evolution of QA The AI handshake


The rise of AI is becoming a Some years ago traditional QA Testers will have to unlearn
disruptive force in the was replaced by automation and relearn new ways of doing
testing landscape and in future AI will change QA as they rendezvous with
the way QA is performed machines.

Page 1 Page 2 Page 3

The role of testers is changing from mere ‘defect


finders’ to someone who can bring value to the
business outcome and be an enabler of customer
satisfaction. With AI and ML in the scene, testing will
eventually become more experimental, more thought
provoking, and more mathematical.

In the 1800’s industrial revolution, machines replaced manual jobs and that
resulted in a better quality of life. At the same time, it also led to the loss of Key trends driving
jobs and unemployment skyrocketed in the short term. However, the
Artificial Intelligence and Machine Learning
IT Today
revolution, that the world has come to terms AI is at the forefront of the
with, will be significantly different from the
technology landscape along
Industrial Revolution. AI and ML will provide
QA professionals to work in tandem with with IoT and Blcokchain.
machines and will help us improve the quality The convergence of AI, ML
of our products.
and analytics along with
AI has been around for many years with highs and lows in terms of public their use in carrying out
interest. However, in recent years, it has propelled to the forefront thanks smarter and faster
to increasing power of hardware and infrastructure and the interest by big
players (FAANG stocks). There is a lot of enthusiasm and excitement about AI automation will be the
technologies but their application in software testing is still emerging. biggest disruptive force that
Questions are being raised if AI will bring ‘doom’ to the testers community will transform the way QA
and will AI perform all testing in near future. The
will be perceived and
We look at some of the nuances of AI and its impact on QA and Software performed in the years to
Testing in this whitepaper.
come.
According to a survey from Micro Focus (World Quality Report – 2018-
19), 57% of respondents said they had projects involving the use of AI
for QA and Testing already in place or planned in 2019 going into 2020

Evolution of Testing Achieving the scale and Continuous Testing

At the turn of the century Internet was a luxury. I This decade so far has been ‘about scale’, how to
remember using a dial up 56 kbps connection at my write tests fast and find bugs faster. Digital
apartment in Irvine, California. Those were the days Transformation gathered steam few years ago and
when iPhone or iPads did not exist and Google had Crowd Testing, Testing on cloud, DevOps became
just raised an IPO. Uber, Lyft did not exist neither did commonplace. Today a vast majority of the
the Airbnbs or Snapchats of the world. In the last 15 organizations are looking at constant delivery and
years things have evolved and so has the way constant testing (in fact Facebook does multiple code
software is designed, developed and tested. push in production every single day thanks to
automated CI & CD and continuous testing)
The origin of testing…
DevOps and Agile adoption continue to develop driven
The role of a tester was to come in towards the end by the ‘need for speed ‘ flexibility and agility.
of SDLC (remember waterfall days?). By the time
tester got hold of the application to be tested, the The future of QA…
underlying business requirements would have got
changed or may not have been relevant at all. Testing Future of QA will be about Automated Testing using
was considered an after-thought. Machine Learning and AI. The key objective will be to
achieve “Quality at Speed’.
Agile knocks the door…
The new QA techniques that will be used will be
Testers were now integral part of team and they were around ‘Model based Testing’, predictive analysis,
introduced early in the process. Agile made 2-week robotic and cognitive automation. This means that we
development a norm and testing was no longer an are very close to a future where it will be possible to
exercise that took months. Agile Testing replaced start analyzing log files (by predictive analysis and
Classic Testing. Agile became a big thing quickly model building capabilities) and gaining a perspective
while XP, Scrum, Kanban became a standard process on a piece of code prior to being ready to be tested.
in the SDLC. Many Agile Project Management tools
(open source) like JIRA came into existence.
2
AI has come knocking at the door and is giving QA

Machine learning and predictive analytics go hand in hand in software testing and QA today
Leave it to the machine – no more human interventions
a whole new spin
And it is coming fast at us. AI is, and will Just like automation tools of today, AI will
disrupt the way we live the world today. replace the mundane tasks like visual
From self-driving cars to detecting life reviews (that are basic checks and testers
threatening diseases in the very early get bored doing it again and again and may
stages, AI will soon start correcting code tend to overlook). Following are some
as the developers write it. areas where AI and ML will make a
difference.
Why AI makes sense for testing
• AI will help replace a lot of manual
The main problem with today’s QA lies in testing and skills that are hard to
the sheer amount of data that testers find.
need to handle in a limited period of
time they usually have. Imagine testing • AI/ML will help learn and optimize
thousands of regression test cases (even our tests. It will learn from data in
if they are automated) that can take your existing QA systems (source
hours and sometime days, and that kind code repo, logging defects,
of time is not a luxury today. Since resolutions, test cases etc.) to
clients have become further more help discover problem areas in the
demanding and impatient in a sense, product.
traditional testing methods often cannot
• AI can traverse a lot number of
keep up with them. This often takes
paths (previously not traversed) in
traditional testing methods out of the
seconds and learn it and over a
equation and calls for a more pertinent
period of time and will alert
approach. That is, the one powered by AI
testers if they find anything
- artificial intelligence, ML - machine
suspicious.
learning and predictive analytics.
• AI/ML will be able to predict the
What challenges will AI address?
probability of a build failing if and
Industries like testing will advance with when the code changes are made
the help of AI and ML. A time consuming to the application.
task for a human to do is easy for a
• AI will help scale the tests. Tests
machine or computer to do.
will be written faster and failures
There are AI algorithms that can be would be found fast helping
written today that in real-time, analyze project teams put a release in
all the DOM objects of a page and production faster and efficient.
extract the objects and its properties.
While AI will address these challenges, AI-
The AI can then decide the best location
driven QA will have its own challenges.
strategy to locate a particular element
Mining of data from ALM tools (test
based on this analysis. Even if a
coverage, defect logs, test cases
developer amends the attribute of an
executions, production data and code
element, the test still continues to run
coverage) will be an issue not just the
and that leads to more stable tests. As a
quantity but also the quality side of the
result, the authoring and execution of
house. Skills of resources will also be an
automated tests will be much faster and
issue and testers will have to bring new
more stable.
skills into the mix.

3
What AI would not be able to do?
“AI and ML will bring
Unlike what we see in sci-fi movies, machines and
algorithms will never be able to replace a human brain man and machine
(at least it doesn’t look like it will happen in
immediate future). Things like creativity, empathy and
together in future and
domain knowledge will still be very close to ‘humans’ will help bring
than to the ‘machines’.
‘quality at speed’.
Also, review of results spewed out by machines will
still have to be done by humans/testers. ML and AI are
testing enablers and testers will move up the value
chain, from doing mundane tasks to analyzing results
that requires creativity and ‘human intelligence’.

Will AI replace testers?

AI will certainly not completely replace the manual testers but it will definitely change the way manual testing
is performed.

Testers would need to constantly evolve with technology and acquire various skills in order to build and
maintain AI test suites that test AI-based products. This will involve data science skills; understanding of some
deep learning principles, concepts of algebra and basic understanding of languages like Python and R.

A word of caution: Testers who would hide their heads in sand and think that what they do is unique and
cannot be replaced, make no mistake: AI is coming like a massive asteroid that slammed into earth and wiped
a complete race of dinosaurs; so be prepared and brace for the Impact.

Summary
The testing community will see a lot of use of data and automation in the next few years. AI and its use in QA are still
at its infancy and a lot of trial and error will happen before it matures and takes a recognizable shape. There is no
doubt that it is an exciting time for testers who are witnessing a technology revolution around them. This AI revolution
would definitely result in faster rollout of quality products at speed.

Just the way some years ago testing became an integral part of SDLC, AI-in-QA will become a norm during the entire
lifecycle - from requirements gathering to design through UI/UX. Exciting times ahead.

Overall, exciting times ahead for QA and testing world!

ImpactQA provides QA Engineering solutions including Functional, Automation, Performance, UI/UX, Security, AI, Digital Testing and DevOps to Fortune 500
firms and leading startups around the globe. To know more visit us at http://www.impactqa.com or write to us at services@impactqa.com

www.impactqa.com 12th FL, 597, 5th Ave, New York, 10017, USA
4

Anda mungkin juga menyukai