Forum Discussion

swordfish's avatar
12 years ago

How to extract data from the current DataSource row?

Hi
How do i make the Groovy assertion code extract value from the current DataSource row?
The problem is that the assertion always picks the value from the first row of the DataSource (and not the current).
Here is how I extract the DataSource value: def countryCode = context.expand( '${DataSource#CountryCode}' )
Thanks