robotframework-historic2

Custom report to display robotframework historical execution records


Keywords
robotframework, historical, execution, report, flask-application, historical-data, listener, mysql
License
MIT
Install
pip install robotframework-historic2==0.0.1

Documentation

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
  • Step 4: Update database columns (only for existing users with <0.2.5v)

    rfhistoricupdate
    

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