Forum Discussion
MPleas
10 years agoOccasional Contributor
It doesn't look like it's the .cancel that is preventing the properties from returning to the calling test.
I put a final step in the test that is just a Groovy test step called 'End'. There is nothing in it. Instead of doing testRunner.cancel, I did testRunner.gotoStepByName("End") to skip to the end after it executes them all through the Groovy step. Even after removing the testRunner.cancel, the properties are still not being returned to the calling test.
Should executing a "Run TestCase" step via Groovy return the properties? Is there something I'm not doing correctly in the call to the step?
I put a final step in the test that is just a Groovy test step called 'End'. There is nothing in it. Instead of doing testRunner.cancel, I did testRunner.gotoStepByName("End") to skip to the end after it executes them all through the Groovy step. Even after removing the testRunner.cancel, the properties are still not being returned to the calling test.
Should executing a "Run TestCase" step via Groovy return the properties? Is there something I'm not doing correctly in the call to the step?