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.
Choose Project > Settings > Report
There you will find “Take screenshot when execution failed” option. Toggle it off.
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.
On my Mac, I have Katalon Studion 5.7.1.
I have the katalon.ini file at /Applications/Katalon Studio.app/Contents/Eclipse/katalon.ini
In the os console, I checked the katalon.ini file where you can find the runtime configuration for Eclipse = Katalong Studio. The following shows mine.
artifacts.xml features katalon.ini plugins
configuration jre p2
:Eclipse$ cat katalon.ini
Possiblly you have this default value in katalon.ini
You can change this to
-Xmx8192m or even lager depending how large physical memory your PC has.
Yes, it worked. Thank you.
The following post may help you as well to reduce to memory consumption:
1. Always update Katalon Studio to the latest version.
Starting in v6.3.0 and the later version, Katalon team will carefully focus on Katalon Studio UI, UX and performance. Especially in v6.3.0, Katalon Studio has improved the issue when working with multiple variables in Test Case, Global Variable. If your project has many variables to work with, Katalon Studio v6.3.x is the version you need.
2. Edit katalon.ini file
Open katalon.ini then add these JVM options: