Last verified April 2026
> self-healing tests
Self-healing predates the 2026 agentic wave by two years. It is a maintenance layer, not a generation layer. Understanding the mechanics -- and the failure modes -- is essential before buying a self-healing tool. The three-identifier model is the architecture most mature tools use. Here is how it works and when it breaks.
> the three-identifier model
Rainforest QA popularised the three-identifier approach in 2022. The idea: no single locator reliably identifies a UI element across all code changes. By storing three independent identifiers for each element, the tool can recover from single-identifier failures without human intervention.
Visual appearance
A screenshot crop of the element at authoring time. When the primary selector fails, the tool uses image similarity to find the closest visual match on the current page.
DOM locator
The CSS selector or XPath that identifies the element in the HTML. The primary locator. If this breaks (element moved, class changed), fall back to identifiers 1 and 3.
AI text description
An LLM-generated description of the element: 'the blue primary button with text Submit in the payment form footer'. When both visual and DOM fail, this description is used to find the semantically-matching element.
Modern tools like Mabl and Testim have extended this with LLM reasoning for harder cases: when all three identifiers have changed, the LLM analyses the page structure and the original test intent to find the most likely current target element.
> tools that do it well, and their limits
Pioneer of three-identifier model. Hybrid human+AI for ambiguous cases reduces false-heal rate significantly. Enterprise pricing.
Most mature enterprise self-healing. LLM reasoning for complex locator failures. Custom enterprise pricing -- opaque.
Tricentis-owned. Solid self-healing with code-escape option. Acquired roadmap moving toward Tricentis TricentisOne.
Self-healing is present but the tool has been overtaken by competitors. Skip for new evaluations.
Self-healing as a side effect of agentic re-running. The agent repairs the plan, not just the locator.
Open-source LLM-based locator repair. Works on existing Playwright suites. See /playwright-ai.
> when self-healing misfires
- !Intentional UI redesigns: all three identifiers change simultaneously. The tool heals to a wrong element.
- !A/B tests: two valid element variants exist. The tool alternates between them, producing flake.
- !Dynamic content: timestamps, user-generated text, or random IDs cause identifier drift each load.
- !Structural moves: an element moved from the header to a sidebar may be re-identified as the wrong interactive element on the new page location.
- !Deliberate label changes: a button renamed from 'Submit' to 'Save' breaks the AI text description identifier.
> faq