ZeroHero
ZeroHero

Reputation: 21

Robot Framework add image to report

I have a picture saved in folder (C:\temp)

How to add/embed this image to Robot Framework report?

Using Log and give path to file?

Upvotes: 0

Views: 1093

Answers (1)

rasjani
rasjani

Reputation: 7970

If you wish to avoid "broken image links", for example when moving the report from one machine to another, optimal way would be to output tag as mentioned during the execution but encode the image file into base64 string and embed that string as src attribute of the img tag.

Upvotes: 1

Related Questions