当我cucumber使用场景大纲和编写功能文件进行测试时,我目前在示例表中有 25 个参数,我正在按照我在这里看到的方式呈现它们:
Scenario Outline: Create ABC
Given I open the application
When I enter username as "<username>"
And I enter password as "<password>"
Then I enter title as "<title>"
And press submit
Examples:
| username | password | title |
| Rob | xyz1 | title1 |
| Bob | xyz1 | title2 |
正如我所说,只有我有 25 个论点。是否有可能将整个示例表传输为datatable,而不是步骤文件中的 25 个参数?
UYOU
郎朗坤
相关分类