Execute Single Feature file

  1. Create a New TestNg run configuration.

  2. Set com.qmetry.qaf.automation.step.client.gherkin.GherkinScenarioFactory as Runner Class
  3. In Arguments tab set -Dscenario.file.loc=${selected_resource_loc} in VMArgs section
  4. Run
  5. To execute any other Feature file, keep that file selected/open and Run the configuration from Run shortcut in top bar