Forum Discussion

mchelikani's avatar
mchelikani
Contributor
12 years ago

How to specify exportAll files to a different folder

I want to have the the results of <exportAll> to a folder other than <outputFolder>

The issue I am facing is, My JUnit Reprts and Project Repports are getting copied to the same outputFolder. Instead I want to have the exportAll files to different folder which would be clean.

Thank you!

3 Replies

  • Hi,

    Have you tried the -f option with testrunner?

    Example:
    testrunner <project file> -f C:\temp -j -g -r



    Regards,
    Marcus
    SmartBear Support
  • Yes, but that is the folder all the junit reports and projects reports are getting copied.

    I want the files that get generated by <exportAll> option ( ) to get copied to a different folder. Currently, all the jnunit reports, project report and files generated by exportAll option ( -f option) are all going to whatever <outputFolder> you specify.

    Please let me know if my question is not clear.

    -Madhu.
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    AFAIK, this is not possible.
    Here is why; implementation is done by https://github.com/SmartBear/soapui/blo ... unner.java
    output directory selection:
    * txt files (for request/responses activity): line 713
    * junit files: line 491

    Both of them call the getAbsoluteOutputFolder method of the base abstract class which uses the ouputFolder you have set in the runner.