Forum Discussion

SmartFace's avatar
SmartFace
Occasional Contributor
6 years ago

Loading/Saving Project Properties for each Environment to a file during opening/closing a project

Hello,

 

I need to load/save Project Level Properties for each Environment to a single external file without running a project.

All info I have found yet, was about loading/saving properties when running a project/ a testsuite/ a testcase/ a teststep.

We work on a composite project and share it via Bitbucket. Every tester needs to keep his project properties on his local machine and to load/save when he opens/closes SoapUI Pro, resp. opens/closes - loads/saves the composite project. We have working groovy scripts ready for it in the project Setup and TearDown scripts, but these require to run project which is not the right convenient automatic solution for our problem.

 

Can anyone help, please?

  • Hi SmartFace,

    I have referred to one of our Support engineers and here is what they replied:

    >>>

    If you need to save/load your custom project properties to/from a file, you can accomplish this by using the Saves property values to a file / Loads property values from a file to the list buttons in the Properties tab of the Project settings dialog (select your project in the Navigator panel, click Project in the main menu, select Project Settings, open the Properties tab). 
    Also, you can automate the task by creating scripts and putting them to the Load Script tab of the Project Settings dialog. In this case, they will be run when the project is imported. Here are the details:
    https://support.smartbear.com/readyapi/docs/projects/ui/projects/settings.html
    <<<

    Please let us know whether this helps.

  • Olga_T's avatar
    Olga_T
    SmartBear Alumni (Retired)

    Hi SmartFace,

    I have referred to one of our Support engineers and here is what they replied:

    >>>

    If you need to save/load your custom project properties to/from a file, you can accomplish this by using the Saves property values to a file / Loads property values from a file to the list buttons in the Properties tab of the Project settings dialog (select your project in the Navigator panel, click Project in the main menu, select Project Settings, open the Properties tab). 
    Also, you can automate the task by creating scripts and putting them to the Load Script tab of the Project Settings dialog. In this case, they will be run when the project is imported. Here are the details:
    https://support.smartbear.com/readyapi/docs/projects/ui/projects/settings.html
    <<<

    Please let us know whether this helps.