Maps in cucumber
• Using a nonScenario Outline
• Scenario: Create contact using a map
o Given I logged into suiteCRM
o When I create a new contact:
| first_name | John |
| last_name | Smith |
| cell_phone | 801 888 8889 |
o Then I should see contact information for "John Smith"
o Left side is key, and right is value 2 columns only
• Using a Scenario Outline
o Scenario Outline: Create contact using a map
o Given I logged into suiteCRM
o When I create a new contact:
| first_name | <first_name> |
| last_name | <lname> |
| cell_phone | <cell_phone> |
| office_phone |<office_phone> |
o Then I should see contact information for "<first_name> <lname>"
o Examples: | first_name | lname | cell_phone | office_phone |
| Michael | Jackson | 1234567890 | 2345678891 |
| Bonnie | Garcia | 4569871234 | 4567890987