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

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.

Metadata

Release files for robotframework-evidence-reporter 0.2.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.2.1
File Size Uploaded
robotframework_evidence_reporter-0.2.1.tar.gz 39.4 kB Details

Built distribution (wheel)

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

Total release size: 81.3 kB

Release files / robotframework_evidence_reporter-0.2.1.tar.gz

Download URL robotframework_evidence_reporter-0.2.1.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9b6e98d71de9ab082cd9c53d1635725d5d63e154f3b28a0a30bb0cb492e69ef0
BLAKE2b-256 checksum
How to use checksums
ad9d346b7fb945dc82374342032294629d7a7b5d96c6859364b2a48512181885
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.2.1-py3-none-any.whl

Download URL robotframework_evidence_reporter-0.2.1-py3-none-any.whl
Size 41.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e1555250c07437319fc394975deb6c0ec1b042bdb8974eecf7f4255d1001702
BLAKE2b-256 checksum
How to use checksums
3821f15a81507611c2b7f2259c74bda174438b748fd087173169bc8424919ae3
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

0.3.0

2 release files

This release

0.2.1 This release

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