-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathSample5.feature
More file actions
33 lines (28 loc) · 962 Bytes
/
Copy pathSample5.feature
File metadata and controls
33 lines (28 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@regression @part4
Feature: Introduction to cucumber part 4
As a test engineer
I want to be able to write and execute a scenario with steps that have 2 column tables
Background:
Given I am on age page
Scenario: a new scenario with 2-column table
When I enter values:
| name | Ann |
| age | 5 |
And I click submit age
Then I see message: "Hello, Ann, you are a kid"
Scenario: another new scenario with 2-column table
When I enter values:
| name | Bob |
| age | 61 |
And I click submit age
Then I see message: "Hello, Bob, you are an adult"
Scenario Outline: a new scenario outline 2
When I enter values:
| name | <name> |
| age | <age> |
And I click submit age
Then I see message: "<message>"
Examples:
| name | age | message |
| Ann | 5 | Hello, Ann, you are a kid |
| Bob | 61 | Hello, Bob, you are an adult |