Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 21061

How to use method in separate groovy script within test case

$
0
0

My directory structure is something like as follows:

 

-testSuite

--testCase

---model (groovy script)

---view (groovy script)

---login (soap request)

---logout (soap request)

 

Essentially - is it possible to call functions (methods) defined within the 'model' script from the 'view' script? And vice versa.

The functions return and require variables to be passed, they are not just runnables. They also perform operations on the xml requests, which is why I was under the impression using the script library would not be suitable.

 

Any help or direction would be greatly appreciated. Thanks.


Viewing all articles
Browse latest Browse all 21061

Trending Articles