16 lines
535 B
Gherkin
16 lines
535 B
Gherkin
# Sample Cucumber test using the SWAGLABS site
|
|
|
|
Feature: Login
|
|
|
|
Scenario Outline: Login to SwagLabs Application with Correct credentials
|
|
Given User launched SwagLabs application
|
|
When User verify the Page title
|
|
When User logged in the app using username “<UserName>” and password “<Password>”
|
|
Then User verify the product name “<ProductName>”
|
|
Then User logout from the application
|
|
|
|
Examples:
|
|
| UserName | Password | ProductName |
|
|
| standard_user | secret_sauce | Sauce Labs Backpack |
|
|
|