AI-Assisted Test Maintenance & Self-Healing
Get unlimited access to all learning content and premium assets Membership Pro
Healing is real and it saves real time. It can also succeed at the wrong thing, and report that in green.
Ninety-five lessons and a capstone. Seventeen hours and fifty-four minutes.
Who this is for
Automation engineers losing a day a sprint to locators that moved for no good reason, and leads being sold a self-healing product who would like to know what the confidence number is made of.
The reason this course exists, in one number
Six recorded locators meet a page one sprint later.
Four heal correctly — four tests that did not fail on a Monday for no reason, which is genuinely a morning back.
One heals at 44.7 against a threshold of 38: sixteen points clear, comfortably confident, onto the wrong button. The test meant to remove one line from the basket. It clicked “remove all”, emptied the basket, and passed — because the assertion afterwards was about that line being gone, and it was.
The report says healed, in the same green words as the four that were right.
And the sixth correctly refuses, by under three points — and the thing it nearly chose was the order total.
That is the subject. Not that healing fails, but that it succeeds at the wrong thing quietly, and a green test is the one nobody looks at.
What you will be able to do
- Say what a healer is actually doing: a fingerprint, candidates, a score
- Read the arithmetic behind a confidence number, and know what it is made of
- Tune weights and a threshold, and predict what a change will cost
- Write a healing policy with a trigger nobody has to remember
- Triage a failing run to the cause that matters rather than the biggest one
- Use a model to generate and refactor tests, and read what it gave you sceptically
- Tell flakiness that is a design fault from flakiness a healer will paper over
What you will build
You are handed the healer, with nine published weights and a threshold, and asked to move them — then to write down what your choice cost.
Ten published criteria, seven settled by a script that runs your numbers against the same six cases the marker uses. One of the seven is not a trade-off: no case may heal onto the wrong element. A healer that clicks the wrong button and reports success is worse than no healer.
And a warning that saves a weekend: there is no configuration that gets all six right. One of them has no correct answer on the page at all. The exercise is not to win — it is to choose, and to say what you chose against.
The criterion that decides it: which of the two failures would you rather have, and why. “Thirty-eight seemed reasonable” is not an answer.
Requirements
A computer and a browser. A language model is optional — every lesson that uses one has its transcript committed, and no lesson stops working without it.
The healing half runs offline and deterministically: no browser, no network, no model. Your numbers are the same as everybody else’s, which means a disagreement about a threshold is a disagreement about judgement rather than about whose machine it ran on.
What this course is not
It does not name a product, and it does not recommend one. Commercial healers change yearly and their marketing quarterly; the arithmetic does not, and that is what is taught here.
It is not a machine learning course. And it does not claim healing is a maintenance strategy — it is a technique with one dangerous failure mode, and this course is largely about that mode.
How it is taught
Concept lessons that build the model, demonstrations against a healer whose weights are published and whose arithmetic is printed, and workshops where you are handed a heal and asked whether to trust it.
The practice material is checked by 35 assertions with no browser, no network and no model — including that the wrong heal stays wrong and the refusal stays refused. If either ever changes, the checks fail before a lesson does.
- 11 Sections
- 95 Lessons
- 10 Weeks
- IntroductionHow the course is put together, and the application you will work against.2
- 1. Foundations — QA & Test Design FoundationsWhat testing is for, and how to choose what to test. No tool, no code.14
- 2.1What quality actually means, and who owns it9 Minutes
- 2.2Manual, automated, and what automation cannot do10 Minutes
- 2.3Test levels: unit, integration, system, end-to-end11 Minutes
- 2.4The test pyramid, the testing trophy, and when each is wrong12 Minutes
- 2.5Functional vs non-functional testing9 Minutes
- 2.6Equivalence partitioning10 Minutes
- 2.7Boundary value analysis10 Minutes
- 2.8Decision tables and state transition testing12 Minutes
- 2.9Pairwise and combinatorial testing10 Minutes
- 2.10Exploratory testing and charters10 Minutes
- 2.11Risk-based test selection: what to automate first12 Minutes
- 2.12Writing a test case that survives a handover10 Minutes
- 2.13Bug reports that get fixed11 Minutes
- 2.14Entry and exit criteria, definition of done9 Minutes
- 1. Foundations — How Software Gets Built: SDLC, Agile & FlowWhere testing sits in the way work actually moves. No tool, no ceremony theatre.6
- 3.1How software gets built: waterfall, V-model, iterative11 Minutes
- 3.2Where testing sits, and why it moved left10 Minutes
- 3.3Scrum from a tester’s seat12 Minutes
- 3.4Kanban, flow, and work in progress10 Minutes
- 3.5Refinement: asking the question before the code exists11 Minutes
- 3.6When the process is the problem10 Minutes
- 1. Foundations — Selectors: CSS & XPath MasteryThe single highest-reuse module in the catalog. Framework-free throughout.14
- 4.1What a locator strategy is, and why most suites fail here9 Minutes
- 4.2CSS selectors: type, class, id, attribute10 Minutes
- 4.3CSS combinators: descendant, child, sibling10 Minutes
- 4.4CSS pseudo-classes worth knowing: nth-child, not, has12 Minutes
- 4.5XPath: absolute vs relative, and why absolute is a trap10 Minutes
- 4.6XPath predicates and indexing11 Minutes
- 4.7XPath axes: parent, following-sibling, ancestor13 Minutes
- 4.8XPath text(), contains(), normalize-space()12 Minutes
- 4.9CSS or XPath: choosing per situation9 Minutes
- 4.10Role, label and text-based locators — the modern default12 Minutes
- 4.11test-id attributes: the conversation to have with developers10 Minutes
- 4.12Locating inside tables, lists and repeated components12 Minutes
- 4.13Dynamic ids, generated class names, and how to survive them12 Minutes
- 4.14Auditing a real page: building 20 resilient locators14 Minutes
- 3. Core automation — LLM Foundations for QAHow the models actually behave. Prerequisite for every other X module.12
- 5.1What a large language model is doing when it answers10 Minutes
- 5.2Tokens, context windows, and why long sessions drift11 Minutes
- 5.3Temperature, sampling and non-determinism10 Minutes
- 5.4Choosing a model: capability, speed and cost trade-offs11 Minutes
- 5.5Prompting patterns that work for engineering tasks13 Minutes
- 5.6Giving context: files, specs, examples, constraints12 Minutes
- 5.7Hallucination: what it looks like in generated tests12 Minutes
- 5.8Where an LLM is reliably useful in QA, and where it is not12 Minutes
- 5.9Tool use and agents: the mental model11 Minutes
- 5.10Reviewing AI output: a tester’s checklist12 Minutes
- 5.11Data, privacy and what you must not paste into a model10 Minutes
- 5.12Cost awareness: tokens, caching, and budget discipline10 Minutes
- 3. Core automation — AI-Assisted Test Generation & RefactoringTool-agnostic techniques. Works with Claude Code, Copilot or Cursor.12
- 6.1From requirement to test cases: prompting for coverage13 Minutes
- 6.2From an OpenAPI spec to an API test suite14 Minutes
- 6.3From a Gherkin feature to step definitions12 Minutes
- 6.4Generating test data and edge cases12 Minutes
- 6.5Converting a manual test plan into automation13 Minutes
- 6.6Refactoring a legacy suite into page objects14 Minutes
- 6.7Migrating between frameworks with an agent13 Minutes
- 6.8Adding assertions an agent proposes but a human ranks12 Minutes
- 6.9Generating unit tests for the code under test12 Minutes
- 6.10The review gate: what must never be merged unread11 Minutes
- 6.11Measuring generated-test quality, not quantity12 Minutes
- 6.12Anti-patterns: tests that assert nothing and always pass12 Minutes
- 3. Core automation — AI for Test Maintenance & Self-Healing10
- 7.1The maintenance problem that self-healing claims to solve10 Minutes
- 7.2DOM and attribute-based healing: how ranking works12 Minutes
- 7.3Visual and computer-vision based healing12 Minutes
- 7.4Healenium and open-source healing for Selenium12 Minutes
- 7.5Healing in commercial platforms: what you are buying11 Minutes
- 7.6The danger: healing that hides a real regression13 Minutes
- 7.7Failure triage with an agent: cluster, explain, propose13 Minutes
- 7.8Automated flake detection and quarantine12 Minutes
- 7.9Keeping locators fresh without healing at all11 Minutes
- 7.10A maintenance policy your team can defend10 Minutes
- 4. Engineering practice — Flakiness, Waits, Retries & ParallelismThe module that separates a suite people trust from one they ignore.10
- 8.1What flakiness costs, and why suites get abandoned10 Minutes
- 8.2Sources of flakiness: timing, state, order, environment12 Minutes
- 8.3Implicit, explicit and fluent waits — and auto-waiting13 Minutes
- 8.4Never sleep: replacing fixed delays with conditions11 Minutes
- 8.5Retries: where they help and where they hide bugs12 Minutes
- 8.6Test independence and ordering11 Minutes
- 8.7Parallel execution: threads, workers, and shared state13 Minutes
- 8.8Sharding a suite across CI machines11 Minutes
- 8.9Quarantine, tagging and flaky-test triage process12 Minutes
- 8.10Diagnosing a flaky test: a live investigation14 Minutes
- 4. Engineering practice — CI/CD Foundations + GitHub ActionsPrimary CI for the whole catalog: it produces a green badge on the student's repo.14
- 9.1Continuous integration, delivery and deployment10 Minutes
- 9.2Where automated tests sit in a pipeline10 Minutes
- 9.3GitHub Actions: workflows, jobs, steps, runners12 Minutes
- 9.4Your first workflow: run tests on push12 Minutes
- 9.5Triggers: push, pull_request, schedule, manual11 Minutes
- 9.6Caching dependencies to keep runs fast11 Minutes
- 9.7Matrix builds: browsers, versions, operating systems13 Minutes
- 9.8Secrets, environments and protected variables12 Minutes
- 9.9Publishing test reports and artifacts12 Minutes
- 9.10Failing the build correctly: exit codes and required checks11 Minutes
- 9.11Scheduled regression runs and nightly suites10 Minutes
- 9.12Reusable workflows and composite actions12 Minutes
- 9.13Self-hosted runners: when and why10 Minutes
- 9.14Reading a failed pipeline like an engineer12 Minutes
- CapstoneThe project this course is marked on.1
- AssessmentA question bank covering the whole course.1
Get unlimited access to all learning content and premium assets Membership Pro
You might be interested in
Stay Updated with New Courses
Get the latest courses and learning tips delivered to your inbox.