Forum Discussion

enliven's avatar
enliven
Contributor
16 years ago

Groovy and api documentation

The api documentation does not contain the property calls that I see being used in Groovy.

For example:
testRunner.testCase.testSuite.project.getInterfaceList() is documented here
but I cannot locate documentation for testRunner.testCase.testSuite.project.interfaces

Ive been all over the Groovy site to see if they were somehow being inferred but have not found anything. Could someone please tell where I can find information about these other properties that I see in the groovy examples?

1 Reply

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

    the getInterfaces() method is not part of the Project interface but instead a method in the implementing WsdlProject class: http://www.soapui.org/apidocs/com/eviwa ... oject.html. You will generally find gets() methods which return a Map> for easy access in groovy.

    Generally the implementation-classes will have more properties/methods for more specific functionality, although the above might as well be moved to the Project interface level.

    Hope this helps!

    regards,

    /Ole
    eviware.com