top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to copy the output files of RoboFramework automation to a particular directory ?

+4 votes
374 views

I am trying to execute a test case using robotframework automation and with every test case i am getting 3 log files which are in html format. I am trying to save those 3 files in a different folder and different path.

Plus if i execute another test case the log files will save there with the increment of their count. like output2.html and so on.

posted Feb 18, 2014 by Hiteshwar Thakur

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Use the option -d for the same

Try the following

pybot -d <output directory> test.txt

try -T option which will add the timestamp in the output file which should serve the same pupose...

pybot -T -d <output directory> test.txt
answer Feb 18, 2014 by Salil Agrawal
...