AI-Enabled QA / Agentic Automation

Self-Healing AI Quality Engineering Platform Cuts Test Authoring Effort by 80%

Healthcare compliance software provider

Healthcare Compliance (SaaS)Claude (extended thinkingvision)
80%test authoring acceleration
94%self-healing pass rate
75%shorter test execution with pre-authenticated sessions
15–60sfrom Markdown user story to Page Object + spec

At a glance

Client Healthcare compliance software provider (name withheld)
Use case Autonomous, self-healing UI test automation
AI used Claude (extended thinking and vision) running agentic repair through an in-process Model Context Protocol (MCP) server
Result 80% faster test authoring and a 94% self-healing pass rate, which removes most test maintenance work

The situation

UI test suites break whenever the DOM changes. Each release added a "maintenance tax": QA engineers rewrote selectors, re-recorded flows, and triaged flaky failures instead of growing coverage. Writing new tests also required specialist Playwright and TypeScript skills.

The solution

SenecaGlobal built a quality engineering platform on Playwright and MCP. Tests are written in plain English, run through conversation, and repaired automatically.

AI capabilities

  • Flow Generator Agent: reads Markdown user stories, explores the app through MCP, and generates complete Page Object Model (POM) classes and specs
  • Cognitive Failure Analyzer: uses multi-modal triage (logs, stack traces, failure screenshots) to classify each failure as Locator, Auth, Race, Flake, or Bug
  • One-shot record-to-spec: turns a browser recording into POM classes, specs, and fixtures in one pass (~15s)
  • Missing POM Method Healer: finds TypeScript missing-method errors and adds the missing method

Two-tier self-healing

  • Tier 1, deterministic fast path (0 tokens, under 2 seconds): checks healing memory for known fixes, scans the DOM against the step's intent, and patches automatically when confidence is 0.90 or higher. It asks for a compact ~350-token LLM assist between 0.50 and 0.89, and keeps a patch only after a green re-run.
  • Tier 2, deep agent repair: escalates through locator repair, flow realignment against the user story, and full re-synthesis for redesigned pages. It writes timestamped backups so any change can be rolled back with no code lost.

Platform

  • In-process MCP server with 19 browser tools for navigation, form and locator mapping, and deterministic interaction
  • A 10-tier locator hierarchy that filters out volatile UI-library class names
  • Natural-language runner ("run user permissions tests in staging headed", "heal failing integration tests")
  • Interactive QA Studio with a live health dashboard, database validation against the backend data warehouse, and audit-ready HTML reports

The results

  • 80% faster test authoring, with user stories turned into resilient POMs in 15–60 seconds
  • 94% self-healing pass rate, as DOM shifts are patched without pipeline failures
  • Zero-cost local repair: healing memory and live DOM matching fix drift without spending LLM tokens
  • 75% shorter test execution through pre-authenticated session caching
  • 100% type-safe output: live DOM checks and compiler validation catch hallucinated code
Next step

Have a platform that needs the same care?

Talk to our experts