Forum Discussion
2 Replies
Sort By
- alibaba82Super ContributorHi,
I use it in my globalGroovy class by passing 'testRunner' as an argument to the method that uses it. So i have a method in my globalgroovy such as
void foobar(testRunner)
{
def props = testRunner.testCase.getTestStepByName("BLAH")
}
then from soapui groovy step i call it
globalgroovy foo = new globalgroovy()
foo.foobar(testRunner)
hope this works
Ali - JMcKinleyContributorThis is what I needed...
Thanks for the help!