How to close browser if a step in test case fails?
If a step in a test fails the browser window is not getting closed.
How to close browser if a step in test case fails?
If a step in a test fails the browser window is not getting closed.
I have the same question. Please, does anyone know how to do that?
Hello There,
Please go to Your Project > Settings > Test Case.
You will find An option Name “Default Failure Handling For test Steps”.
From There You can configure your projects
From Here you can learn more…
https://docs.katalon.com/display/KD/Failure+handling
Hi there,
Please go to Window -> Katalon Studio Preferences settings and select ‘Execution’ item. There will be an item called ‘Terminate drivers’ which will automatically close browser after execution even in case of fail test step