Hi everyone,
I’ve released robotframework-reportlens 0.1.5, a single-file HTML report generator that builds a modern, interactive view directly from Robot Framework’s output.xml.
The goal of this project is to provide a fast, execution-accurate debugging view while keeping the report self-contained and easy to share.
Highlights in 0.1.5 (Bug Fixes)
- Inline screenshot rendering
- Screenshots now render inline – Log messages with
html="true"(e.g. screenshots captured by SeleniumLibrary / Browser library viaCapture Page Screenshot, or any keyword usingLog HTML) are now rendered as inline images in the Logs & Messages pane, matching the behaviour of Robot Framework’s built-inlog.html. - Images open in a new tab – Clicking a screenshot opens it in a new browser tab without navigating away from the report. Each
<img>tag is wrapped in an<a target="_blank" rel="noopener noreferrer">link at render time byrenderMessageBody. - Keyword expansion unaffected – Clicking an image or any link inside a log message no longer accidentally triggers keyword selection/expansion. The
[data-keyword-id]click handler now guards against clicks originating from within.log-messageon<img>or<a>elements. - Plain-text messages unchanged – Messages without
html="true"continue to be HTML-escaped; only messages explicitly flagged as HTML are rendered as raw markup.
- Screenshots now render inline – Log messages with
What it focuses on
This tool is intentionally focused on:
- Accurate execution tree
- Fast navigation
- Clear failure context
It does not try to replace analytics platforms (e.g. ReportPortal, RobotDashboard) — it’s a lightweight debugging report.
Usage
pip install robotframework-reportlens
reportlens output.xml -o report.html
Python 3.10+ • no runtime dependencies