HTML reports taking hours to generate because Katalon takes automatic screenshots


#1

I am automating 10 iterations of some long flows. But the HTML report is taking around 3-4 hours to generate because whenever I use verifyElementPresent, verifyElementClickable, verifyElementVisible, Katalon is taking automatic screenshots which is making the html files huge.

Is there a way that we can turn off this feature of Katalon.


#2

Choose Project > Settings > Report
There you will find “Take screenshot when execution failed” option. Toggle it off.


#3

the HTML report is taking around 3-4 hours …

Your test suite is possibly big and requires large memory to run. Try allocating larger memory for Katalon Studio. Then your test suite will get faster.

See the following post for background information.

Possiblly you have this default value in katalon.ini

-Xmx2048m

You can change this to -Xmx4096m or -Xmx8192m or even lager depending how large physical memory your PC has.


Fails to generate test report - java.lang.OutOfMemoryError: Java heap space
#4

Yes, it worked. Thank you.


#5

The following post may help you as well to reduce to memory consumption: