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 are the differences between jbehave and cucumber?
What is the name of the plugin that is used to integrate eclipse with cucumber?
What is cucumber? What are the advantages of cucumber?
Define what is regular expressions?
Define what is step definition in cucumber?
Provide an example of scenario outline using cucumber framework.
Explain define what is scenario outline in feature file?
Define how to generate cucumber execution reports?
Define what is the language used for expressing scenario in feature file?
Explain test harness?
What is the starting point of execution for feature files?
What is bdd?
Explain the term step definition in cucumber
Define what is cucumber dry run?
Explain define what is test harness?