I am new to OpenScript, but have been using Java for 10+ years. :)
I am not sure how OpenScript handles this, but in "regular Java", when you use the code
"File file = Paths.get(".\script.java").toFile();
warn("File: " + file.getAbsolutePath());"
I would get the absolute path of the "script.java" file, which in this case is "C:\OracleATS\OFT\Project23.All\Project23\.\script.java", but in OpenScript when I playback, I get "C:\OracleATS\openScript\.\script.java".
So what is the best way to load in a properties file or text file?