Insights · Guide
Run AI automation testing with gates
By Agrim · Published November 27, 2026 · 4-minute read
In short
AI automation testing should run under human approval; in our view, delegate first drafts to tools and keep boundary decisions with a tester.
AI automation testing should run under human approval of test boundaries and edge cases. In our view, a team should delegate first drafts and page-object generation to AI tools and keep boundary decisions and locator repairs with a tester.
ITEA's article on AI-generated test artifacts reports a 2026 survey of 1,149 developers. In our view, that gap is where approval gates belong. Omega is the AI testing agent we build. The open question, in our view, is which steps a tester should still own.
Page-object generation can be automated
The W3C WebDriver specification defines WebDriver as a language- and platform-neutral wire protocol and remote interface that lets out-of-process programs control and inspect user agents. The same specification provides interfaces designed to locate and manipulate DOM elements within web documents.
Generation of the page objects themselves can be automated too. Apogen, described in a published paper, uses clustering combined with static analysis to detect meaningful page abstractions and convert them into Java page objects for Selenium WebDriver.
A generated page object, in our view, is a proposal until a tester has confirmed its locators point at the intended elements. In our view, a team can delegate the generation and keep the confirmation with a tester.
Page objects separate test logic from page details
The Selenium documentation defines the Page Object Model as a design pattern in which a class serves as the interface to an application page, aimed at less duplication and easier maintenance. It adds that page objects create a clear boundary between test logic and page-specific layout details or locators.
In our view, that boundary shows where a team can review AI output: test logic on one side, locators and layout on the other.
A generated case that calls existing page-object methods, in our view, is routine regression and a fair candidate for delegation to AI regression testing tools. Generated cases, though, often leave out some kinds of test, as the next section shows.
AI-generated tests often omit boundaries and edge cases
ASTQB reports that AI tools tend to over-represent ideal user journeys, so boundary conditions, negative tests and edge cases get underrepresented or missed entirely. In our view, a generated suite can therefore be thin on negative and boundary cases.
ITEA's article makes the matching point about people: AI tools can draft test cases, but human judgment remains necessary to ensure artifacts are complete, traceable, adequate and valid as evidence.
In our view, the gate is a list. A tester, in our view, should sign off the negative and boundary cases the draft covers, and add those it missed, before generated tests join regression. Such a list, in our view, targets the omissions ASTQB describes. Generated tests are not the only AI output a tester can review, though; repaired locators are another.
Self-healing tools can stage locator repairs for approval
In our view, SmartestQA shows what a human gate can look like in practice. SmartestQA stages repaired locators in an auto-heal dashboard where a user manually approves or rejects them.
Katalon defines self-healing test automation as the ability of a test to recover when it can'“t find a UI element with its stored locator, by finding the same element another way during the run”. SmartestQA's rules show where that tool stops. Without an exact match and with AI auto-heal on, SmartestQA requires an AI candidate to score at least 85 points and lead the runner-up by at least 15 points before it accepts a proposed repair. SmartestQA's runner does not heal when the application displays errors, returns HTTP 500 or higher, 401 or 403, or its API returns a server error within the last 20 seconds.
Katalon Studio excludes Verify and Wait For keywords from self-healing by default, because healing them can cause false positives. Self-healing addresses broken locators from UI adjustments, but it cannot resolve broken test logic, behavioral changes, timing issues or faulty test data.
When a step fails, in our view, a reviewer should ask first whether a locator was the cause, since self-healing addresses one specific cause of failure. If not, in our view, the repair queue is the wrong tool, and a person should look at the failure.
Decide where unreviewed AI automation testing stops
In our view, a team should not treat AI-generated tests as evidence until a person has judged them. ITEA says AI may help draft a test case but cannot replace independent judgment on whether it is adequate, complete, traceable and fit as evidence. ASTQB points to a CIO report that many insurers have started excluding AI workloads from cybersecurity and errors and omissions policies due to unpredictable outputs.
In our view, accountability for a suite's coverage cannot sit with the tool, so a team should check four things:
Who approved the boundary and negative-case list before generated tests joined regression?
Do locator repairs wait in a queue where a person approves or rejects them?
Are Verify and Wait For keywords excluded from healing, as in Katalon Studio by default, where healing them can cause false positives?
Does each generated test have a named owner who can answer for its coverage?
In our view, routine regression on existing page-object methods is a fair place to delegate. Healing is the wrong tool when the app's behavior changed, the test logic is wrong, or timing or test data is at fault, and boundaries and edge cases still need a person.

