Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: How do you parameterize steps in Cucumber?
Answer: Steps can be parameterized using angle brackets in the step definition, and values are passed through Examples in the Scenario Outline.

Example:

Scenario Outline: Search with different keywords
    Given the user is on the search page
    When the user searches for 
    Then results should include 
    Examples:
      | keyword   | result           |
      | cucumber  | relevant results |
      | testing   | accurate results |
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook