Forum Discussion

vd484's avatar
vd484
Occasional Contributor
15 years ago

test results path - with groovy

All

I need some help - i am trying to update the results path in test runner via a groovy step and i wanted to know -if this is even possible and if so can any one please let me know the steps on how to do this.

I wanted to upload the path at runtime.

Appreciate your help.

Thanks
vd484

2 Replies

  • vd484's avatar
    vd484
    Occasional Contributor
    all

    can anyone please reply if this is something that can be done -- Thanks
  • Hello,

    Do you mean the output folder for reports? This should be possible in the latest nightly build (soapUI 3.6.2-SNAPSHOT available here). This should work:


    com.eviware.soapui.SoapUI.cmdLineRunner?.outputFolder = "PATH TO DESIRED OUTPUT FOLDER HERE"


    The ?. part is needed since cmdLineRunner will be null if you are running the test from within soapUI. If so, the command to set the output folder will simply be aborted. Good luck!

    Regards,
    Dain
    eviware.com