To test different sets of data in Cucumber, the _______ keyword is used in the feature file.

  • Data Set
  • Examples
  • Given
  • Scenario Outline
To test different sets of data in Cucumber, the Scenario Outline keyword is used in the feature file. Scenario Outline allows testers to create a template for a scenario and replace placeholders with concrete values. The Examples section is then used to provide multiple sets of input data, enabling the execution of the same scenario with different data combinations. This helps in achieving data-driven testing and ensures that the same set of steps can be executed with various input values.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *