Reputation: 21
I'm using robot framework with eclipse to test the scripts. Every time I run a test it overwrites old result and output file. How & what configuration must be done in eclipse that instead of overwriting the output & result file, it always generates a new output & result files?
This is achievable by command line but i want to know how it can be configured in eclipse
Upvotes: 0
Views: 6310
Reputation: 1
if you want to configure it using eclipse.
Upvotes: 0
Reputation: 20067
The names of the generated statistics files are controlled with these command line options:
--output
, for the detailed xml file which default name is "output.xml",
--report
, for the summary html file which default name is "report.html",
--log
, for the detailed html file which default name is "log.html".
On top of that, there is an option -T
or --timestamp
, which when used will put a time stamp in the file's name, just before the extension.
With it the file will be called (as an example) "output-20080604-163225.xml" - which looks like precisely what you're looking for.
Upvotes: 2