【发布时间】:2021-03-26 22:09:41
【问题描述】:
这是我的例子:
@smoke()
Scenario: User Login Invalid scenario
Given User is at the login page of the application
When User login with the following username and password with data in excel at
"src/test/resources/excel/user1.xlsx"
我想要做的是我想将我的路径作为钩子参数传递。这可能吗?
@smoke("src/test/resources/excel/user1.xlsx")
Scenario: User Login Invalid scenario
Given User is at the login page of the application
When User login with the following username and password with data in excel at
如果没有,有没有办法导入数据和before hook?
【问题讨论】:
标签: selenium cucumber hook gherkin