Skip to main content

Robot Framework Evidence Reporter

Evidence Reporter

Business evidence reports in HTML, PDF and Word for each Robot Framework test case.

English · Español

User guide · Keyword reference · PyPI · Visual examples

PyPI Python Robot Framework License CI

Features

  • Explicit page, element, desktop and existing-image captures.
  • Optional milestones, business messages and configurable metadata.
  • Offline HTML, PDF/Word output and light/dark report themes.
  • Parallel recording, execution/rerun merging and a SHA-256 file manifest.

Installation

Python 3.12+ and Robot Framework 7. SeleniumLibrary is required only for browser captures and reuses its active browser.

pip install robotframework-evidence-reporter robotframework-seleniumlibrary

Quick start

*** Settings ***
Library    SeleniumLibrary
Library    EvidenceReporter
Test Teardown    Close All Browsers

*** Test Cases ***
Portal evidence
    Open Browser    https://example.com    headlesschrome
    Wait Until Element Is Visible    css:h1
    Element Text Should Be    css:h1    Example Domain
    Set Report Metadata    Application=Example    Environment=Demo
    Capture Page Evidence    Portal available    status=PASS

The included listener records JSON and images during execution. Generate the requested formats afterwards:

robot --outputdir results evidence.robot
rf-evidence build results/evidence --output reports --formats html pdf docx

Milestones are optional. Evidence without milestone_id belongs directly to the case.

Configuration and limitations

Normally omit output_dir: evidence uses Robot's ${OUTPUTDIR}/evidence, controlled by --outputdir. For an alternative location, use --variable EVIDENCE_OUTPUT_DIR:artifacts/evidence. An explicit import output_dir takes precedence over that variable, then the default. Configure strict on import when needed. Capture failures produce WARN by default without changing test status; strict=${True} requires a successful capture. Evidence accepts INFO/PASS/WARN/FAIL; SKIP belongs only to execution.

Use a new evidence directory per execution. Pabot stores evidence inside each worker’s output directory; after all workers finish, generate recursively with rf-evidence build results/pabot_results --output reports. Cases use independent UUID directories. Desktop capture requires a compatible graphical environment and captures the local process desktop, not a remote Selenium Grid desktop. Full-page capture is unsupported.

Images and notes are not automatically redacted. Usage errors and unexpected errors propagate. PDF/Word are static; HTML contains interactive controls. manifest.json is this package's inventory, not Allure results.

Examples

The Selenium example demonstrates business evidence recording. Public visual demos use clearly labeled fictitious data and illustrative images. See the manual for merge, image sizing, file inventories and capture errors.

Development and contribution

poetry install
poetry run ruff check src tests scripts
poetry run ruff format --check src tests scripts
poetry run python -m unittest discover -s tests -v
poetry run python scripts/validate.py
poetry run python docs/scripts/build_docs.py
poetry build

Submit changes through a pull request with passing checks. Update both documentation languages. Libdoc translations live in docs/translations/es/libdoc.json; builds reject missing or stale entries.

License

MIT. See LICENSE.

Report language

English by default; use --language es for Spanish HTML, PDF and Word.

rf-evidence build results/evidence --output reports --language es --formats html pdf docx

Metadata

Release files for robotframework-evidence-reporter 0.3.0

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-evidence-reporter 0.3.0
File Size Uploaded
robotframework_evidence_reporter-0.3.0.tar.gz 41.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robotframework-evidence-reporter 0.3.0
File Interpreter ABI Platform
robotframework_evidence_reporter-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 85.1 kB

Release files / robotframework_evidence_reporter-0.3.0.tar.gz

Download URL robotframework_evidence_reporter-0.3.0.tar.gz
Size 41.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b2e85f81bbb85dd746ff379a50c8864584059e5f90ebfe4091ef97bc8c53798b
BLAKE2b-256 checksum
How to use checksums
ccea62ba2ee61a999809cb913bd2ea93ac96a5787f61eb3b0dc50d4a7cadac71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release files / robotframework_evidence_reporter-0.3.0-py3-none-any.whl

Download URL robotframework_evidence_reporter-0.3.0-py3-none-any.whl
Size 44.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d970aa0b0b2b2982d5a93a64ab545a4163c8e368140b50a3252358261234fa73
BLAKE2b-256 checksum
How to use checksums
26cad452afae3f3b99beed9ed2ebe575d95bad8e7beb07adce8d8ee40b6192e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.0

2 release files

0.3.1

2 release files

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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