After following the guidelines provided here and here, I am striving to ensure that the directory where my results reports are stored is consistently available for each user.
new File(sampleFolder).mkdir();
The sampleFolder path displayed in the Eclipse debugger is "C:\Users\CurrentUser\workspace\Automation_Framework//Reports//output//TestCasesHtmlReports//"
This path is generated from the following variable definition:
public static String sampleFolder = System.getProperty("user.dir") + "//Reports//output//TestCasesHtmlReports//";
Despite setting up the script as mentioned above, I am not seeing the folder structure being created when running it. Can anyone pinpoint what might be going wrong? Should I run Eclipse with administrator privileges?