在以下功能文件中,我的要求是doc_id
每三个字段放置一个。为了澄清,我想检查ProductName
,manufacturerName
并且RevisionDate
对于每个doc_id
. 我想出了以下方法,但我认为这绝对不是首选方法。谁能给我一个更好的方法。
Background:
Given I am in landigpage page after login
Scenario Outline: valid
When I enter "<doc_id>"
And I click the search go button
Then I should get in vault search page
And Search result of "<field>" should match with database
Examples:
| doc_id | field |
| 15 | ProductName |
| 15 | ManufacturerName |
| 15 | RevisionDate |
Examples:
| doc_id | field |
| 16 | ProductName |
| 16 | ManufacturerName |
| 16 | RevisionDate |