When a test fails: analysis and defects

When a test fails: analysis and defects

Read why a run failed, raise a structured defect (or add an occurrence to an existing one), get approval and file it in your tracker, then verify the fix.

Engineering Intelligence Open in TR-AI6 min
  1. 1
    Open the failed run
    Test Studio → Runs → the run. The failure analysis says what the failure most likely is — product defect, test defect, environment, test data, infrastructure, intermittent, external dependency, possible expected change or unknown — with the evidence and the history of the same test, and a suggested next step. It’s rule-based and never claims certainty.
  2. 2
    Fix non-defects at the source
    Missing test data, a coordinate-only step, an unreachable environment or an agent error isn’t a product bug: fix the test, the data or the environment and press Run again.
  3. 3
    Draft the defect
    Draft a defect from the run. It fills in the title, severity from the test’s criticality, recommended priority, environment, browser and OS, steps to reproduce, expected and actual results, the failure point, the screenshot, console errors and failed requests. If the same failure is already open, the run is added to it as another occurrence. A failure that doesn’t look like a product defect needs Raise anyway.
  4. 4
    Edit and submit
    Add the application version or build and adjust anything that’s wrong, then submit. Critical and high severity defects go to approval; someone with test-approval permission who didn’t draft it approves it. Editing a submitted draft sends it back for approval.
  5. 5
    File it
    File it in the tracker connected under Escalation → Hand-offs & engineering (Jira, Linear, GitHub, Assembla or monday.com), with the screenshot attached where the tracker supports it — or link an issue that already exists. Dismiss it with a reason if it isn’t a defect.
  6. 6
    Verify the fix
    The issue’s status is read back from the tracker. Once it’s done, run the test again: a passing run on the same environment marks the fix as verified.
Tips & tricks
  • Duplicates are matched by the failing step, its locator, the kind of error and the environment.
  • The defect links back to the run with its screenshot and logs, and says it was approved by a person before it was filed.