Skip to main content

[Cucumber] Run Feature Folder

Description

Execute multiple feature files stored in the same features folder.

Keyword name: runFeatureFolder

Keyword syntax: runFeatureFolder(folderRelativePath, flowControl)

Parameter

ParameterParameter TypeRequiredDescription
folderRelativePathStringYesThe folder relative path starts from the current project location.
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 keyword and report folder location.

Example

CucumberKW.runFeatureFolder('Include/features/New Feature Folder')