Forum Discussion

ahabib's avatar
ahabib
Occasional Contributor
5 years ago
Solved

How to run a testCase for each a testStep using tearDown script

Im trying to run a testCase (delete) before running any other testCase using tearDown script but i get scriptException: error in teardDown script. this is the code : def testStep = testRunner.tes...
  • groovyguy's avatar
    5 years ago

    Can you provide the error that you get? That might help with troubleshooting. Also, a teardown script typically runs at the end of something. Maybe you need a setup script that'll run before anything else? Just a thought on that one. But if you can provide the errors that would be super helpful.