Anybody know how to use the csv file to create a dynamic data tables.
I'm trying to use the Code defined in the documentation but it's not working for me.
Anybody know how to use the csv file to create a dynamic data tables.
I'm trying to use the Code defined in the documentation but it's not working for me.
The
read
function acceptscsv
files and creates an array of json objects from the csv. Header row is always expected and the header is used to create the name of the object members.Suppose you have a csv like this:
[data.csv]:
Then the following test is green
You can find that example here. It's a gradle and groovy based test, but I hope it helps.