How to change reports or output saving location in robot framework from RIDE

11,260

Solution 1

Look at the --outputdir command within the Robot Framework Documentation:

Here is what I use:

--outputdir C:/Robot/AutomationLogs/etc/etc --timestampoutputs

You use this one liner on the "Arguments" Field, right on the top of RIDE within the run tab.

From Wamans comment you can add formats to the end of the argument, to also change the dir name dynamically. See the 2nd answer within that SO question. This should be enough for you to get what you're asking for.

There is no way to set this within a UI.

Just set it by pasting that argument option within the "Arguments" Field at the top.

Solution 2

use below code in command line

    C:\Tests\> robot -d C:\Test_results Test.robot
Share:
11,260
sanjay pujari
Author by

sanjay pujari

Updated on June 12, 2022

Comments

  • sanjay pujari
    sanjay pujari over 1 year

    When I run test cases from RIDE the reports are saved in the below path.

    C:\Windows\Temp\RIDExf4xla.d

    I want save reports in specific path. Can I do this from RIDE? Is there any setting to change the reports location?

    Can anyone please suggest the way to do it.

    Thanks

  • sanjay pujari
    sanjay pujari over 6 years
    Hi Goralight, Waman, I am able to save the reports to specific directory by using argument as '--outputdir C:/Robot/AutomationLogs/etc/etc --timestampoutputs' . This is what I was looking for. Thanks very much for the help.
  • Goralight
    Goralight over 6 years
    @sanjaypujari - Anytime! :) If it helped, mark the question as accepted so that it can help others in the future! :) Also, check more on the Robot Framework Documentation, there are a LOT of very useful arguments which can help you do cool, little things!
  • Waman
    Waman over 6 years
    glad it helped!