You are working with a data table and you want to use of reference of that data table in your step definitions as a multi-dimensional array. Assuming the name of the argument your step passes when capturing the table is “Table†and the array is to be named “@vehicle†which of those will accomplish your requirement
1.@vehicle = table.hash
2.@vehicle = table.raw
3.@vehicle.array = table
4.@vehicle = table.array
Posted Date:-2022-11-18 11:23:16