Forum Discussion

rf's avatar
rf
Occasional Contributor
9 years ago

open wsdlproject using groovy

Hello!

Is it possible to open a project using groovy code (in Ready API/SoapUI NG)?

E.g. testRunner.testCase.testSuite.project.open = true. (This obviously doesn't work, the open-attribute is read-only).

 

I searched the api-docs but didn't find anything that could help me (https://www.soapui.org/apidocs/com/eviware/soapui/impl/wsdl/WsdlProject.html).

 

Best Regards Robert

7 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Rf,

     

    Could you please share your use case with us? What do you want to open the project for?

  • rf's avatar
    rf
    Occasional Contributor

    I just want to open (just open, not run it or anything else) a project from within another project like:

    testRunner.testCase.testSuite.project.workspace.projects[ "other_project" ].open = true;

     

    But the above doesn't work because the open-attribute is read-only.

     

    This because the interfaceList is not available for a closed project.

     

    Best Regards

    Robert

    • nmrao's avatar
      nmrao
      Champion Level 3
      Unfortunately could not help any based the on info provided.