I know with WebUI.takeScreenshot() will add the screenshot to the report file. Is there a way to add custom images to report something like KeywordUtil.markFailed(…)
I have the same need
In my tests, I perform a PDF comparison to check the test cases.
In case the PDFs are different, I generate an image with the highlighted differences.
I would like to display this image or a link to this image in my html test report.
I have seen that we can add messages with KeywordLogger, but I can’t find how to add images or links to a file.
Is that possible?
Currently, I am copying the screenshot image to a temporary file and viewing them separately. Still looking for best solution.