Feature:player
@all
Scenario Outline:Where is the player
Given I navigate to Google
When I enter < player> in the search field
Then the text < keyword1> should be present
@current @football
Examples:
| player | keyword1 |
| Rooney | Manchester |
| Gerrard | Liverpool |
| Terry | Chelsea |
@old @football
Examples:
| player | keyword1 |
| Eric Cantona | Manchester |
如果我写 Cantona 而不是 Eric Cantona,那么它可以工作,但是一旦你运行程序并在字符串中插入空格,它就会出错。