Skip to main content

Robot Framework Failure Summary

A Robot Framework listener that mutes noisy engine logs (Selenium/Browser internals) and generates a clean, interactive failure summary report — with deep links to the failing keyword in log.html and IDE-ready file:line locations you can paste into VS Code (Ctrl+P) or PyCharm (Ctrl+Shift+N).

Works with SeleniumLibrary and Browser library, and with both robot and pabot.

Install

pip install robotframework-failuresummary

For parallel runs: pip install robotframework-pabot

Usage

Plain robot (single process)

these tests can be anything like relative path to ur .robot file or u can change the cd and run it

rf-failure-summary tests 

or, if you don't want the wrapper and just want plain robot directly (this also works fine, no pabot involved):

robot --listener RobotFailureSummary.listener --outputdir results tests

Pabot (parallel execution)

rf-failure-summary tests --pabot --processes 4

⚠️ For pabot, you must use rf-failure-summary (not plain pabot --listener ...) — see "Why not just --listener?" below for why.

Other options (work with both)

rf-failure-summary tests --outputdir results             # custom output folder
rf-failure-summary tests --include smoke                  # pass tags/flags through to robot/pabot
rf-failure-summary tests --pabot --processes 4 --include smoke --exclude wip

Open results/failure_summary.html after the run finishes.

Why not just --listener? Under pabot, results from all worker processes only get merged after they've exited — a listener can't hook into that. rf-failure-summary runs robot/pabot itself, waits for the full run (merge included), then generates one complete report. Plain robot --listener RobotFailureSummary.listener still works fine on its own since a single robot process can generate the complete report by itself.

What you get

Each failure card shows the classification (Assertion/Timeout/Browser/Other), the keyword path with file:line for each step, the failure message, and a Jump to Failing Keyword button into log.html.

Config

Debug logging

If a failure card shows file.robot:? instead of a real line number, enabling debug logging won't fix it — it just records what the tool tried while looking up that keyword, so you can attach listener_debug.log when reporting it as a bug (or dig into it yourself if you're comfortable).

Windows (PowerShell):

$env:ROBOFAILURESUMMARY_DEBUG="1"
rf-failure-summary tests

Windows (cmd):

set ROBOFAILURESUMMARY_DEBUG=1
rf-failure-summary tests

macOS / Linux:

export ROBOFAILURESUMMARY_DEBUG=1
rf-failure-summary tests

This is off by default — leave it unset for normal use, since it writes a log file on every run.

Changelog

2.0.0.1 - Updated readme

2.0.0 — Added rf-failure-summary base 1.0.0 features + CLI with pabot support, included line-number resolution across multi-file suites, responsive UI with failure seperation based on label.

1.0.0 — Initial release. deep linking failure nodes navigation in a single click which keeps that particular failure node open and rest all closed for easier and optimized log.html navigation for best usage u need to keep both the base html report tab and failure_summary.html tab in single window as clicking to failure nodes first time opens new tab second time it reuses the already opened tab thats why single window spliting tabs will give you the best output.

License

MIT

Metadata

Release files for robotframework-failuresummary 2.0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robotframework-failuresummary 2.0.0.1
File Size Uploaded Provenance Actions
robotframework_failuresummary-2.0.0.1.tar.gz 17.1 kB Without provenance Details for robotframework_failuresummary-2.0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for robotframework-failuresummary 2.0.0.1
File Interpreter ABI Platform Actions
robotframework_failuresummary-2.0.0.1-py3-none-any.whl Python 3 none any Details for robotframework_failuresummary-2.0.0.1-py3-none-any.whl

Total release size: 38.2 kB

Release files / robotframework_failuresummary-2.0.0.1.tar.gz

Download URL robotframework_failuresummary-2.0.0.1.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a4b1fa1509e1515b02540a1c5c37eb518eec65c409bd58a9d89701f5c0d204e9
BLAKE2b-256 checksum
How to use checksums
50fd0b53e6023e04db7c281256c9a2636650e91f863b328fffa25c06ad637449
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.21

Release files / robotframework_failuresummary-2.0.0.1-py3-none-any.whl

Download URL robotframework_failuresummary-2.0.0.1-py3-none-any.whl
Size 21.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03df632bcb005725878ef7f4ef2e0ed3d48175f47fa485c42d4c3d1ca46ba112
BLAKE2b-256 checksum
How to use checksums
a045684c242d8d1fd5325a20ece5695cfc90c2ce376c8530aff0a049cc4a7163
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.21

Security for robotframework-failuresummary 2.0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page