Forum Discussion

payalmohitsobti's avatar
payalmohitsobti
Occasional Contributor
12 years ago

Editing teardown script from a groovy step

Hi,

Is there a way to get hold of teardown script in each testcase and edit it externally?
For ex- from a groovy step, get hold of teardown script in each test case and paste a piece of code in each teardown script section.

Thank,
Payal

1 Reply

  • nmrao's avatar
    nmrao
    Community Hero
    From the question it seemed that you may have to write tear down script for many cases, by the way how many case you are dealing with? May be you could try one case and see the change in the soap ui project xml. Then you may use SOAP UI API to make the multiple changes if you are a java programmer.