Quo vadis

Nils Röttger, how will software testing change through AI?

July 2023

Nils Röttger has more than 15 years of experience in quality assurance. He dealt with software testing as early as his studies at the University of Göttingen. Since 2008 he has worked at imbus AG in Möhrendorf, currently as a senior consultant and project manager for mobile testing and AI testing. In his many conference talks and as an author of books and articles, he regularly deals with innovative topics around testing.

Information about the person as of summer 2023.

Where do we stand today with testing using AI?

My feeling is that we are close to a trough of disillusionment. What is that, and what is behind the term? It comes from the Gartner Hype Cycle. A new technology shows first successes and is hyped in many places. Everyone talks about it and does something with it. Whoever does not join in will lose and fall behind. That is how the hype takes its course. After that comes the trough of disillusionment, before the new technology is finally used productively and with great success. When I talk to colleagues about it, I like to use 3D printing as an example. What a hype that was back then. Then you hardly heard anything about it, and today there are plenty of 3D printers in industry that are used productively and with great success.

Back to testing. There are some tools that are supposed to have AI inside. I myself have not seen that many of them in projects yet. I can very well imagine it in test automation. AI was already quite good at image recognition in the last decade. Or automatically adjusting an XPath: I can imagine that too, but I have not seen it live yet. In some projects, an LLM is used to put first test ideas on paper. But those are initially just that, first ideas. We testers still have to learn to use AI at the right place and in the right way. In some of our projects at imbus, LLMs helped us a lot in exploratory test sessions. And there will be more such positive examples over time.

How will AI change software testing in the next five years?

I think AI will support us in programming test automation. That already works today in pure development. Perhaps an AI will also help us with test case planning. When should I run which regression tests? What makes sense at the current point in the project? With ChatGPT and other LLMs there is of course also the hope that we can derive test cases from requirements, create sensible test steps, and finally, after the automated run of an automation script created by AI, enter the results and defect reports in sensible German into our defect ticket system. Wow!

In the background, other AIs will then be at work that prevent a test case from being created twice, or a test step that has already been programmed once for test automation from being duplicated. Our test suites would explode. But there is still a lot to do, especially since we probably cannot simply feed much of our data into the world’s big AIs, but will have to get by with dedicated smaller AIs in our company IT.

Which skills do testers need for that?

First of all, expert knowledge of the respective domain will become very important. For us testers, that means knowledge around testing. How does a good boundary value analysis work? How do I have to build a test automation framework so that it can be maintained very well? These are examples of questions we will still have to answer in the future. But AI will make our work more efficient and take the simple tasks off our hands. So we have to expand our expert knowledge. Certainly we also have to understand how AIs work and achieve their results. Only then can we assess whether what the AI suggests is really good.

So we have to deepen our knowledge around testing, have basic to in-depth knowledge about AI, and build up subject knowledge in the domain in which our project operates.

Will the role of testing still exist in 10 years?

Definitely. It will even become more important. But it will change! We will probably no longer create lots of test cases manually in our tool and then automate them one by one. AI will take that and similar simple work off our hands.

More posts

View all →