Forum Discussion

Karthick86's avatar
Karthick86
Occasional Contributor
14 years ago

No such property called testRunner

Hi,

I am using SOAPUI 3.6, I am writing groovy script to execute a individual test step(SOAP Request). I found that this can be done using testRunner.

I have also found that the testRunner is recognized & working perfectly when used with SOAPUI groovy script feature, But it is not recognized in groovy scripts written outside soapui (In my case Eclipse groovy script).

Code Snippet:

def testCase = testRunner.getTestCase();
Name = testCase.getName();//testcase name

Error : No such property: testRunner for class:

Can anyone help me on this.??

Thanks,
Karthick.M
No RepliesBe the first to reply