Cannot take a screenshot when test suites are run through teamcity

OS: Windows Server 2016 64bit
Katalon version: 6.1.0.1
Browser: Chrome 73.0.3683.103

when test suite collection is ran directly on server through command line everything works, but when the same command line is executed through teamcity, i get errors that screenshots cannot be taken either way if it was initiated when test failed or when takeScreenshot keyword was called.

When test failed i get this warning:

and when use WebUI.takeScreenshot():


Anyone faced the same problem or knows how to fix it?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.