tripti kumari


{ City } mountain house
< Country > usa
* Profession *
User No # 126219
Total Questions Posted # 0
Total Answers Posted # 2

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 0
Users Marked my Answers as Wrong # 0
Questions / { tripti kumari }
Questions Answers Category Views Company eMail




Answers / { tripti kumari }

Question { 506 }

What is the purpose of scenario outline in cucumber?


Answer

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 "" and ""
Then User should see the homepage

Examples:
| username | password |
| user1 | pass123 |
| user2 | pass456 |

Is This Answer Correct ?    0 Yes 0 No

Question { 451 }

What is the file extension for a feature file?


Answer

Scenario: Multiple test cases require the user to be logged in first.
Purpose: Background helps avoid repetition by running common steps before each scenario.

Is This Answer Correct ?    0 Yes 0 No