如何在robot框架中将图像添加到html日志中?我想在 Robot Framework 的 html 日志中添加一些图片。有人可以对此有一些想法吗?
关键字
Log
有 html
参数,它可能可以满足您的需要。请参阅文档:http://robotframework.org/robotframework/latest/libraries/BuiltIn.html#Log
关键字如下。
Log <img src="example.png"> html=true
假设 example.png 文件与日志位于同一文件夹中。