How Do You Know Whether Your Team Is Choosing the Right Test Automation Tools and Techniques? - Sofius

How Do You Know Whether Your Team Is Choosing the Right Test Automation Tools and Techniques?

New tools, frameworks and techniques are emerging at a rapid pace. At the same time, AI is increasingly helping us make technical decisions. But how do you know whether your team is actually choosing the right Test Automation tools and techniques? The answer doesn’t start with the tool, but with the context.

Imagine you’re starting a completely new test automation project for a web application tomorrow. Which tool would you choose?

Playwright? Selenium? Cypress? WebdriverIO?

Chances are you already have a preference. Perhaps because you’re familiar with a particular tool. Because someone on your team has extensive experience with it. Because a consultant recommends it. Or simply because everyone is talking about it.

And nowadays, there’s another adviser in the mix: AI.

Ask an AI coding agent to set up a new end-to-end testing solution for a modern web application, and there’s a good chance it will immediately come up with a proposal. Convenient, but something important is missing: context.

At that point, AI may know nothing about your team, architecture, requirements, infrastructure or the level of expertise within your organisation. And yet, a tool has already been suggested.

Not: Which Tool Is the Best?

And that’s exactly where the pitfall lies. We often ask: Which tool is the best? When a much more relevant question is: Which solution is best suited to our situation?

Because there is no such thing as the best Test Automation tool. But there is a best choice for your specific context.

That context consists of many different factors. What technology does your organisation use? What skills does your team have? Who will maintain the automated tests? What kind of product are you testing? What infrastructure is already in place? Which browsers and devices need to be supported? And what problem are you actually trying to solve with Test Automation?

For example, a development team working entirely in TypeScript has a different starting point from a testing team that primarily uses Java. An organisation with an existing Selenium Grid and hundreds of automated tests will make different decisions from an organisation starting from scratch. And as soon as native iOS and Android applications need to be tested alongside web applications, the considerations change once again.

The same tools may therefore be an excellent fit in one situation and a less logical choice in another.

From Popularity to Well-Informed Decisions

This may sound obvious, but it’s becoming increasingly important. The Test Automation landscape is expanding and evolving faster than ever. Alongside established tools such as Selenium, Cypress, Playwright and Appium, new techniques, platforms and frameworks continue to emerge.

And then there are the developments surrounding AI. Think of agents, context management and agentic test writing. AI can do much more than simply help write a piece of test code. It is becoming increasingly capable of independently preparing and executing testing activities.

This is also changing the discussion within the testing profession.

A few years ago, the debate mainly revolved around Selenium versus Cypress, and later Cypress versus Playwright. Today, entirely different questions are emerging.

How do we use AI agents for testing? How do we ensure an agent has sufficient context? Do we want AI to write tests autonomously? And what does this mean for the role of the Test Automation Engineer?

As the number of possibilities continues to grow, it becomes increasingly important not to automatically follow the latest or most popular technology.

Why ‘Hold’ Doesn’t Mean a Tool Is Bad

Selenium is a good example of how a TechRadar should be used.

Within our TechRadar, Selenium is classified as Hold. That doesn’t mean Selenium has suddenly become a bad technology. It’s a proven solution, supported worldwide, with an enormous ecosystem, and it is still successfully used by many organisations every day.

For an existing environment, Selenium may therefore still be an excellent choice. But if you’re starting completely from scratch today, there are modern alternatives that are at least worth seriously considering.

That’s an important distinction.

The reverse is equally true. Just because a tool such as Playwright is classified as Adopt doesn’t automatically mean Playwright is the best choice for every new project.

Consider a new React web application developed by a TypeScript team that will also maintain the tests. The solution needs to support web and API testing and run on Chrome, Edge and Firefox. In this situation, Playwright could be a very logical candidate.

Now change the context.

Alongside React, the organisation also uses React Native. The solution must support web, native iOS and Android applications, with tests running on real devices. An Appium infrastructure is already in place, and the organisation would prefer to use a single automation stack.

The available tools haven’t changed. The context has. And that changes the decision.

Three Questions to Ask Before Choosing a Tool

So how do you know whether your team is making the right choice?

Not because AI recommends a particular tool. Not because everyone else is using it. Not because a technology is classified as Adopt. And not simply because a consultant says it’s a good solution.

A good decision is one you can justify.

Before deciding which technology to use, there are three essential questions to ask:

  1. What problem are we trying to solve?
  2. What context should guide our decision?
  3. Which alternatives have we seriously considered?

The TechRadar can provide valuable input here. Not by making the decision for you, but by highlighting the available options, identifying developments worth exploring and sharing the experiences of other Test Automation Engineers.

And perhaps that will become the most important skill in a world where both tooling and AI are developing at an ever-increasing pace.

Not finding an answer as quickly as possible, but asking the right questions first.

Understand. Assess. Experiment. Decide.

Use technology to explore your options and make better-informed decisions, but don’t outsource the decision itself.

Not even to AI.

Misschien vind je de volgende artikelen ook wel interessant