Google News
logo
Cucumber - Interview Questions
What do you mean by scenario in Cucumber Testing?
Scenario is a fundamental Gherkin structure. Every scenario begins with the keyword "Scenario:" (or a localized version of it) and ends with a scenario title. Every feature can have one or more scenarios, each of which has one or more steps. 
 
As an example of a scenario, consider the following :
 
Scenario − Verify My Orders Functionality.
Explanation : When a user clicks on the My Orders option he/ she should be taken to the My Orders page.
Advertisement