[Cucumber] Run Feature File
Description​
Execute a single Feature File.
Keyword name: runFeatureFile
Keyword syntax: runFeatureFile(relativeFilePath, flowControl)
Parameters​
Parameter | Parameter Type | Required | Description |
---|---|---|---|
relativeFilePath | String | Yes | A relative file path of the feature file. |
flowControl | FailureHandling | Optional | Controls 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')