How to get the location of Reports directory generated at runtime?

Hi,

Currently, Katalon generates a Reports folder based upon timestamp at the start of the execution. Now I want to access this location so that I can create subfolder for documents to be downloaded?

Let say the location is Reports/SuiteName/20180104_210307
How can I get this value β€œ20180104_210307” or the entire filepath?

Thanks in advance!

The topic is moved to New Feature/Suggestion box for further discussion.

Dharmesh Verma said:

Hi,

Currently, Katalon generates a Reports folder based upon timestamp at the start of the execution. Now I want to access this location so that I can create subfolder for documents to be downloaded?

Let say the location is Reports/SuiteName/20180104_210307
How can I get this value β€œ20180104_210307” or the entire filepath?

Thanks in advance!

Currently Katalon Studio does support this . Please use below function to get report folder’s path:

import com.kms.katalon.core.configuration.RunConfiguration
RunConfiguration.getReportFolder()
5 Likes