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
Provide an example of step definition file in cucumber?
Define what does a features/ support file contains?
Give an example of a behavior is driven test in plain text?
What is the meaning of testrunner class in cucumber?
What is the purpose of step definition file in cucumber?
What are the differences between jbehave and cucumber?
What does a cucumber features/ support file contain?
What symbol is used for parameterization in cucumber?
What is a step definition?
What is a feature file?
Define what is error handling and define how do you do error handling?
When is cucumber used in real time?
Should any code be written within testrunner class?
What is the use of features property under cucumber options tag?
What programming language is used by cucumber?