DEV Community

Cover image for What is agentic testing?
Will Macpherson
Will Macpherson

Posted on Edited on Originally published at getantidote.com

What is agentic testing?

Summary
Agentic testing puts AI agents into a running app to pursue user goals from what they see on screen. Six questions expose any tool’s real design.

The numbers

  • Over 40% of agentic AI projects forecast to be cancelled by 2027
  • 48% of developers trust AI output when it’s easy to verify

Agentic testing uses AI agents that pursue a user goal in a running web application, such as logging in and buying a product as a guest. Agents choose each next step from what they observe on screen instead of replaying scripted steps. Autonomous testing goes further: runs start on their own on every release.

Across the market, almost every testing vendor now calls its product agentic. Because an agent that chooses its own steps can fail in ways scripted checks never could, the label alone tells an engineering team very little. What separates a trustworthy tool from a noisy one is how the system decides what to believe.

What is agentic testing?

Agentic testing gives an AI agent a user goal in plain English and lets it click and type its way through a running web application like a customer. Instead of replaying a rigid sequence of selectors that an engineer predicted in advance, the agent looks at what appears on screen on each turn and proposes the next action needed to reach its goal. At the end of a run, it closes the session as done or not done, explaining how it finished or why it stopped.

Even when the model chooses every step, it should never control the browser directly. A clean boundary separates deciding from acting: the agent proposes a single step, and deterministic code decides whether that step is allowed, carries it out in the browser and records what happened. That structure reflects Anthropic’s well-known distinction between workflows, “systems where LLMs and tools are orchestrated through predefined code paths”, and agents, which “dynamically direct their own processes”. Treating browser verification purely as a workflow makes it fragile whenever a product changes; treating it purely as an unconstrained agent makes it erratic and hard to audit. Pairing the two gives you adaptability where interfaces move and control where safety and evidence matter.

In day-to-day conversation, teams often blur three separate terms: AI-assisted, agentic and autonomous. Keeping them apart matters when you are evaluating tools, because buying faster test authoring is very different from buying independent product verification. AI-assisted testing means a person still writes and maintains tests with model help. Agentic describes who chooses the next step during a run. Autonomous describes who starts and steers those runs across releases.

Approach Writes steps Picks next step Starts runs When the UI moves Output
Scripted Engineer Fixed script CI or person Selectors break Pass or fail
AI-assisted Person with AI Fixed script, healed locators CI or person Renamed controls may heal; redesigned flows break Pass or fail
Agentic Plain-English goal Agent from screen Person or trigger Moved buttons do not break it Session and observations
Autonomous agentic Agreed key flows Agent from screen Every release and PR preview Moved buttons do not break it; new screens enter scope Observed journeys and evidence

Vendor definitions in this category still vary widely. Several established vendors define agentic testing as agents that draft, execute and repair test cases, keeping the test script as the unit of work. That framing can reduce maintenance toil, yet it leaves teams anchored to maintaining an ever-larger catalogue of scripted assumptions. Analysts have also pointed out that autonomy never removes human judgement from software quality: Forrester argued in its autonomous testing analysis that “human assistance is a must”, “bringing human business and technical testers back to center stage”.

Our view at Antidote starts from a different unit of work: the observed user journey. A single run is always bounded by its inputs, environment and path, and its purpose is to bring back inspectable evidence of what happened so the engineering team can decide what ships.

The practical difference between maintaining scripts and observing journeys shows up the day the interface moves, which, on an active product, is most days.

How do AI testing agents compare with traditional test automation?

Traditional test automation replays steps someone wrote down and fails when the application drifts from those instructions. A testing agent pursues a user outcome, adapts its path when the layout shifts and brings back evidence of what actually happened.

Scripted suites such as Playwright and Cypress still earn their place in modern engineering pipelines. They are fast, deterministic and cheap to run on every commit, and well suited to checking narrow contracts and stable state transitions. Agentic testing sits alongside them and complements existing engineering checks: your scripted tests verify what engineers expected when they wrote the code, while observed journeys show what really happens when someone uses the live product.

Where scripted automation struggles is in mirroring how people use a changing product. Real customers are never scripted, yet software teams spend huge amounts of engineering time writing scripts to anticipate how those customers will behave on their platform. Every time a product team reorders a checkout step, changes a layout or renames a control, brittle scripts fail for reasons a customer would never notice, forcing engineers back into maintenance before the suite can tell them anything about the release.

