Skip to main content

[Cucumber] Run Feature File

Description

Execute a single Feature File.

Keyword name: runFeatureFile

Keyword syntax: runFeatureFile(relativeFilePath, flowControl)

Parameters

ParameterParameter TypeRequiredDescription
relativeFilePathStringYesA relative file path of the feature file.
flowControlFailureHandlingOptionalControls the execution flow if the step fails. Specify failure handling schema to determine whether the execution should be allowed to continue or stop.

Returns

An instance of CucumberRunnerResult that includes the status of the keyword and report folder location.

Example

CucumberKW.runFeatureFile('Include/features/New Feature File.feature')