I want to get the test data from excel sheet based on the cucumber scenario name.
This is my sample feature file.
This is my sample data file.
When I am running the feature file it should take the current running scenario and match it with the excel sheet’s scenario name then it should run with the data whichever row is matched.
In this scenario it should take email - firstname.lastname@example.org and password - sampleone
Please advise…! Thanks in advance