Hello !
I’d like to get in my code the path to the reports but I don’t find it.
I tried
RunConfiguration.getReportFolder()
But it returns
[...]\AppData\Local\Temp\Katalon\Test Cases\{TestCaseName}\{TestCaseName}\{Date}
And I want
[...]\katalon\{ProjectName}\Reports\{TestCaseName}\{Date}
Is it possible ?
If you run your tests in the Katalon command line mode, you can specify the report folder. See the -reportFolder option here:
https://docs.katalon.com/katalon-studio/docs/console-mode-execution.html#execute-katalon-in-cmdg
You can also set a global variable from the command line. This global variable can inform your tests where the reports are. See Override Execution Profile Variable.