| || |
Currently when I run the below function it is saving the File name as some random characters.
FileName = project.ConfigPath + "Log\YourResults"
My question is how can I control what we name the file?
Re: Log.SaveResultAs FileName
Here is an exmaple I use in my project for .mht log files.
This is at the beginning of my test script:
var DateTimeLabel = getFileNameDateTimeLabel();
var FileName = "C:\\Logfolders\\Results"+DateTimeLabel+".mht" ;
This is at end of test script:
This part controls how you want to name the file: