mesg2anil
14 years agoRegular Contributor
Usage of Randomize in Log Filename
Hi,
I need help on using Randomize in the log filename which is generated after script is executed... Below is the code which I'm using but it is not adding random number to the log filename after getting created...
I need help on using Randomize in the log filename which is generated after script is executed... Below is the code which I'm using but it is not adding random number to the log filename after getting created...
'Write the log file to folder
Randomize
Random = (1000)
FileName = Project.ConfigPath + "Exported Log Reports\MyResults"+Random+".mht"
Log.SaveResultsAs FileName, 2
Please suggest solution...