Agentic testing

AI & LLM Testing

// Definition

A testing approach where an AI agent — not a pre-written script — drives the test session. You hand the agent a goal in plain English ("complete checkout with a guest account and verify the success modal") and it inspects the page, decides what to do next, executes the action, observes the result, and iterates until the goal is reached or it gives up. The architectural shift from deterministic automation is significant: with scripted tests you know exactly which steps will run, with agentic tests you only know the intent. That's both the appeal (resilient to UI change) and the risk (a confident agent doing the wrong thing at scale costs more than a flaky scripted test). Practitioner consensus in 2026 is that agentic testing pays off above roughly 200 stable tests with mature locator strategies — below that, integration overhead exceeds the maintenance savings.

// Related terms