Forum Discussion
nmrao
Champion Level 3
So do you run the same code for Groovy step?
<code>
return testRunner.testCase.testSteps["Groovy TestStep"].assertionStatus
<code>
What happens if groovy script fails or passes currently ?
<code>
return testRunner.testCase.testSteps["Groovy TestStep"].assertionStatus
<code>
What happens if groovy script fails or passes currently ?
Said
5 years agoContributor
nmrao wrote:
So do you run the same code for Groovy step?
<code>
return testRunner.testCase.testSteps["Groovy TestStep"].assertionStatus
<code>
What happens if groovy script fails or passes currently ?
When I run the statement
return testRunner.testCase.testSteps["Groovy TestStep"].assertionStatus
on a groovy test step I get error below
No such property: assertionStatus for class: com.eviware.soapui.impl.wsdl.teststeps.DebuggableWsdlGroovyScriptTestStep
That is why I need some other way to check if scrip passed or failed