Skip to main content
QA Engineering5 min readQAEverest Team

A screenshot is not a root cause

Why the artefact most test tools hand you at the moment of failure is the one piece of evidence that can't tell you what went wrong — and what replaces it.

Ask a QA engineer what they got the last time an automated test failed, and the answer is almost always the same: a screenshot, a stack trace pointing at the assertion, and a line number.

All three describe the moment the test gave up. None of them describe why.

The evidence gap

By the time an assertion fails, the interesting part already happened — usually several steps earlier. A token expired. A network call 404'd and the app swallowed it. A modal from the previous test never closed. The screenshot faithfully records the consequence and discards every one of those causes.

So the engineer does the only thing left: reproduces it by hand. Which is exactly the manual testing the automation was bought to remove.

What a run has to capture instead

A failure explains itself only if the run recorded enough to reconstruct it. In practice that means four streams, captured continuously rather than at the moment of death:

  • Console — every log, warning and uncaught error, timestamped against the step that produced it.
  • Network — requests, statuses, timings and payload shapes, so a silent 500 stops being invisible.
  • DOM state per step — what the page actually looked like when the step ran, not just at the end.
  • The step timeline itself — scrubbable, so you can walk backwards from the failure to the last moment everything was fine.

With those four, the question changes from "what does this screenshot show?" to "what was true three steps ago that isn't true now?" — which is an answerable question.

Forty failures, one cause

There's a second benefit that only appears at suite scale. Once runs carry structured evidence, failures can be clustered. Forty red tests that all died on the same missing element are one defect, not forty. A triage queue that says so is a queue someone will actually work through.

The goal isn't a prettier failure report. It's making the first question after a red run 'which cause?' instead of 'who wants to look at this?'


QAEverest records every run as a replayable trace and reads it back with AI to propose a root cause, then groups related failures so the queue reflects problems rather than symptoms.

See it on your own stories

1000+ free credits on signup, no card required — roughly 100 test-case generations before you pay for anything.

Start free