Forum Discussion

Buschfunk's avatar
Buschfunk
Frequent Contributor
16 years ago

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:

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
No RepliesBe the first to reply