Separate log files for every automated test run (e.g. by using placeholders)
Hi all,
in TestExecute's documentation about the command line it's stated:
file_name should specify a non-existent file. If you specify the name of an existing file, TestExecute will fail to run the test.
So, if I automate my test runs to run every day and if I don't want to overwrite my log files every day or I don't want to change my command line call every day by script to change the file names for the /ExportLog and /ExportSummary parameters, I thought if I could use some placeholders to have new logs for every new day.
Or can you recommend another option to store separate logs for every day's test execution?
Kind regards,
M-Th.
Hi,
> can you recommend another option to store separate logs for every day's test execution?
Something like this might help:
https://superuser.com/questions/512163/using-date-and-times-in-a-batch-file-to-create-a-file-name
https://stackoverflow.com/questions/1064557/creating-a-file-name-as-a-timestamp-in-a-batch-job
https://www.google.com/search?q=batch+file+add+datetime+stamp+to+filename