Login Functionality - BDD
~30 mins
1. Feature: Login functionality for LeafTaps
F01_Login.feature
Background:
- #Given Open the chrome browser
- #And Load the application url
@regression
Scenario Outline: TC001_Login with positive credential
-
Given Enter the username as
-
And Enter the password as
-
When Click on Login button
-
Then Homepage should be displayed
-
Examples:
| username | password |
|---|---|
| Demosalesmanager | crmsfa |
| DemoCsr | crmsfa |
@smoke
Scenario: TC002_Login with negative credential
- Given Enter the username as 'DemoSalesManager'
- And Enter the password as 'crmsfa123'
- When Click on Login button
- But Error message should be displayed