Hero Background

Next-Gen App & Browser Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Next-Gen App & Browser Testing Cloud
Testμ

The Full Agentic QA Loop for Web Applications [Testμ 2026]

Siddhant Sinha runs a PRD through Kane CLI end to end: use cases, acceptance criteria, wired tests, a real browser run, and coverage backed by evidence.

Published on:

One use case out of a product requirements document produced 13 acceptance criteria. Four scenarios. Four tests. And a coverage report saying which of those criteria a run had actually verified, rather than a number somebody estimated.

That is the whole argument of this workshop, demonstrated rather than described.

At Testμ Conf 2026, Siddhant Sinha, Lead Member of Technical Staff at TestMu AI, walks a PRD all the way to an evidence pack in one sitting. It is a first-party session about Kane CLI, so read the demos as the vendor showing its own product working.

Youtube thumbnail

If you couldn’t catch all the sessions live, you can access the recordings at your convenience by visiting the TestMu AI YouTube Channel.

TL;DR

The agentic QA loop closes when one CLI carries a PRD through use cases, acceptance criteria, scenarios, wired tests, a real-browser authoring run and a portable evidence pack, with coverage reported as acceptance criteria actually verified rather than estimated. The problem it targets is an AI writing the test for code the same AI wrote, which Siddhant Sinha calls a sense of false truth.

  • Why distrust a test written by the AI that wrote the code? - Siddhant Sinha calls it a sense of false truth. When the same agent builds the feature and then proves it, the tests come out brittle and slow, never genuinely proven in a real browser, and the code breaks once it reaches production.
  • What is the PRD-to-test gap? - Developers build from the PRD and QAs write tests from the same PRD, with the translation done entirely by hand, so nothing links a business use case to the scenarios and criteria meant to cover it. Drift, stale tests and guessed coverage numbers follow.
  • Do Kane CLI tests contain selectors or XPaths? - No. Tests are plain-English test.md files with numbered steps and no locators; the CLI resolves those internally, and one step of the file declares which scenario and acceptance criteria that test verifies.
  • How many use cases came out of the demo PRD? - Four, extracted before any test was designed: placing a delivery order marked high risk, signing in before ordering, managing the cart, and browsing the menu to add items.
  • Can you change a use case’s risk level without editing a file? - Yes. Siddhant Sinha typed that use case three should be high risk, the agent re-checked the request and promoted it from medium, and the change was already visible in the context view.
  • Does the agent design tests straight from the PRD? - No, and that is the point of the sequence. It extracts use cases first, pauses for human approval, then designs acceptance criteria, then scenarios, and only then wires them into tests.
  • Does the agent ask the human anything? - Yes. Before generating scenarios it asked whether whitespace-only entries should count as empty for the Place Order rule, and how many scenarios to budget. Siddhant Sinha notes a better PRD would have produced fewer questions.
  • Why answer “no limit” to the scenario budget? - Because capping the count makes Kane CLI record coverage gaps around the scenarios it was not allowed to write. Uncapped, it produced the four it had proposed: two happy paths, one negative and one boundary case.
  • Is the first browser run as fast as later runs? - No. The first pass is discovery, where the agent reads the screen, the tree structure, the network logs and the console logs to resolve each intent into actions. Once authored, execution replays what it already learned and runs visibly faster.
  • What does the evidence pack contain? - The authoring steps and the execution steps as separate views, plus the coverage mapping showing which acceptance criteria a given run verified. Siddhant Sinha served the pack from his own machine during the session.
  • Can the agent rewrite acceptance criteria to make a test pass? - No, according to Siddhant Sinha. Once created and approved by a user, criteria are not modifiable by the authoring or execution agent, so an agent that strays outside the intended flow simply causes the test to fail.
  • How is coverage expressed? - Against acceptance criteria rather than test counts. The report shows which criteria each test verifies and which a given run actually proved, so failing criteria pull the coverage number down instead of leaving it as an estimate.

The False Sense of Proof

AI has been writing code in seconds for about two years, and Siddhant Sinha is not arguing with that. Claude Code, Codex, Gemini and Copilot all get used to build harnesses, write unit tests and wire CI.

His target is narrower and sharper: the same agentic loop that generates the application then asks that same AI to write and prove the test for it.

Comma

The tests that come out of that arrangement are brittle, slow, and never actually proven in a real browser. He says the team spent seven to eight months trying to close the loop end to end, which is where Kane CLI came from.

The PRD-to-Test Gap

The second problem is organisational and will be familiar anywhere with more than one job title.

Product managers, developers, QAs, SDETs and leads all work from a single artifact, the PRD written for a use case. The developer builds the feature from it while the QA writes test cases from it, and the translation from business use case to executable test is done entirely by hand.

What is lost in that translation is the link. Nothing connects the business use case to the scenarios and acceptance criteria meant to cover it.

