What is the purpose of scenario outline in cucumber?
Answer Posted / triptimoni18@gmail.com
Purpose: Scenario Outline helps run the same scenario with different data
Scenario: A user wants to log in to a website using multiple sets of credentials.
Example:
Scenario Outline: Login functionality
Given User is on the login page
When User enters "<username>" and "<password>"
Then User should see the homepage
Examples:
| username | password |
| user1 | pass123 |
| user2 | pass456 |
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is scenario outline in feature file?
What is cucumber?
What language is used by cucumber?
Define what is cucumber dry run?
What is cucumber? What are the advantages of cucumber?
Explain the purpose of keywords that are used for writing a scenario in cucumber.
What are the various keywords that are used in cucumber for writing a scenario?
What is the language used for expressing scenario in feature file?
Define what are the keywords that we use in cucumber scenario steps?
What is the use of features property under cucumber options tag?
Should any code be written within testrunner class?
Explain cucumber?
What symbol is used for parameterization in cucumber?
Explain define what is regular expressions?
Provide an example of step definition file in cucumber?