Custom HTML report that tracks historical Robot Framework test results using MySQL and Flask
Robot Framework Historic
is a comprehensive tool designed to help you visualize the historical
results of your Robot Framework tests. By storing execution results in a MySQL
database and generating HTML
reports with Flask, it provides a detailed overview of your testing history, complete with charts and statistical insights.
Generate Reports: Using Flask, the stored data is transformed into comprehensive HTML reports
Setting up robotframework-historic
is a one-time activity. Just follow these steps:
Step 1: Install MySQL
Step 2: Install robotframework-historic
pip install git+https://github.com/adiralashiva8/robotframework-historic
Step 3: Set Up the Database
rfhistoricsetup
Step 1: Create a New Project: Guide
Step 2: Push Test Results: Guide
Step 3: View Reports: Open in browser
Encountering MySQL issues? Try installing these dependencies:
pip install mysql-connector-python
pip install PyMySQL
For more options:
rfhistoric --help
rfhistoricparser --help
rfhistoricsetup --help
rfhistoricupdate --help
To automate report generation in CI/CD pipelines, add the following steps to your pipeline configuration:
robot test.robot &
rfhistoricparser [:options]
& is used to execute multiple command's in .bat file
For any questions, suggestions, or feedback, please contact:
adiralashiva8@gmail.com
โญ Star this repository if you find it useful! (it motivates)