Will AI replace software testers?
Updated:
AI can take over some testing tasks. That alone does not reliably establish whether or how many jobs a particular company will change. Product quality needs an accountable owner. A language model can prepare a test draft, explain a failure or suggest a change. A person must still provide context, identify the risks and decide whether the result makes sense.
What is wrong with the question?
The question “Will AI replace software testers?” combines two different activities. The first is creating and modifying test code. The second is deciding what to test, what the correct result is and what level of risk is acceptable to the business.
If a company measures success only by the number of generated tests, it may end up with a large suite that does not adequately cover the most important situations. The number of tests is therefore no substitute for a risk assessment.
What AI can take over and what remains a human responsibility
AI helps with repetitive and well-described work. It can prepare a first draft, add similar cases, explain existing code or suggest a repair after an interface change. The resulting time saving depends on the quality of the instructions and how many corrections the draft requires.
A person remains responsible for decisions that require context:
- Which scenario is critical to the business and how other cases should be prioritised.
- Which boundary values and exceptions represent a genuine risk.
- Whether the test actually checks the expected result or merely runs without a useful assertion.
An experienced tester also uses their knowledge of the product. They connect system behaviour, user needs, business rules and technical risks. A model can assist with this decision-making, but it needs relevant information and human approval.
How we address it
First, a person defines the purpose of the scenario and the expected result. AI prepares the first draft with controlled access to the test application. A tester reviews the draft, adds edge cases and verifies that the test fails when the application behaves incorrectly. The approved Playwright code then remains in your repository and can run without AI.
What to watch out for
AI can also accelerate the creation of weak tests. Do not monitor only the number of tests and the speed of creation. Consider the defects the suite detects, the stability of its runs and the time required to review drafts as well.
Assess the task rather than the job title
During a single day, a tester prepares data, reads requirements, explores new behaviour, writes a test and explains release risk. AI’s contribution may differ across those tasks. Do not base a decision about the whole team on a demonstration in which a model produced a short script.
This table proposes a division of work, rather than measured tool performance:
| Task | What AI may prepare | What needs verification |
|---|---|---|
| Case design | Variants based on supplied rules | Significant risks, exceptions and missing requirements |
| Test code | Implementation of an agreed scenario | Data, isolation and the actual expected result |
| Failure analysis | Trace summary and possible causes | Evidence of the cause and product-versus-test fault distinction |
| Pre-release evidence | Summary of results and open questions | Coverage, limitations and acceptance of remaining risk |
A model may also suggest a priority if given criteria. Compare that suggestion with business impact and available evidence. A more confident answer cannot resolve missing context. NIST describes confidently stated incorrect outputs and over-reliance on AI as risks.
Expected results need more than the model’s answer
Our illustrative example: delivery should be free only from 50 euros. A 49.90-euro basket should therefore retain the applicable fee. If AI incorrectly sets the threshold to 49.90 and repeats that error in the test assertion, the result may be green. Agreement between two incorrect outputs does not establish the business rule.
Derive the expectation from an approved requirement, rather than only current application behaviour or generated code. If the rule is unclear, record the question and resolve it with the product owner. A test must not silently decide which interpretation the company accepts.
In a controlled environment, then verify that the test actually catches incorrect behaviour. A data-setup failure alone does not demonstrate a correct price check. Playwright recommends testing user-visible behaviour and isolating tests. Generated drafts need to meet these requirements too.
Measure the pilot after checking quality
Choose a particular activity and comparable tasks. Record the baseline workflow, model, tool version and supplied context. Include rejected drafts, corrections, repeated prompting and result review in the assessment. Time to the first draft alone does not describe completed work.
Estimate benefit as the difference between the original time and the whole new workflow, including human review and subsequent maintenance. Compare matching scope and acceptable quality. If the draft misses an important known defect or maintenance has no named owner, fast creation is insufficient evidence of pilot success.
Allow for learning too: someone may finish a second similar task faster because they already know the problem. Do not automatically credit AI for the entire change. METR’s February 2026 update describes selection biases when measuring developer productivity. Such research cannot simply be applied to every testing team or used to predict jobs.
Access and approval need concrete boundaries
Distinguish a tool that only suggests text from an agent that can change files and act in an application. Define the permitted environment, data, operations and approval process. Production writes or release-risk acceptance must not follow merely from generating a plausible-looking script.
Supply the necessary evidence as context and check where your data goes. Secret keys and customer records are no substitute for good instructions. Accept changes through ordinary review, test execution and diff inspection. A repair that removes an assertion or changes the expectation to an incorrect result conceals the problem.
If the output consists of ordinary automated tests, verify their CI execution without model access. This separates draft creation from running approved code. Tests that themselves use AI for evaluation need their own rules for unavailable models and uncertain outcomes.
What the team should develop
A tester needs to understand product rules, test design, data handling, APIs and diagnosis. AI use adds the ability to prepare understandable context, assess a draft and explain its limits. Prompt knowledge alone cannot replace understanding a failed test.
Give a beginner room to design an expectation and explain why a particular check detects a fault. Generated-code review must rest on that understanding. Someone with the relevant context should review more complex or risky outputs, regardless of who produced them.
After the pilot, identify an owner for approved tests, a maintenance budget and reassessment criteria. Released capacity may help cover previously deferred risks. The company decides on organisational changes using the whole outcome rather than the generated-file count alone.
What a verified pilot may deliver
- Less time spent repeatedly writing similar code.
- More capacity for analysing risks and user scenarios.
- Clear accountability: AI proposes, while a person decides and approves.
Next step
List the activities that currently take the most tester time and choose one repetitive task for a pilot. If you would like to define a realistic scope, use a no-obligation consultation.