kcoffrin
7 years agoContributor
Log.SaveResultsAs Dynamically Name Log File
Currently have the following line of code in a JSCRIPT: Log.SaveResultsAs("C:\\TestLogs\\Log1\Log.xml", lsXML).
This is obviously using hard coded values of Log1 as the Sub directory. I want this to be dynamic and create a new sub directory each time I run this script without having to change it manually each time. How would I accomplish this?