Keywords from this repository can visualize CSV data as graph within the robotframework log file.
Link to GitHub Project: robotframework-visualizer
Find here the keyword documentation: Keyword Documentation
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.
pip install robotframework-visualizer*** 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
