CucumberJVM: 07 - DataDriven with Maps
Feature
Feature: Deal data creation
Scenario: Free CRM Create a new deal scenario
#Using a HashMap
Given user is already on Login Page
When title of login page is Free CRM
Then user enters username and password
| username | password |
| naveenk | test@123 |
Then user clicks on login button
Then user is on home page
Then user moves to new deal page
Then user enters contact details
#FORMAT = ctrl-shift-f
| title | amount | probability | commission |
| test deal1 | 1000 | 50 | 10 |
| test deal2 | 2000 | 60 | 20 |
| test deal3 | 3000 | 70 | 30 |
Then close the browser
Tags
