Displaying certain plots in robot framework report from python

191 views
Skip to first unread message

Sayan Biswas

unread,
Apr 6, 2021, 3:30:45 PM4/6/21
to robotframework-users
Hi all,

I am new to robot framework. I need to display certain plots in robot framework report that are generated from a python script. I used matplotlib to generate the plots in python. For every test case running, the plot should be displayed accordingly in the report along with other test case details. 
I need urgent support on the same. Please help.

Regards,
Sayan

Jani Mikkonen

unread,
Apr 7, 2021, 9:44:35 AM4/7/21
to sayanb...@gmail.com, robotframework-users
Hello. 

You can create an image and print html image tag with the image as base64 encoded.  

When showing the report, img tag is not stripped and since the image is embedded into the tag, it will show on normal RF reports

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/4a7afe32-d065-425f-8680-92aef430ef6cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages