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

JerryCCHuang/robotframework-historic

 
 

Repository files navigation

robotframework-historic

MYSQL + Flask + Robotframework

PyPI version Downloads PRs Welcome Maintenance Open Source Love png1 HitCount

Sample Report (old view) Link


How it Works:

  • Get execution details by parsing output.xml

  • Store execution results in local / remote hosted MySQL database

  • Generate html report from database using Flask

    robotframework-historic-overview

Requirements

  • Python 3.7 or above
  • MySQL DB

Installation

Following steps are one time activity

  • Step 1: Download and Install MySQL Server - guide

  • Step 2: Install robotframework-historic

    Case 1: Using pip

    pip install robotframework-historic==0.2.8
    

    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
    

    Help / Know More

    rfhistoric --help
    rfhistoricparser --help
    rfhistoricsetup --help
    rfhistoricupdate --help
    
  • Step 3: Create rfhistoric default user & robothistoric.TB_PROJECT table

    Case 1: Through command line

    rfhistoricsetup
    

    Case 2: Manual steps

    • Create rfhistoric default guide
    • Create robothistoric.TB_PROJECT table guide

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


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 33.2%
  • JavaScript 31.5%
  • CSS 31.2%
  • Python 4.1%