jbp123
15 years agoNew Contributor
No such property: testRunner for class: Script1
Hi,
I really like soapUI but am getting an error to do with testRunner.
I have a 1 line script assertion in my test request. When I run the test (or even just the script) I get the error: "No such property: testRunner for class: Script1"
The line is:
def strLat = testRunner.testCase.testSuite.getPropertyValue( "lat" )
It sounds like it doesn't recognise testRunner?
I have tried installing/uninstalling etc, but still the same message.
Ive upgraded to latest build, and tried this on soapUI 3.5.1 Pro and 3.6 beta. same issue.
I have Java 1.6.
Any help greatly appreciated.
Thanks,
Justin
I really like soapUI but am getting an error to do with testRunner.
I have a 1 line script assertion in my test request. When I run the test (or even just the script) I get the error: "No such property: testRunner for class: Script1"
The line is:
def strLat = testRunner.testCase.testSuite.getPropertyValue( "lat" )
It sounds like it doesn't recognise testRunner?
I have tried installing/uninstalling etc, but still the same message.
Ive upgraded to latest build, and tried this on soapUI 3.5.1 Pro and 3.6 beta. same issue.
I have Java 1.6.
Any help greatly appreciated.
Thanks,
Justin