Unable to take screenshot for failed test cases

I’m unable to take screenshot for failed test cases and no screenshot found in reports folder. i have selected the checkbox in project>settings>report. My katalon version 7.3.1

ERROR [SMART_XPATH] Cannot save screenshot to: C:/Users/ikrithik/Pictures/Flow/Reports/smart_xpath, reason: (y + height) is outside of Raster

Solved in a private thread.

Hi @gowtham.ravindra425

That error does not mean that KS has failed to take screenshot of the failed test case. That option is under Project > Setting > Report. The error you see is due to Smart XPath Plugin automatically attempts to find a working locator for a failed Test Object. Please click on the Smart XPath icon and choose Disable.

1 Like