MYSQL + Flask + Robotframework
Sample Report (old view) Link
-
Get execution details by parsing output.xml
-
Store execution results in local / remote hosted MySQL database
-
Generate html report from database using Flask
- Python 3.7 or above
- MySQL DB
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
-
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
-
Email:
[email protected]
-
Feedback/Suggestion Form Link
⭐ repo if you like it