Runtime generates corrupted "testCaseBinding." file when -reportFolder=<path> option is used

Setup:

I am running test scripts on the Katalon Runtime Engine image, with the the -reportFolder option to override the default location of the generated reports. When the reportFolder option is used, a file testCaseBinding. is created, which seems to be corrupt as it cannot be opened/deleted/renamed. While running the same script without the reportFolder option creates the correct testCaseBinding file (without the dot), which can be opened/deleted/renamed.

The tests are being run on a Jenkins server, thus workspace cleanup is required; which is not possible due to the corrupt file that is created on every run.

Error

2 Likes