//

Agentic testing: where the senior SDET comes in

AI agents can now write, run and repair tests. That makes writing tests cheap — and trusting them expensive. Here is where a senior SDET makes the difference.

AI agents can now explore an application, write the tests, run them, read the failures and open a pull request with a fix — all before the first coffee. Teams are rightly excited. But after watching this play out in real delivery work, one thing is clear to us: agentic testing does not make senior test engineers less important. It moves them to the part of the job that was always the hardest.

What “agentic testing” actually means

It is more than an assistant that autocompletes a test. An agentic setup is given a goal and a set of tools, and works in a loop:

  • Explore — crawl the UI or API, read specs, tickets and existing tests.
  • Generate — write new test cases and test data.
  • Execute — run them in a pipeline or a sandbox.
  • Triage — classify failures as product bug, test bug, flake or environment.
  • Repair — “self-heal” broken locators and assertions, then propose the change.

Each step used to cost hours of skilled work. Now it costs minutes and some compute. That changes the economics of testing completely: writing tests becomes cheap — trusting them becomes expensive.

Where agents go wrong

The failure modes are rarely dramatic. They are quiet, and that is what makes them dangerous:

  • Bugs become the baseline. An agent that learns “correct” from how the system behaves today will happily write a passing test for a defect.
  • Self-healing hides regressions. When a button disappears and the agent “repairs” the test to click something else, the suite goes green and the user journey is broken.
  • Coverage theatre. Hundreds of new tests, most of them checking the same happy path from slightly different angles, while the risky edges stay untested.
  • Non-determinism. The same prompt can produce a different suite tomorrow. Without discipline, you lose the reproducibility that made automation valuable in the first place.
  • Access and data. An agent that can log in, create orders and call APIs is a powerful actor in your environment. What credentials does it hold, and what data does it see?

None of these are reasons to avoid agents. They are reasons to put someone experienced in charge of them.

Where the senior SDET comes in

In an agentic setup, the senior SDET (Software Development Engineer in Test) stops being the person who writes most of the tests and becomes the person who makes sure the tests mean something. In practice that is six responsibilities:

1. Owner of the oracle

The hardest question in testing has always been “what is the correct result?”. Agents cannot answer it from the code alone. The senior SDET turns requirements, business rules and risk into explicit invariants, acceptance criteria and reference data — the things an agent checks against, rather than invents.

2. Architect of the harness

Agents are only as good as the environment they run in. Stable test environments, controllable test data, deterministic seams (clocks, IDs, third-party stubs), sandboxed permissions and clear tooling boundaries are engineering work. This is where SDET skills pay off most.

3. Editor, not author

Agent output needs review like any other code — but with a test-specific lens. Does the test fail for the right reason? Is the assertion meaningful, or does it just check that the page loaded? Would it catch the bug we actually fear? A senior SDET defines that review rubric and teaches the team to apply it.

4. Evaluating the agent itself

If an agent is part of your quality process, it needs its own quality measures. Seed known bugs and see how many it finds. Run mutation testing against the generated suite. Track how often a “self-heal” turned out to hide a real defect. Without numbers like these, you are trusting a tool you have never tested.

5. Deciding where agents should not go

Not every area deserves the same approach. Exploratory breadth on a settings page is a great use of an agent. Payments, safety-critical flows, regulatory reporting and access control usually need human-designed tests, human review and a clear audit trail. Drawing that line is a risk decision, and it belongs to someone who understands both the product and the tooling.

6. Coach for the team

As agents take over the repetitive work, developers and testers need new habits: writing good acceptance criteria, reviewing generated tests, recognising flaky or meaningless checks. The senior SDET is the natural person to build those habits across teams.

Agents scale the doing. Senior SDETs scale the judgement.

A practical way to start

If you are introducing agentic testing in your organisation, this is the order we recommend:

  1. Pick one bounded area with clear requirements and low business risk.
  2. Write the oracle first — invariants, acceptance criteria and test data — before the agent writes a single test.
  3. Sandbox it: separate credentials, least-privilege access, no production data.
  4. Turn self-healing into suggestions, not automatic commits. Every repair is reviewed.
  5. Measure the agent with seeded defects and mutation scores before you widen its scope.
  6. Expand by risk, not by enthusiasm.

What does not change

Quality is still a decision about risk, made by people who understand the business. Tools have changed many times — from manual scripts to record-and-playback, from Selenium grids to cloud pipelines — and every time, the teams that did well were the ones with someone who could ask “what are we actually proving here?”. Agentic testing raises the stakes of that question. It does not answer it.

At NariQ we help teams introduce modern test automation — agentic tools included — with the QA leadership to make it trustworthy. If you are exploring this, we are happy to talk.

Let’s talk about your next project.

Tell us where you are and where you want to be — we’ll get back within one working day.