Robotframework Historic Save Abandoned

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.

Project README

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 - prefer this)

    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

    Facing mysql issue? try

    pip install mysql-connector-python
    pip install PyMySQL
    
  • 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


:star: repo if you like it


Open Source Agenda is not affiliated with "Robotframework Historic" Project. README Source: adiralashiva8/robotframework-historic
Stars
73
Open Issues
9
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating