I am new to Gauge. I am trying to loop through csv file and save the data on a website. Can any one guide through how to manipulate the table object.
Spec
* dt <table:D:/work/2019/gauge-app/specs/data.csv>
Step Impl (JS)
step("dt <data>", async (data) => {
var row;
for(var i=0;i<data.length;i++){
row=data[i];
await write(row[0].toString(),into(textField({id:"name"})));
await write(row[1],into(inputField({id:"roll"})));
await waitFor(2000);
await press("Enter");
}
});