Skip to main content

Running Automation Tests Using Cucumber

Update Parameters

To run a feture test, you should first set up the parameters correctly in the launcher.properties file.

Refer Launcher Properties to setup launcher properties correctly.

Once you have set up, your launcher.properties file should be shown as below.

Launcher Properties

Running a feature

In cucumber, you can use the run option infront of the tag of the feature file to run the test

Cucumber Run

Or else, you can right click on the feature file and use Run as -> Cucumber feature option

Run as Cucumber