Skip to content

What does AI really change in automated testing?

AI helps you write tests, repair them, check what a customer actually sees, and explore a site. It does not replace human judgment.

AI changes four things in automated testing: it helps you write tests, repair them when the site changes, check what a customer really sees, and explore a site to find what nobody planned for. It doesn’t replace human judgment about what matters, or a reliable replay of your user journeys. The “100% autonomous” test, with no one to judge the results, is still a promise.

In short

  • AI writes a first draft of test cases from a user story, a page, or a video; a human reviews it and sorts it.
  • Self-healing repairs a test broken by a detail (an ID, a label), as long as it never hides a real bug.
  • With AI, a check can judge whether a screen looks the way it should, instead of requiring an exact, character-for-character match.
  • Letting AI test a site on its own, with no human to sort what it finds, still produces too many false alarms.
  • To get started, pick one use case: the one that solves your biggest problem.

Does AI write the tests for you?

AI writes the first draft, not the final version. From a user story, a page, or even a video of the journey, an AI assistant suggests the cases that must work, the fields to check, and the error cases. The work shifts from “writing” to “reviewing and sorting.”

For example, the Product Owner wrote the user story in Jira, and Rovo, Atlassian’s AI assistant, turns it into test cases on the ticket. ChatGPT, Claude, or Gemini can do the same, as long as you give them the context of the site.

AI is excellent at systematic variations: it never forgets the empty ZIP code, the negative quantity, or the expired promo code. It is less good at knowing what matters: which journey drives your revenue, which pricing rule is tricky, which bug would cost a fortune on a Friday night. That sorting is still your job.

How does AI repair a broken test?

AI repairs a test by understanding the intent of the step (“click the login button”) rather than looking for an exact ID. That’s self-healing.

Monday, 8:30 a.m.: 37 tests are red. The site has no bug; a developer simply renamed an ID, and half the tests can no longer find the button. Without AI, that’s a morning of maintenance. With self-healing:

  1. The test can no longer find the #login-button button.
  2. The AI reads the page again and recognizes the same button, under a new selector.
  3. It updates the test, and the test turns green again.
  4. The fix is logged, so a human can review it.

Self-healing has one serious limit: it must never repair a real bug. If the “Add to cart” button disappeared because the product is out of stock, the AI must not click somewhere else to make everything green. The goal is not a green dashboard; it’s the truth about the site. The possible approaches, from the most guided to the most autonomous, are covered in Self-healing: how AI repairs a broken test. On the code side, the Playwright MCP server already lets an AI assistant open the page, understand why a test fails, and fix it.

Checks closer to what a customer sees

AI makes checks less binary. A classic check requires exact text: “Welcome, Alessandro!” If the site shows “Hi, Alessandro!”, the test fails, even though no customer is bothered. With AI, a check can be:

  • flexible: it tolerates a label change that doesn’t change the meaning;
  • visual: it judges whether the screen looks the way it should (a price shown, a visible button, a page that isn’t broken);
  • contextual: it spots a screen that looks wrong, even when each element, taken alone, is correct.

This use case clearly reduces false alarms, and that is what makes tests credible: a team that gets too many useless alerts ends up ignoring them. Flexibility has a price: a check that is too tolerant lets a real problem through. So write precisely what matters (“the cart total is shown and correct”), rather than “the page looks fine.”

Can AI test a site on its own?

Not completely, and not anytime soon. What already exists: an AI agent that browses the site like a visitor, takes paths nobody planned, and reports what looks abnormal (that’s exploratory testing). What is making progress: tests created from real visitor journeys or from bugs found in production, and choosing which tests to run first based on what changed in the code.

What is still mostly a promise, as of fall 2026:

  • fully autonomous exploration, with no human to sort the results: it still produces too many false alarms;
  • understanding your business stakes without anyone explaining them to the AI;
  • judging the shopping experience: a checkout can work and still be painful;
  • figures like “this release has a 60% risk of incident”: appealing, but hard to verify.

The practical rule: give AI the repetitive work, and keep humans on the critical journeys.

Will AI replace testers?

No: AI replaces part of the execution, not the judgment. Just as calculators didn’t get rid of accountants, AI shifts the tester’s work: fewer clicks and repairs, more choices and supervision. In an agency, the project manager is often the one who tests; they go from manual QA to reviewing what the tool found.

AI does well Humans do better
Produce test variations without getting bored Know which bug is expensive, and for whom
Read logs and spot what repeats Judge whether a generated test is relevant
Repair tests broken by a detail Think like a customer: does the journey make sense?
Run day and night, weekends included Explain a bug, defend a priority, train people
Never forget a standard case Imagine the unlikely case that will break in production

The concerns are legitimate. AI sometimes gets it wrong: it can invent an off-topic test case or report a bug that doesn’t exist. It also requires new habits, like describing clearly what you expect from it. But people who know how to supervise it are worth more than before: AI won’t make the job disappear; it will leave behind the people who refuse to learn how to use it.

Where to start with AI in your tests?

Start with a single use case, the one that solves your biggest problem, and measure before going further.

  1. Name your problem. Tests that keep breaking: start with self-healing. Not enough tests: start with generation.
  2. Try it on a small scope, non-critical tests, before touching payment.
  3. Review everything the AI produces, especially in the first months, and keep a record of every automatic fix.
  4. Measure: time spent repairing tests, bugs found before your customers, false alarms.
  5. Bring the team along: a tool nobody understands ends up switched off.

No need to wait for the perfect tool: what exists today is enough to save time. To get started with free or nearly free tools, read How to start testing with AI on a small budget.

Targeted AI, with Qanary

Qanary, no-code automated testing for e-commerce, puts AI where it helps: creating tests (by exploring your site, or from a code change, Hotjar, or PostHog), visually checking screens, and repairing tests. Replaying the journeys, on the other hand, happens without AI: it stays stable, fast, and inexpensive. Self-healing is silent when a fragile selector changes, and visible when your site really changes, so a real bug never passes for a simple repair.

Want to see Qanary test your site? with Julia or Antoine.

Read next

  • Guide

    Build a testing agent with Claude Code and Playwright

    One folder, one command: Claude explores a site, plans its tests, runs them with Playwright, and delivers a report backed by proof. 15 minutes to set up.

    Antoine Bouchet, · 7 min read

  • Talk

    Self-healing: how AI repairs a broken test

    Self-healing repairs a test when the site changes. Three approaches with AI, from the most guided to the most autonomous, and their limits (ParisTestConf 2026).

    Antoine Bouchet, · 4 min read

  • Talk

    The quality mindset: how to ship flawless WordPress sites

    Define your critical journeys, document them in a spreadsheet, and move from reactive quality to quality you control: our talk at WordCamp Nice 2026.

    Antoine Bouchet, · 2 min read

All articles

Take 30 minutes to try Qanary on your own site.

Bugs only. Promise.