How can I take screenshots of every step and log them to reports

I wanted to take screenshot of every test step intially to prove build is functional as expected. I could find an option take screenshots for failure tests but how about capturing them for both passed and failed?

Hi there,

Please find out captured location on this keyword page. In the next release, captured screenshot can saved to user-defined location :).

Captured screenshot will be stored into temp folder of Katalon Studio: C:\Users\\AppData\Local\Temp\Katalon\Test Cases. In this folder, you will find the executed test case along with its folder’s report. If you capture any screenshot using ‘Take Screenshot’ keyword, it will be stored in folder’s report.

By default, screenshot will be captured automatically on failed step which interacts with the browser. The settings is available at Project -> Settings -> Report. Captured screenshot will be stored in ‘Image’ tab of test suite report:
https://docs.katalon.com/display/KD/Test+Suite+Report#TestSuiteReport-TestLogsDetails

So where it gets stored? And does it appended to reports directly?
Where I can find failed screenshots? I couldn’t find in the workspace

Hi there,

That option is not available in current version. This feature has been noted and will be implemented in future releases.

So I think for now you can add ‘Take Screenshot’ step after every step if you want to capture passed test step as well

Thanks