All Projects → adiralashiva8 → Robotframework Metrics

adiralashiva8 / Robotframework Metrics

Licence: mit
Generation of metrics report based on robotframework output.xml

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Robotframework Metrics

zen knit
Zen-Knit is a formal (PDF), informal (HTML) report generator for data analyst and data scientist who wants to use python. RMarkdown Alternative for Python
Stars: ✭ 27 (-80.43%)
Mutual labels:  reports, html-report
Negbio
📰 High-performance tool for negation and uncertainty detection in radiology reports
Stars: ✭ 99 (-28.26%)
Mutual labels:  reports
Xctesthtmlreport
Xcode-like HTML report for Unit and UI Tests
Stars: ✭ 489 (+254.35%)
Mutual labels:  html-report
Openvasreporting
OpenVAS Reporting: Convert OpenVAS XML report files to reports
Stars: ✭ 42 (-69.57%)
Mutual labels:  reports
Robotframework
Generic automation framework for acceptance testing and RPA
Stars: ✭ 6,534 (+4634.78%)
Mutual labels:  robotframework
Rssa
RSS-Anything, get updates about anything you can reach with an url. Like RSS, but for anything.
Stars: ✭ 46 (-66.67%)
Mutual labels:  reports
Hackerone Reports
Top disclosed reports from HackerOne
Stars: ✭ 458 (+231.88%)
Mutual labels:  reports
Autolink
AutoLink是一个开源Web IDE自动化测试集成解决方案
Stars: ✭ 129 (-6.52%)
Mutual labels:  robotframework
Course Robotframework
Workshop and Example of Robot Framework course
Stars: ✭ 90 (-34.78%)
Mutual labels:  robotframework
Pandas Profiling
Create HTML profiling reports from pandas DataFrame objects
Stars: ✭ 8,329 (+5935.51%)
Mutual labels:  html-report
Protractor Pretty Html Reporter
A jasmine reporter that produces an easy to use html report to analyze protractor test results.
Stars: ✭ 9 (-93.48%)
Mutual labels:  html-report
Psi Report
Crawls a website, gets PageSpeed Insights data for each page, and exports an HTML report.
Stars: ✭ 6 (-95.65%)
Mutual labels:  html-report
Nozzle
Nozzle is a report generation toolkit for data analysis pipelines implemented in R.
Stars: ✭ 59 (-57.25%)
Mutual labels:  html-report
Jasperreports
JasperReports® - Free Java Reporting Library
Stars: ✭ 540 (+291.3%)
Mutual labels:  reports
Robotframework Lint
Linter for robot framework plain text files
Stars: ✭ 100 (-27.54%)
Mutual labels:  robotframework
Xcov
Nice code coverage reporting without hassle
Stars: ✭ 467 (+238.41%)
Mutual labels:  html-report
Npp Robot
📝 Notepad++ syntax highligher for Robotframework automation framework
Stars: ✭ 25 (-81.88%)
Mutual labels:  robotframework
Seleniumlibrary
Web testing library for Robot Framework
Stars: ✭ 1,011 (+632.61%)
Mutual labels:  robotframework
Inventory Manager
Making an Awesome Inventory Management Application with Barcode Reader in PHP and MySQL from Start to Finish
Stars: ✭ 132 (-4.35%)
Mutual labels:  reports
Robotframework Database Library
Database Library contains utilities meant for Robot Framework's usage. This can allow you to query your database after an action has been made to verify the results. This is compatible* with any Database API Specification 2.0 module.
Stars: ✭ 110 (-20.29%)
Mutual labels:  robotframework

Robot Framework Metrics Report

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

PyPI version Downloads PRs Welcome Maintenance Open Source Love png1


  • Sample Report link

  • Whats new in v3.2.2 link

  • Source Code used to parse output.xml in metrics report link


How it Works:

  1. Read output.xml file using robotframework API

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

  3. Convert data to html report using Beautifulsoup


How to use in project:

Step 1 Install robotmetrics

Case 1: Using pip

pip install robotframework-metrics==3.2.2 (from RF4.0)
pip install robotframework-metrics==3.2.0 (below RF4.0)

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, log.html file name's and user is in same folder

robotmetrics

Case 2: Change in output.xml, log.html file name's And .xml and .html files are under 'Result' folder

robotmetrics --inputpath ./Result/ --output output1.xml --log log1.html

robotframework-metrics can parse multiple xmls at a time. Following is the command

robotmetrics --inputpath ./Result/ --output "output1.xml,output2.xml" --log log1.html

For more info on command line options use:

robotmetrics --help

Step 3 RobotFramework Metrics Report metric-timestamp.html file will be created in current folder | -inputpath if specified

Note: From v3.1.6 users can specify custom_report_name instead of metrics-timestamp.html

robotmetrics -M regression_metrics.html

Customize Report

Specify Logo in Robotframework metrics:

  • Custom Logo : Customize your logo by using --logo command line option

    --logo "https://mycompany/logo.jpg"
    

Exclude Keywords in Metrics Report

  • From v3.1.6 users can exclude keywords in metrics report using --ignorekeywords or -k command

    robotmetrics -k True
    

    By default --ignorekeywords is False


Exclude Logs in Metrics Report

  • From v3.1.7 users can exclude Logs tab in metrics report using --ignorelogs or -l command

    robotmetrics -l True
    

    By default --ignorelogs is False


Include Full Suite Name in Metrics Report

  • From v3.1.7 users can include full suite name in metrics report using --fullsuitename or -s command

    robotmetrics -s True
    

    By default --fullsuitename is False


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:

Contributors:

  1. Pekka Klarck [Author of robotframework]

    • Contributed source to get 'Test Case' name from keyword
    • Suggested to use robotframework api to parse output.xml content
  2. Ruud Prijs

    • Contributed source to use command line options for report
  3. Jesse Zacharias

    • Made robotmetrics installable (pip)
    • Contributed source to improve performance
  4. Bassam Khouri

    • Contributed source to use ArgParser
    • Contributed source to provide a human readable error if output.xml does not exist
  5. Francesco Spegni

    • Contributed source to parse multiple xml's
    • Fixed distorted image
  6. Sreelesh Kunnath

    • Contributed source to specify custom metrics file name

Feedback:

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

⭐️ repo if you like it


Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].