Writing step definitions while using array of inputs in Gherkin Acceptance Test(BDD – approach)
Example scenario :-
Scenario : Assume something
Given : Assume something
When : I have 3 numbers “” as given below
| numbers |
| 1 |
| 2 |
| 3 |
Then : Assume something
In java code :-
I don’t know how to write the step definition for the above scenario without any regex in java code
Could someone write the step definition for the above scenario and change the data table into list of numbers
Karthikeyan C is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.