Forum Discussion
Madhusmita
Occasional Visitor
i tried to iterate the datasource in groovy script but always print last value.i want to get all the value of all the rows.how to reset the datsource to load from first rows value.
canpan14
8 years agoOccasional Contributor
Way late on this but you can reset the datasource to load from the first value by doing the following:
testRunner.testCase.getTestStepByName('DataSource').repositionAtStartRow( testRunner, context)
Taken from here:
Related Content
Recent Discussions
- 17 hours agogroovyguy