Forum Discussion
Jon
16 years agoContributor
Update.
So I got it to work using:
Weird that it wouldn't work using the name, isn't it? Note... the datasource name I actually had in the groovy code is longer (25 chars)... name has been changed to protect the guilty (but it was spelled correctly in the reference... I actually cut and pasted it to make sure!)
So I got it to work using:
def dataSourceStep = testRunner.testCase.getTestStepAt(0)
dataSourceStep.finish( testRunner, context )
Weird that it wouldn't work using the name, isn't it? Note... the datasource name I actually had in the groovy code is longer (25 chars)... name has been changed to protect the guilty (but it was spelled correctly in the reference... I actually cut and pasted it to make sure!)
Related Content
Recent Discussions
- 17 hours agoruchisingh