[Cucumber] Run Feature Folder with Tags

  • Description: Execute multiple feature files stored in the same features folder.
  • Keyword name: runFeatureFolderWithTags
  • Keyword syntax: runFeatureFolderWithTags(folderRelativePath, tags, flowControl)
  • Parameters:
    • Name: folderRelativePath
      • Description: the folder relative path that starts from the current project location.
      • Parameter Type: String
      • Mandatory: Required
    • Name: tags
      • Description: which tags in the feature files should be executed.
      • Parameter Type: String[]
      • Mandatory: Required
    • Name: flowControl
      • Description: an instance com.kms.katalon.core.model.FailureHandling that controls the running flow
      • Parameter Type: FailureHandling
      • Mandatory: Optional
  • Returns: an instance of CucumberRunnerResult that includes the status of keyword and report folder location.
  • Example:
CucumberKW.runFeatureFolderWithTags('Include/features/BDD Cucumber Tests',"@BA")