Is there any way to extract list of steps used in a Cucumber .feature file? The steps should be in the format they're defined in the step definition @When / @Given / @Then annotations.
2 Answers
Use runner class to generate steps with annotations then later fill with java code topass your unit test cases ,Follow this reference link step by step procedure http://www.automationtestinghub.com/cucumber-step-definition/