The symptoms he names are drift, stale tests, and coverage claims that are guesses. Saying a feature is 70% covered when nobody can show the mapping is his illustration of the problem rather than a measured figure from anywhere.

The Loop at a Glance

The workshop walks one path in order, and it is worth seeing the shape before the detail. Each stage produced something concrete against the demo PRD.

StageWhat it doesProduced in the demo
IngestReads the PRD and extracts business use cases with risk levels4 use cases, one high risk
ReviewBlocks until a human approves the extracted use casesApproval recorded inline
DesignDerives acceptance criteria, then scenarios, from one use case13 acceptance criteria, 4 scenarios
WireDecides which scenario covers which criteria4 tests, each verifying a named set
AuthorRuns the plain-English test in a real browser and learns the path7 intents resolved into actions
ExecuteReplays the authored steps without rediscovering themVisibly faster second run
EvidenceEmits a portable pack plus coverage against criteriaAuthoring and execution views, coverage map

TestMu AI sits behind the CLI as the test management system, so authoring creates the test case centrally and even a local execution creates a test run, while the evidence itself is emitted locally.

Ingesting the PRD

The demo application is a locally hosted food-ordering site, and its PRD is a real document rather than a one-liner: the use cases built, the kinds of tests wanted, the applicable rules, how the order number is generated, and which network calls occur.

Ingesting it produces use cases, not tests. That ordering is the design decision the rest depends on.

Four came out: placing a food order for delivery, marked high risk; signing in before ordering; managing the cart, covering quantities, removals and totals; and browsing the menu to add items. The last two arrived marked medium.

Each carries a summary the design phase later consumes, and reclassifying one takes plain English. He typed that use case three should be high risk, and the agent re-checked the request and promoted it.

His framing of what the extraction replaces is worth quoting back at anyone who thinks this is autocomplete: it is the work a QA lead or product person with ten to fifteen years of experience would do with a single PRD.

Note

Note: Close your own loop: author in plain English, run on real browsers, keep the evidence. Try TestMu AI now!

The Review Gate

Asked to design, the CLI refuses and asks for approval first, because the use case has not been reviewed.

He knows what was created, so he approves inline and design proceeds. The explicit path is a review command followed by approving a specific use case, which records that a human was satisfied with it.

Approval and design are deliberately decoupled, and his reasoning is practical rather than architectural. No QA lead, PM or manager designs four extracted use cases in one sitting, so sessions hold the state and you resume where you stopped.

Mid-design the CLI shows a session meter: phase two of four, seventeen items in the session, and the credits consumed so far for designing this one use case. Cost is visible while the work happens rather than after it.

Thirteen Acceptance Criteria

Designing against use case one produces 13 acceptance criteria, and reading them aloud is what makes the abstraction concrete.

Checkout shows a full name field. Checkout shows a delivery address. Card and cash are both offered. Card is the default when checkout opens. Place Order stays disabled while the full name is empty.

The success path gets its own: a confirmation message, an order ID on placing the order, the total paid shown on the confirmation screen, and a back-to-menu action returning the user to the main screen.

One criterion is a useful reminder that this is not a UI-only tool. Kane CLI inspects network, console and dev tools and can assert against them, so one criterion here is that no network calls fire, because the demo application is static.

Design stops there on purpose. Acceptance criteria state what needs to be tested; scenarios are a separate step.

The Agent’s Two Questions

Before building scenarios the agent stops and asks, and he uses the moment to make a point: this is not magic, and a better PRD would have produced fewer questions.

The first concerns the rule that Place Order is enabled only when name and address are non-empty. Should whitespace-only entries count as empty, or as filled? He takes the recommended option, literal non-empty.

The second is the scenario budget, where the agent proposes four: two happy paths, one negative and one boundary case.

He answers no limit rather than capping it, and the reason is the most instructive detail in the workshop. Capping the count makes Kane CLI record coverage gaps around the scenarios it was not permitted to write, so an artificial limit shows up later as a hole in the coverage report rather than disappearing.

Wiring Scenarios Into Tests

Wiring is the step he calls the genuinely hard part, and it visibly takes time on stage: deciding which scenario covers which acceptance criteria.

The output is four tests, each a scenario paired with a specific set of criteria it verifies. The checkout that succeeds on the default payment method and clears the cart verifies eleven. The negative test, where checkout stays blocked until both required fields are filled, verifies six. The test that switches payment method verifies twelve, as does the boundary test accepting one-character fields.

He is upfront that this is a small example and the value shows at scale, when several PRDs arrive and use cases overlap. The linkage Kane CLI maintains is exactly the PRD-to-test mapping teams otherwise keep in a spreadsheet or in someone’s head.

Get Kane CLI certified for free with TestMu AI

The Graph and the Test File

After design, listing the context shows scenarios, acceptance criteria and tests alongside the source and use cases that were there before.

The graph view makes the relationship visible: the ingested PRD linked to all four use cases, each use case to its scenarios, each scenario to the test created for it, and each test to the criteria it verifies, all clickable.

