Custom HTML report (dashboard view) by parsing robotframework output.xml file
MIT License
Robot Framework Metrics
is a tool designed to generate comprehensive HTML reports
from Robot Framework's output.xml
files. These reports provide a dashboard view, offering detailed insights into your test executions, including suite statistics, test case results, and keyword performance.
You can install robotframework-metrics
using one of the following methods:
Method 1: Using pip
pip install robotframework-metrics==3.3.3
Method 2: From Source (clone the repository and install using setup.py)
git clone https://github.com/adiralashiva8/robotframework-metrics.git
cd robotframework-metrics
python setup.py install
Method 3: Latest Development Version (Recommended) (for the latest features and RF7 support)
pip install git+https://github.com/adiralashiva8/robotframework-metrics
DOCKER:
docker pull adiralashiva8/robotframework-metrics:latest
After executing your Robot Framework tests, you can generate a metrics report by running:
Default Configuration: If output.xml
is in the current directory
robotmetrics
Custom Path: If output.xml
is located in a different directory
robotmetrics --inputpath ./Result/ --output output1.xml
For more options:
robotmetrics --help
To automate report generation in CI/CD pipelines, add the following steps to your pipeline configuration:
robot test.robot &
robotmetrics [:options]
& is used to execute multiple command's in .bat file
For any questions, suggestions, or feedback, please contact:
[email protected]
Special thanks to the following individuals for their guidance, contributions, and feedback:
Idea, Guidance and Support:
Contributors:
Feedback:
โญ Star this repository if you find it useful! (it motivates)