# waitForImagePresent always return FALSE

**URL:** <https://forum.katalon.com/t/waitforimagepresent-always-return-false/25023>\
**Category:** Web Testing\
**Tags:** web-testing, katalon-studio\
**Created:** [May 10, 2019, 4:16am UTC](https://forum.katalon.com/t/waitforimagepresent-always-return-false/25023 "2019-05-10T04:16:20Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [May 19, 2019, 12:19am UTC](https://forum.katalon.com/t/waitforimagepresent-always-return-false/25023/6 "2019-05-19T00:19:16Z")

</div>

I have ever tried to compare images (screenshots) using [aShot](https://github.com/pazone/ashot).

See the following post of mine:

> [@Testing Slideshow in Katalon Studio](http://forum.katalon.com/t/testing-slideshow-in-katalon-studio/13752):
>
> I have made a demo project at [GitHub - kazurayam/TestingSlideshowInKatalonStudio: A Katalon Studio project, which test a slideshow on a Web Page is in mortion or not.](https://github.com/kazurayam/TestingSlideshowInKatalonStudio) ---------- Problems to solve Many web sites have slide show in the top page. For example, have a look at this beautiful site: [Mandelbrot Explorer](https://www.mandel.org.uk/). A slide show displays a fixed number of images switched circularly with a fixed interval of some seconds. I want to verify if a slide show is in motion. In other words, I want to …

In this demo project, I calculated the magnitude of difference of 2 given images (source and target) : 0.0%, 0.1%, …, 75.34%, 99.80%, 100.0%. And I put 3rd parameter : criteria-percentage. If I put 1.00% as the criteria, my test regards smaller differences (such as 0.0% and 0.1%) are ignorable; meaning 2 images are similar enough. But greater differences (such as 75.34%, 99.80%, 100.0%) will be regarded significant; meaning 2 images are different.

An now AShot plugin for Katalon Studio is available.

- [Image Comparison using aShot Keywords](https://store.katalon.com/product/56/Image-Comparison-using-aShot-Keywords)

---

_[View the full topic](https://forum.katalon.com/t/waitforimagepresent-always-return-false/25023)._
