We might need to supply multiple data instead of hardcoded value passed in steps from feature files, this happens most of the time while working with your project
This can be done using DataTable class available in Cucumber, basically DataTables are of type List<List<String>>
Table in the scenario looks something like this
Here is the complete videos of the above discussion
Working with DataTable using DataTable.raw()
Working with DataTable using custom class
Thanks for reading the post and watching the video!!!
Please leave your comments and let me know if there is anything I should update in this post.
Thanks,
Karthik KK