Forum Discussion
PaulDonny
12 years agoRegular Contributor
I want to say I could. I am not near my work computer (thankfully) but if you contact me regarding this tomorrow or Friday, or just post here again. I will find out the answer for you and help find a solution.
I did have a situation where I had to put a groovy script into the last test step but I for the life of me can not remember why I had to do that. I do know that my teardown script was set up as a logger and I want to say that it used gotoTestStep.
Some things to possibly look into:
A return statement might break the teardown script. runTestCase might be a better option. I know with SoapUI that it will parse the script and finish the testCase which might be the issue since at the end of the test case it is closing the test case completely.
Again, these are theories since I can not currently test anything.
I did have a situation where I had to put a groovy script into the last test step but I for the life of me can not remember why I had to do that. I do know that my teardown script was set up as a logger and I want to say that it used gotoTestStep.
Some things to possibly look into:
A return statement might break the teardown script. runTestCase might be a better option. I know with SoapUI that it will parse the script and finish the testCase which might be the issue since at the end of the test case it is closing the test case completely.
Again, these are theories since I can not currently test anything.