Synapse - Africa’s 4IR Trade & Innovation Magazine - 3rd Quarter 2021 Issue 13 (Show Edition)

Page 34

ADVERTORIAL

AI: THE FUTURE OF TESTING / By Sastri Munsamy, Executive: Research and Development, Consulting, Inspired Testing /

Testing and software quality assurance (SQA) has always been reliant on the human element, particularly in manually-driven exploratory testing and creating automated functional tests. But as we move along the path of integrating elements of Robotic Process Automation (RPA) with artificial intelligence and machine learning, the future of fully automated AI testing is starting to come into view.

M

ake no mistake, we’re still at the foothills of unlocking the benefits of meaningful AI-driven automation in software testing. But that’s not to say we aren’t making any headway.

Today’s leading software testing and SQA tools like Selenium have started integrating elements of AI technology, although we’re not at the point where unassisted AI can take over any meaningful testing functionality from human operators. Still, I can see a time where bots will be ready to take the mantle from human testers, initially for low-level repetitive tasks, but eventually for more complex types of testing, and that’s when we’ll see the real benefits of the technology, that’s still in its testing infancy today, come to the fore.

The State of Play We’re just starting to scratch the surface of injecting quasi-intelligent automation into our testing processes. This is more prevalent in tasks such as minor maintenance on test automation scripts, where basic self-healing AI technology can pick out changes made to user interface fields on pre-existing scripts, and either report or update them automatically. Indeed, there’s already some interesting work being done linking this type of automation technology to libraries like Healenium, which supports Selenium, adding rudimentary self-healing functionality to the automated tests. It then become quite viable to use tools such as Functionize, with its self-healing, auto-updating features, to identify not just a single field but thousands of data elements, which is the basis for machine learning (ML).

The ideal solution: Agile development + autonomous testing Another good example of the current state of play is ReportPortal, a tool that ingests test results and uses AI patterns to analyse

32

SYNAPSE | 3RD QUARTER 2021

the nature and changes in these test results over time. Like any AI technology it takes a while until it has enough data to generate meaningful results, but once it does, the results are significant. Using ReportPortal, we can automatically analyse thousands of test results and no longer need to sift through each failure to determine if it’s a valid defect. Instead, the software automatically and ‘intelligently’ differentiates between valid defects and environmental issues and can then provide valuable trend analysis to determine the impact on current functionality. As any experienced tester will know, there’s always the issue of changes being made to real world applications that are poorly communicated up and down the line, so using the tools we have today can give SQA and automation teams a way to quickly – and automatically thanks to AI – determine where the changes are, what type of changes they are, and help them narrow their test focus accordingly.

The Road Ahead All of these examples are early footprints along the road to what I consider the ultimate goal of AI testing: codeless automation. In a nutshell, codeless automation means we’ll no longer need a high level of development capabilities or coding skills to automate testing. We’re only starting to dabble with technology that uses a GUI front-end to guide us through the process of making test automation repeatable, parameterised and

reusable. But while these are the same userdriven wizards we’re already familiar with across many different types of software and platforms, imagine adding real AI technology that can ‘watch’ what a tester is doing, learn from it, and then repeat the process on its own. Taken a few steps further, I can see a time where data-driven intelligence that links to massive cloud-based data repositories take over currently manual functionality, like assigning real values to field types. Eventually this will evolve into technology we already see in tools like Eggplant, that uses images to automate processes, so instead of working with fields, can intelligently identify images (of buttons or other web elements, for example) and populate them with appropriate data. AI tools that operate at the API level will greatly accelerate test automation to the point where we can conceivably, and practically, implement continuous testing, something that’s little more than a pipe dream at present. We’ll be able to test quicker, and for longer periods, at lower costs. Moreover, there’s no reason for the technology to be limited to test automation, it will eventually spill over into other types of testing like performance and exploratory testing. As we continue along the road towards this very real future, AI will drive significant return on investment from speed and time to market, and deliver more value to more clients that no longer have to split their budgets between different types of testing and focus on a collective single offering instead.


Turn static files into dynamic content formats.

Create a flipbook

Articles inside

EXPLORING AI AT SCALE

3min
page 58

Women data scientists help lead

3min
pages 56-57

NVIDIA Features Tools, Training and Education for African

4min
pages 54-55

Automation Anywhere Launches the World’s Only Unified Cloud- Native Platform for Intelligent

4min
pages 48-53

Engage and empower your people, one chat at a time Whatsapp chatbot and AI tech for radically enhanced HR performance and employee impact

3min
pages 38-39

ARTIFICIAL INTELLIGENCE (AI

16min
pages 41-43

Is Johannesburg the Artificial Intelligence Tech Capital of

4min
pages 46-47

Gap Identification in Real Time Creates Revenue Opportunity

4min
page 40

Wisdom and Teamwork Open

7min
pages 36-37

AI: The Future of Testing

4min
pages 34-35

Leveraging AI to deliver

2min
pages 32-33

From Garage to Global: How

3min
pages 30-31

AIZATRON’S AIDAS Platform

4min
pages 28-29

How to implement Artificial

3min
pages 26-27

Four Decades in Conversational

11min
pages 24-25

HUMAN IN THE SYSTEM

3min
pages 22-23

RPA: The Next Chapter In The

4min
pages 20-21

Assoc Prof Moodley joins ICA on intelligence and artificial

4min
page 19

Egyptian AI, ML-powered last

2min
page 18

Africa IoT & AI Challenge 2021

2min
page 16

4 Reasons Why You Should Care

3min
page 17

WHO issues global report on AI in health, Guiding Principles for

4min
pages 10-11

WizzPass Workspace Booking - Optimise & streamline your workspace management

3min
page 9

5 Steps To Building A People

4min
page 15

SWITZERLAND - Where Artificial

0
page 13

The Impact of Artificial

4min
page 7

SA Visitor & Workplace Management startup WizzPass

2min
page 8
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.