# How to add compared Image to Test Execution Report

**URL:** <https://forum.katalon.com/t/how-to-add-compared-image-to-test-execution-report/12381>\
**Category:** Integrations\
**Tags:** integrations, katalon-studio\
**Created:** [August 3, 2018, 8:29am UTC](https://forum.katalon.com/t/how-to-add-compared-image-to-test-execution-report/12381 "2018-08-03T08:29:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yogendra](https://avatars.discourse-cdn.com/v4/letter/y/c89c15/32.png) [@yogendra](https://forum.katalon.com/u/yogendra)\
**Post date:** [August 3, 2018, 8:29am UTC](https://forum.katalon.com/t/how-to-add-compared-image-to-test-execution-report/12381/1 "2018-08-03T08:29:11Z")

</div>

HI,  
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(..)

---

<div class="post-metadata">

**Author:** ![pierrick.remy](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/pierrick.remy/32/5809_2.png) [@pierrick.remy](https://forum.katalon.com/u/pierrick.remy)\
**Post date:** [June 22, 2019, 1:43pm UTC](https://forum.katalon.com/t/how-to-add-compared-image-to-test-execution-report/12381/2 "2019-06-22T13:43:58Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![yogendra](https://avatars.discourse-cdn.com/v4/letter/y/c89c15/32.png) [@yogendra](https://forum.katalon.com/u/yogendra)\
**Post date:** [June 22, 2019, 2:55pm UTC](https://forum.katalon.com/t/how-to-add-compared-image-to-test-execution-report/12381/3 "2019-06-22T14:55:05Z")

</div>

Currently, I am copying the screenshot image to a temporary file and viewing them separately. Still looking for best solution.

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:43am UTC](https://forum.katalon.com/t/how-to-add-compared-image-to-test-execution-report/12381/4 "2022-08-08T07:43:37Z")

</div>


