Forum Discussion

caz88's avatar
caz88
Occasional Contributor
6 years ago

How to access method getStepTestByName in a teardown script

Hi Folks,    Is there a reason that this:   def dataSourceStep = testRunner.testCase.getTestStepByName("DataSource")   Doesn't work in a teardown script?    Using a Groovy script I ...