Lineage is empty at this stage. It appears once you update the PRD and re-ingest it through the maintain path, which evolves a specific document and records its history, which is the answer to the drift problem the session opened with.

Opening a generated test in the editor shows plain English, no locators, numbered steps. One step declares which scenario and which acceptance criteria that test verifies.

Because that file format is simply what the CLI understands, the whole assurance path is optional. You can hand-write a test file describing what you want tested in plain English and run it.

Discovery, Then Replay

He picks an authored test and runs it with no extra configuration, splitting the screen so the browser and the terminal are both visible.

The run decomposes into seven intents. The first handles sign-in and details, the second adds items to the cart and verifies them, and one negative check runs live: going to the cart without adding anything and confirming it is empty.

Underneath, the agent is reading the screen, the tree structure, the network logs and the console logs, and resolving each intent into concrete actions itself.

The distinction he draws here is the one that answers the usual objection about agentic tests being slow. The first pass is discovery, where the agent works out how to run the plain-English test, and it is slower by design. Everything after that is replay of what it already learned, and the re-run is visibly quicker.

Evidence and Coverage

A successful run saves artifacts, on the principle that without evidence nobody can see what was executed.

Test Manager shows what was tested and offers a replay view, which is not a code run but a view of what the agent did, verifying and going back to check, alongside emitted deterministic code and a version history tracking how a test changes over time.

The evidence pack itself was served from his own machine during the session rather than from the cloud, and a hosted viewer lets anyone you share a pack with drop it in and see the run. The view separates the authoring steps from the execution steps.

Coverage is expressed against acceptance criteria rather than test counts. One criterion is linked to all four tests, another to three, and the report shows which criteria a given run actually verified.

The headline from the single executed test was 12 of 15 acceptance criteria verified, offered as the answer to what the coverage of this product is, where passing criteria mean working tests and failing ones pull the number down.

One number does not reconcile on air, and it is worth flagging rather than smoothing over: design produced 13 acceptance criteria for use case one, while the coverage screen reports a denominator of 15. The session never explains the difference, so treat the 12 of 15 as what the tool displayed rather than as arithmetic you can follow from the demo.

Q & A Session

The workshop ran out of time before the agent-integration section, which was promised rather than demonstrated. Three audience questions were taken instead.

  • How does agentic review detect that a test has drifted out of sync with the application?

    Siddhant Sinha: Kane CLI treats the PRD as the source of truth, so a test built from it that starts failing means either the PRD is wrong or the implementation is. Drift specifically means the feature changed, which means the PRD needs updating and re-ingesting; once it is, the drifted test can be identified and fixed. Skip that and the test simply keeps failing, and the failure shows up in the coverage number until the changed feature is handed back to the tool.

  • When the agent updates tests to match evolved behaviour, what stops it silently masking a real bug?

    Siddhant Sinha: Pass and fail are defined at the acceptance-criteria level, and the guardrail is that criteria approved by a user cannot be modified by the authoring agent or the execution agent. The agent can still take its own actions and can still make mistakes, but it can never rewrite the criteria, so anything outside the intended flow starts to fail. He says that immutability is what his own testing team relies on. Worth noting this is a design assertion made in the Q&A rather than something demonstrated on stage.

  • Who is responsible when an autonomous agent causes a security incident?

    Siddhant Sinha: For Kane CLI specifically, he says the tool has no access to anything beyond the PRD or context you give it. Speaking generally, he puts responsibility on whoever manages the agent, on the grounds that humans set the guardrails and decide what access an agent gets, so whoever holds that decision owns the incidents that follow from it.

This session was part of Testμ Conf 2026, which ran across three days of sessions on agentic engineering and quality. Registrations for the next edition are already open on the Testμ Conference 2027 page.

Author

...

TestMu AI

Blogs: 232

  • Twitter
  • Linkedin

TestMu AI is World's First Full Stack AI Agentic Quality Engineering platform that empowers teams to test intelligently, smarter, and ship faster. Built for scale, it offers a full-stack testing cloud with 10K+ real devices and 3,000+ browsers. With AI-native test management, MCP servers, and agent-based automation, TestMu AI supports Selenium, Appium, Playwright, and all major frameworks. AI Agents like HyperExecute and KaneAI bring the power of AI and cloud into your software testing workflow, enabling seamless automation testing with 120+ integrations. TestMu AI Agents accelerate your testing throughout the entire SDLC, from test planning and authoring to automation, infrastructure, execution, RCA, and reporting.

Add to Google preferred sources

Summarise with AI

Copied to Clipboard!
...

3000+ Browsers. One Platform.

See exactly how your site performs everywhere.

Try it free
...

Write Tests in Plain English with KaneAI

Create, debug, and evolve tests using natural language.

Try for free

Did you find this page helpful?

More Related Blogs

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests