Forum Discussion

Prudential_UK_A's avatar
Prudential_UK_A
Frequent Contributor
15 years ago

SoapUI Extension Groovy Action

I've managed to do a groovy script action and attach it to a TestSuite so I can save all Request XML in the suite to files.
I use the UISupport.getFileDialogs().saveAsDirectory() to let the user choose a directory to save to.
How do I initialise this to be the last used directory?
I've seen other dialogs where you get put into the last chosen directory to start with.

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    For now you'll have to save it yourself and pass that as the third argument to the saveAsDirectory action..

    regards!

    /Ole
    eviware.com