Skip to main content

Output processor and dashboard generator for Robot Framework output files

Project description

๐Ÿ“Š Robot Framework Dashboard

Before reading anything else here is a Fully Functioning Dashboard you can checkout right away!

๐ŸŽฏ Overview

Robot Framework Dashboard is a tool for Robot Framework that provides insight of your test results across multiple runs. The tool makes use of the built in Robot Framework Result Visitor API to analyse output.xml files, stores these in a simple sqlite3 database and finally creates a HTML dashboard that makes use of Chart.js and Datatables for the graphs and tables and makes use of Bootstrap for styling. Additionally GridStack is used for the interactive layout grids.

๐Ÿš€ Getting Started

Installation

Install Robot Framework 6.0 or higher (if not already installed):

pip install robotframework

Install Robot Framework Dashboard:

pip install robotframework-dashboard

Install Robot Framework Dashboard with Server:

pip install robotframework-dashboard[server]
# or use
pip install robotframework-dashboard[all]

Basic Usage

Example 1 โ€” Add a single output file and generate a dashboard:

robotdashboard -o output.xml

This adds output.xml to the default database (robot_results.db) and generates a self-contained HTML dashboard file you can open directly in any browser.

Example 2 โ€” Add multiple output files with a custom database and dashboard name:

robotdashboard -o output1.xml -o output2.xml -d my_results.db -n my_dashboard.html

This processes two output XML files, stores results in my_results.db, and writes the dashboard to my_dashboard.html.

For all available CLI options see the Basic CLI docs and Advanced CLI & Examples.

๐Ÿ” Key Features

  • ๐Ÿƒ Multi-run Analysis - Compare and track results across multiple Robot Framework test runs.
  • ๐ŸŒ Interactive HTML Dashboard - Fully interactive dashboard using Chart.js, Datatables, and GridStack.
  • ๐Ÿ—„๏ธ SQLite Database Storage - Lightweight database for easy querying and persistent storage.
  • ๐Ÿ“„ Dashboard Pages - Overview, Dashboard, and Compare pages for multi-level insights.
  • ๐ŸŽ›๏ธ Customizable Layouts - Drag-and-drop sections with adjustable size and order.
  • ๐Ÿ“Š Graph Customization - Toggle legends, axis titles, labels, and control animations.
  • ๐Ÿ”Ž Global Filters - Filter runs by name, tags, date, metadata, or quantity.
  • โš–๏ธ Comparison Mode - Compare up to 4 runs side by side with visual statistics.
  • ๐Ÿ”— Automatic Log Linking - Open Robot Framework logs directly from the dashboard.
  • ๐Ÿ› ๏ธ Custom Database Classes - Extend or replace the database processor for custom backends.
  • ๐Ÿ–ฅ๏ธ Server Mode - Host your dashboard for multi-user access and automatic updates.
  • ๐ŸŽง Listener Integration - Automatically updates dashboard after every test run.
  • ๐Ÿ“ Message Config Support - Group similar test failures using regex-based patterns.
  • โš™๏ธ Configurable Defaults - Preload dashboard settings via JSON for consistent appearance.

โ€ฆand many more advanced features to help you visualize, analyze, and manage your Robot Framework test results with ease!

๐Ÿ“– Read the Docs

For detailed usage instructions, advanced examples, and full documentation, visit the official robotdashboard docs!

Quick Links

  • ๐Ÿš€ Getting Started - Quick setup instructions to install Robot Framework and RobotFramework Dashboard, and verify it is working.
  • ๐Ÿ“ฆ Installation & Version Info - Install the dashboard via pip, check Python and Robot Framework requirements, and view version information.
  • ๐Ÿ’ป Basic Command Line Interface (CLI) - Manage your test results database, add output XML files, remove runs, and generate dashboards directly from the command line.
  • โšก Advanced CLI & Examples - Advanced usage examples including combined commands, tagging strategies, aliases, batch imports, message configuration, and performance tips.
  • ๐Ÿ—‚๏ธ Tabs / Pages - Explore the dashboard's interactive pages including Overview, Dashboard, Compare, and detailed suite/test/keyword views.
  • ๐Ÿ“Š Graphs & Tables - View and filter detailed statistics for runs, suites, tests, and keywords using charts, tables, and summary visualizations.
  • ๐Ÿ” Filtering - Apply filters to analyze trends in your test data and highlight specific tags, amounts or datetime ranges.
  • ๐ŸŽจ Customization - Customize dashboard sections, graph layouts, and visualizations to suit your workflow.
  • โš™๏ธ Settings - Configure dashboard preferences including themes, default views, graph options, and save your settings for consistent team-wide use.
  • ๐Ÿ–ฅ๏ธ Dashboard Server - Host the dashboard for multi-user access, programmatic updates, and remote server integration.
  • ๐Ÿ—„๏ธ Custom Database Class - Extend or replace the default database backend to suit your storage needs, including SQLite, MySQL, or custom implementations.
  • ๐Ÿ”” Listener Integration - Use a listener to automatically push test results to the dashboard for every executed run, integrating seamlessly into CI/CD pipelines.
  • ๐Ÿ“‚ Log Linking - Enable clickable log navigation from dashboard graphs, covering file naming conventions, local and server usage, and remote log uploads.

๐Ÿ› ๏ธ Contributions

Contributions are welcome! If you encounter any issues, have suggestions for improvements, or would like to add new features, feel free to open an issue or submit a pull request. Additional information can be found here in Contributing

๐Ÿ“‹ License

This project is licensed under the MIT License.

Note: This project is not officially affiliated with or endorsed by Robot Framework.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework_dashboard-1.8.1.tar.gz (435.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_dashboard-1.8.1-py3-none-any.whl (461.4 kB view details)

Uploaded Python 3

File details

Details for the file robotframework_dashboard-1.8.1.tar.gz.

File metadata

  • Download URL: robotframework_dashboard-1.8.1.tar.gz
  • Upload date:
  • Size: 435.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for robotframework_dashboard-1.8.1.tar.gz
Algorithm Hash digest
SHA256 d4866b80d5562bb6c66adf8b761cc6cf46368a0a302438ecfc4f0487d484719f
MD5 8cffe8a6945f421d14c5a4953393f70a
BLAKE2b-256 e832d179c715d6fc305460af7fb16b1251d34a83af6a4a4d690c8d57b4bb9004

See more details on using hashes here.

File details

Details for the file robotframework_dashboard-1.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_dashboard-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8bf55cc701cfd4db5eecb0b537b5a38ef858ef44ffe331fbd24666ccd23ac74
MD5 59bb27bde2ab7081173f1ef2a4e5d012
BLAKE2b-256 36dd5303be7ee61c47cff80cd2c1ecb4a3f943ac254a282b0833a8da3d1a50d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page