Self-Healing Test
A test that automatically repairs its locators when the UI changes, so it keeps passing without manual maintenance.
What is Self-Healing Test?
What is Self-Healing Test?
A self-healing test detects when its locator no longer matches—because an element moved, a class changed, or markup was restructured—and automatically relocates the intended element from surrounding context, updating the selector so the test keeps running instead of failing on trivial UI churn. Critically, healing fixes how a test finds elements, not whether it passes: assertions still decide the verdict, keeping runs deterministic. This is the heart of QI: the AI heals tests rather than running them, eliminating the maintenance burden that normally makes UI automation unsustainable.