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-2.1.0.tar.gz (465.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-2.1.0-py3-none-any.whl (493.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for robotframework_dashboard-2.1.0.tar.gz
Algorithm Hash digest
SHA256 f24884be80d2705f65133b3a77d634d6928002ab36a465e96b94e040f65417f5
MD5 4bdbd154cc0f238173cb10e452e5b25f
BLAKE2b-256 51bdb9032a7d724d60761723a3f8780555630616eab235cbd7fc96d272b44fc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_dashboard-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a50c6147d914ea90ad4b0fca019424f97dc3163b558554c1b45a02d549a69db
MD5 509e23a27282e0277eec3b3659258108
BLAKE2b-256 6411a03c022bbad6bfcd87c2989f4b8e13a43a7cd8d1d3b9f87962e80b00a157

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