Lecture 10 : Passing data table to Cucumber scenario steps in Java

preview_player
Показать описание
This video explains how to pass the data in the table format using "DataTable" in Cucumber in Java. DataTable is very useful when you want to pass many parameters to the step definitions in Cucumber.
Рекомендации по теме
Комментарии
Автор

Hi Sagar, I have a question here. While trying to access the values of website and title from the dataMap, why do we need to use double quotes for website's value which we send as a parameter in datamap.get("website") ? and in the next line where we are trying to access the value(tutorial) form the dataMap why did we need to hardcode datamap.get("Tutorial"). cannot we use dataMap.get(Title)? Please can you help me with this

lavanyaah
Автор

If we need to execute for 200 users, it would be difficult to write in feature file, any other way to to it

dsqare
welcome to shbcf.ru