Buschfunk
16 years agoFrequent Contributor
Resetting a DataSource via Groovy script
Hello,
In a test case I have defined a DataSource test step. This DataSource is executed by a Groovy script using:
Could someone tell me how I can "reset" the DataSource in the Groovy scipt when running it for the first time?
Sincerely,
Robert
In a test case I have defined a DataSource test step. This DataSource is executed by a Groovy script using:
def ds = testRunner.testCase.getTestStepByName("DataSource")
ds.run(testRunner, context)
Could someone tell me how I can "reset" the DataSource in the Groovy scipt when running it for the first time?
Sincerely,
Robert