Forum Discussion
SmartBear_Suppo
Alumni
15 years agoHello!
Without getting too technical, it's actually the DataSource Loop that retrieves the new data from the DataSource. Because of this, context.currentStep will refer to DataSource Loop if you run the whole TestCase. Please try using this more static way to get a certain Test Step instead:
Hope it works for you!
/Henrik
eviware.com
Without getting too technical, it's actually the DataSource Loop that retrieves the new data from the DataSource. Because of this, context.currentStep will refer to DataSource Loop if you run the whole TestCase. Please try using this more static way to get a certain Test Step instead:
def row = testRunner.testCase.testSteps["DataSource"].currentRow
Hope it works for you!
/Henrik
eviware.com