Skip to content

Robotframework-historic is a free, custom html report which provides historical robotframework execution results by storing execution results info in MySQL database and generate's html reports (charts / statistics) from database using Flask.

License

Notifications You must be signed in to change notification settings

Accruent/robotframework-historic

 
 

Repository files navigation

robotframework-historic

Robotframework-historic is a free, custom html report which provides historical robotframework execution results by storing execution results info in MySQL database and generate's html reports (charts / statistics) from database using Flask.

MYSQL + Flask + Robotframework

PyPI version Downloads PRs Welcome Maintenance Open Source Love png1 HitCount


Robotframework Historic Overview

Overview

Features

  • Support Historic Results
  • Visualization of executions
  • Search Historical test records by name / status / execution id
  • Local hosted (meets privacy concerns)
  • Flakiness
  • Compare executions
  • Generate Robotframework-metrics report
  • Custom comments on failures (supports html tags)
  • Export results (Excel, CSV, Print, Copy)

Why Robotframework-Historic

  • It is free
  • Made by QA
  • Can customize as per requirements
  • No code changes required

How it Works:

  • Get execution details by parsing output.xml or using listener

  • Store execution results in local / remote hosted MySQL database

  • Generate html report using Flask

    robotframework-historic-overview

Requirements

  • Python 3.7 or above
  • MySQL DB

Installation

  • Step 1: Download and Install MySQL Server - guide

  • Step 2: Install robotframework-historic

    Case 1: Using pip

    pip install robotframework-historic==0.1.6
    

    Case 2: Using setup.py (root)

    python setup.py install
    

    Case 3: Using git (latest changes)

    pip install git+https://github.com/adiralashiva8/robotframework-historic
    
  • Step 3: Create rfhistoric default user with permissions - guide

  • Step 4: Create robothistoric.tb_project table - guide

  • Step 5: Install robotframework-historic-parser

    pip install robotframework-historic-parser==0.1.4
    
  • Step 6: Install robotframework-historic-listener

    pip install robotframework-historic-listener==0.1.4
    

    Note: Above all actions are one time activities

    Help / Know More

    To know more on available command refer help

    rfhistoric --help
    rfhistoricparser --help
    

How to use in project

  • Step 1: Create project in robotframework-historic - guide

  • Step 2: Push execution results to project - guide

  • Step 3: Open robotframework-historic to view historical results


Thanks for using robotframework-historic

  • What’s your opinion on this report?
  • What’s the feature I should add?

If you have any questions / suggestions / comments on the report, please feel free to reach me at


⭐ repo if you like it


About

Robotframework-historic is a free, custom html report which provides historical robotframework execution results by storing execution results info in MySQL database and generate's html reports (charts / statistics) from database using Flask.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 86.5%
  • Python 12.7%
  • Other 0.8%