I have written a very generic script with cucumber. When executing the feature file then the status is Passed but no information on the steps.
I appreciate your help on the same.
Details are below:
Feature: 123
I want to use this template for my feature file
Scenario Outline: Testing
Given LoginPage
When Username
Then HomePage
class testfile {
/**
* The step definitions below match with Katalon sample Gherkin steps
*/
@Given(“LoginPage”)
def LoginPage() {
println (“\n login page”)
}
@When("Username")
def Username() {
println ("\n username")
}
@Then("HomePage")
def HomePage(String ) {
println ("\n Pass")
}
}