Forum Discussion
So, this suggestion might be a bit weird with all the cool groovy scripting in this topic, but did you try File DataSource? It seems like a solution for this kind of stuff without Groovy.
IgorG, thank you for the link, that seems to be good.
How to access the certain columns? Property Expansion?
Have to use just like Data driven?
- IgorG9 years ago
Staff
nmrao Pretty much. It reads the file line-by-line and returns the column values as properties. The you use property expansions and a DataSource loop to go through the data.
Not sure how you handle a footer in this scenario through, could probably remove it beforehand or set the End Row value somehow.
- groovyguy9 years agoCommunity Hero
IgorG, you'd also have to dump the first row, right? Since those are headers and not actual data.
- IgorG9 years ago
Staff
groovyguy There is a Start Row propery, you set it to 1 to ignore header row. I just did not change it for this screenshot.