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

Built distribution (wheel)

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

Total release size: 85.2 kB

Release files / robotframework_evidence_reporter-0.3.1.tar.gz

Download URL robotframework_evidence_reporter-0.3.1.tar.gz
Size 41.1 kB
Tags Source
SHA-256 checksum
How to use checksums
173b21f7b7d456e65ef6bbfa45941295663c82da378365ff27df639b6c27c386
BLAKE2b-256 checksum
How to use checksums
564427c5bc0151ee0ea441bb46dd5d6612e01cbe5db09cfd6b68dc5d0a59eb91
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.1-py3-none-any.whl

Download URL robotframework_evidence_reporter-0.3.1-py3-none-any.whl
Size 44.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79944c92c4139d543d3b33fa7cf41f182b83e398a8eddb56c97c029025af695a
BLAKE2b-256 checksum
How to use checksums
25034b9666c955b268154ee9bd0d564d67141cae405ad5f2e82f19b1afab35ec
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

This release

0.3.1 This release

2 release files

0.3.0

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