• Stars
    star
    214
  • Rank 184,678 (Top 4 %)
  • Language
    HTML
  • License
    MIT License
  • Created over 6 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Custom HTML report (dashboard view) by parsing robotframework output.xml file

Robot Framework Metrics Report

Creates custom HTML report (dashboard view) by parsing robotframework output.xml file

PyPI version Downloads PRs Welcome Maintenance Open Source Love png1


  • Sample Report link

  • Whats new in v3.3.1 link


How it Works:

  1. Read output.xml file using robot.api - ResultVisitor, ExecutionResult API Link

  2. Get Suite, Test Case , Keyword , Status and Elapsed time values

  3. Convert data to html report


How to use in project:

Step 1 Install robotmetrics

Case 1: Using pip

pip install robotframework-metrics==3.3.3

Case 2: Using setup.py (clone project and run command within root)

python setup.py install

Case 3: For latest changes use following command (pre-release or changes in master)

pip install git+https://github.com/adiralashiva8/robotframework-metrics

Step 2 Execute robotmetrics command to generate report

Case 1: No change in output.xml file name (assumig user is in same folder)

robotmetrics

Case 2: output.xml under 'Result' folder

robotmetrics --inputpath ./Result/ --output output1.xml

For more info on command line options use:

robotmetrics --help

Generate robotframework-metrics after execution

Execute robotmetrics command after suite or test execution as follows:

  • Create .bat (or) .sh file with following snippet

    robot test.robot &
    robotmetrics [:options]
    

    & is used to execute multiple command's in .bat file

  • Modify robotmetrics command as required and execute .bat file

  • Robotframework metrics will be created after execution


If you have any questions / suggestions / comments on the report, please feel free to reach me at


Special Thanks To:

Idea, Guidance and Support:

  • Steve Fisher
  • Goutham Duduka

Contributors:

  1. Pekka Klarck [Author of robotframework]

  2. Ruud Prijs

  3. Jesse Zacharias

  4. Bassam Khouri

  5. Francesco Spegni

  6. Sreelesh Kunnath

Feedback:

  1. Mantri Sri
  2. Prasad Ozarkar
  3. Suresh Parimi
  4. Amit Lohar
  5. Robotframework community users

⭐ repo if you like it


More Repositories

1

robotframework-historic

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.
JavaScript
80
star
2

jmeter-metrics

Awesome html report for Jmeter results by parsing .jtl or .csv file using pandas
Python
14
star
3

robotframework-axelibrary

Robotframework library to use axe-selenium-python
Python
14
star
4

pytest-email

pytest plugin to send email after execution with execution info
Python
4
star
5

robotframework-seleniumwire

Robotframework library to capture network responses using selenium-wire
Python
4
star
6

testng-metrics

A HTML Report of test executions via TestNG (No code changes required, Export results)
HTML
3
star
7

pytest-historic

Pytest-historic is a free, custom html report which provides historical pytest execution results by storing execution results info in MySQL database and generate's html reports (charts / statistics) from database using Flask.
HTML
3
star
8

robotframework-email

Send email when execution is completed using robotframework listener
Python
2
star
9

robotframework-examples

Collection or robotframework libraries sample scripts
HTML
1
star
10

robotframework-seleniumhelperlibrary

Helper keywords for robotframework-selenium
Python
1
star
11

robotframework-selenium-sample-guru99

Sample automation framework example using robot framework and robotframework-metrics
HTML
1
star
12

pytest-metrics

Plugin to create dashboard view report for pytest (no code changes)
Python
1
star
13

sp-historic

Dashboard to display snow performance historical result
JavaScript
1
star
14

testng-live-logs

Generate test execution live logs using testng-listener
Java
1
star