SoapUser2012
14 years agoOccasional Contributor
[RES] calling .groovy function from tear down script
Hi ,
I have a groovy script step in the same test suite as other test cases .This groovy script runs all the test cases in the test suite in a loop. It then calls one user defined groovy method to update the results( this is a groovy method defined in grovy class and the package is added to the default path of the SOAP UI) .This method is invoked thro the object of the class containing this method ) . In Groovy step ,in order to call this method ,we need to specify this package.
Could I be able to call this method from tear down script, same way its done in groovy step by specifying the package name there?
Thanks
I have a groovy script step in the same test suite as other test cases .This groovy script runs all the test cases in the test suite in a loop. It then calls one user defined groovy method to update the results( this is a groovy method defined in grovy class and the package is added to the default path of the SOAP UI) .This method is invoked thro the object of the class containing this method ) . In Groovy step ,in order to call this method ,we need to specify this package.
Could I be able to call this method from tear down script, same way its done in groovy step by specifying the package name there?
Thanks