No screenshot was produced when Assertion is failed

I’m using Katalon v5.10.1, Every time my assertion is failed, no screenshot was produced but when it’s not assertion like click, set text, etc. was encountered a failure it take screenshot. It only happens in the assertion part. I’ve already configured it in settings but it’s still not working. Hope someone can help me about this.

You could use WebUI.takeScreenshot() before asserting so you’ll have the screenshot regardles of the assert result.

1 Like