I\'m using QAF and it\'s amazing tool, but i have one problem. Are there any ways to parameterize cucumber feature steps with custom data provider as it\'s done in BDD files
If you found in-built data-providers does not satisfy your need then you can provide custom data provider. In case of gherkin you can provide it with Examples
:
Examples: {"dataProvider":"dp-with-testngmethod-contex", "dataProviderClass":"com.qmetry.qaf.automation.impl.CustomDataProvider"}
Any of the meta-data for data-provider can be used with Examples
.
Moreover with latest BDD2 syntax you can also provide it as below:
@dataProvider:dp-with-testngmethod-contex
@dataProviderClass:com.qmetry.qaf.automation.impl.CustomDataProvider
@regression
Scenario: my scenario
...