标签:str name rect pre color cuc pass red and
1 @login
2 Feature: Login
3 @T1
4 Scenario: Login with correct credentail
5 Given I open login page
6 When I enter correct "username" and "password"
7 When I click login
8 Then I go to home page
9
10
11
12 @T2
13 Scenario Outline: Login with invalid credentail
14 Given I open login page
15 When I enter correct "<username>" and "<password>"
16 When I click login
17 Then I see "<errorMessage>"
18 Examples:
19 |username|password|errorMessage|
20 | | |用户名不能为空|
要想参数匹配的书写格式,颜色自动变
标签:str name rect pre color cuc pass red and
原文地址:https://www.cnblogs.com/wysk/p/9506905.html