Skip to main content

A Robot Framework library providing keywords for the visualization of 'date / value' objects.

Project description

Robot Framework Visualizer

Keywords from this repository can visualize CSV data as graph within the robotframework log file.

Statistics

Release Pipeline
PyPI - Version
PyPI - Python Version
PyPI Downloads - Total
PyPI Downloads - Monthly

GitHub Repository

Link to GitHub Project: robotframework-visualizer

Keyword Documentation

Find here the keyword documentation: Keyword Documentation

Use Case

If you have time-series data like energey measurements or temperature values over period of time, you can use this library to visualize thos raw data as visual diagram into your robot framework logfile.
The generated diagram is saved as png file in your output directory and visualized as html image in your log file.

[!IMPORTANT] X-Axis data should contain always the date-time value. The real value should be placed on Y-Axis.

Installation

pip install robotframework-visualizer

Usage

*** Settings ***
Library    Visualizer


*** Test Cases ***
Add One Data Set
    [Documentation]    Add one graph to diagram.
    Visualizer.Add To Diagramm    ${CURDIR}${/}testdata${/}dummy_strom_spannung.csv    _time    _strom    Strom    Blue
    Visualizer.Visualize    Strom / Spannung Verlauf

Add Two Data Sets
    [Documentation]    Add two graphs to diagram.
    Visualizer.Add To Diagramm    ${CURDIR}${/}testdata${/}dummy_strom_spannung.csv    _time    _spannung    Spannung    Green
    Visualizer.Add To Diagramm    ${CURDIR}${/}testdata${/}dummy_strom_spannung.csv    _time    _strom    Strom    Blue
    Visualizer.Visualize    Strom / Spannung Verlauf

Result

Added one graph to diagram

alt text

Added one graph to diagram

alt text

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework_visualizer-0.0.8.tar.gz (464.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_visualizer-0.0.8-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file robotframework_visualizer-0.0.8.tar.gz.

File metadata

File hashes

Hashes for robotframework_visualizer-0.0.8.tar.gz
Algorithm Hash digest
SHA256 5a0aaad0a3480d60a8ea5e7475c15aa1cd2087e9bede13880bdb0defa8378e55
MD5 53818b5b937f3b24f2a0dbfc3a7c8b40
BLAKE2b-256 5c88fa46a0ff719ddede4f0d3795e1cd112a90fa7acb766e09080ed852fb4368

See more details on using hashes here.

File details

Details for the file robotframework_visualizer-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_visualizer-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 34b074f6ca1f32c4a0e87e0cf6530569a7dc712663abdb128de692212f6626e4
MD5 19f1bb22b71fe3cb1144ac37d6adeed3
BLAKE2b-256 fbcd27d049fb852d100f611fd34d52a1f8d0c2ad0600e855833725d98ff47bef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page