That difference also changes what we should call these checks. Engineers rightly expect a “test” to run fixed steps from a known starting state with identical repeatability. A goal-seeking agent behaves differently, which is why we think in terms of flows: something a user can do in an app, written as one sentence, such as “Export last month’s invoices as a CSV file”, paired with a clear condition for when it is done.

Just as important is how completion gets judged. Whether a flow succeeded should be decided from what a person sees on screen, never from URLs or selectors. A customer does not care whether a button moved within a container or a record identifier changed in the address bar; they care whether the invoice downloaded. Judging completion from the visible interface means a moved button does not break the flow, while the rule that “Didn’t run is not a pass” still holds.

Judging from the outside matters even more now that AI models write a growing share of production code.

Tests derived from source code inherit the assumptions baked into that code leaving blind spots around configuration, third-party integrations and cross-service state. Operating the running product without looking at your code judges software by what it does for the person using it, a shift we explore further in The Autonomous Software Factory is Already Here (But You’re Assembling It Wrong).

Yet giving a testing agent the agency to choose its own steps introduces failure modes a scripted test could never invent. Without guardrails, it can misread an interface, act on external systems, touch hidden controls or blame your product for its own mistake.

How to judge any agentic testing tool, ours included

Ask how an agentic testing tool decides what to believe before asking how clever its agent looks in a demo. Six questions expose the real design quickly:

  1. Does the agent that ran the journey also decide whether it passed? If the same model acts and grades itself it carries the run’s blind spots straight into the verdict.
  2. What does it report when it could not test fairly, and is that kept apart from passes and failures? Without an explicit blocked or inconclusive state, platform hiccups either inflate failure counts or hide inside green checks.
  3. Does every finding face a sceptical check and a fresh replay before anyone sees it? First-pass observations are noisy; trying to disprove candidate bugs and verifying whether they reproduce keeps the inbox workable.
  4. Are safety limits enforced in code or written in a prompt? Prompt instructions can be overridden by what appears on screen, so guardrails around disruptive actions and secrets belong in code.
  5. How is the tool measured, and is it tested against bugs planted on purpose? Measuring only false alarms hides what an agent walks straight past; credible evaluation requires testing against known defects.
  6. Can engineers verify every finding from video, steps and errors without granting code access? Direct visual evidence lets teams confirm real user impact from outside the codebase rather than trusting a black-box summary.

When agents take on routine journey checks across releases, people stay central while their work shifts up a level. Instead of writing and repairing brittle selectors, teams spend their time choosing the flows that matter, defining what “done” means for each one, reviewing Needs review and Blocked results and making the call on what ships.

Watch a recorded run on /evidence to inspect an observed journey for yourself, then put those six questions to whichever tool you are evaluating, ours included.

Frequently asked questions

Is agentic testing the same as autonomous testing?

No. Agentic testing describes how a check runs: an AI agent pursues a goal in the live application and picks each step from what it sees on screen. Autonomous testing describes who starts and steers those runs, triggering them on every release and pull request preview rather than waiting for a person.

Will agentic testing replace QA testers?

No. The work shifts, but people remain central to quality. Teams spend less time writing and fixing brittle scripts and more time choosing key flows, defining what done means, reviewing Needs review and Blocked outcomes and deciding what ships. At Antidote, our principle is “Faster engineers, not fewer.”

Is agentic testing reliable given that AI agents are not deterministic?

Reliability comes from separating discovery from judgement. Exploration is non-deterministic by design, so an agent can adapt when interfaces change, while a separate judge evaluates finished runs strictly against visual evidence afterwards. Anything the testing setup could explain is marked inconclusive rather than blamed on the product.

Does agentic testing replace Playwright or Cypress?

No. Antidote sits alongside Playwright, Cypress and your existing engineering checks, complementing them rather than taking their place. Scripted suites replay steps someone wrote down to verify expected behaviour, though someone must update them when the interface shifts. Antidote uses the live product to show what really happens.


Originally published on the Antidote blog, written by Will Lewis, Co-founder and CTO of Antidote.

Top comments (0)