📜  黄瓜中的数据表 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:49.086000             🧑  作者: Mango

代码示例1
Cucumber allows us to pass multiple data under one step.
We can accept that data and store it under many different 
categories such as, list, map...
syntax: Given something is happening user should see all of the following
        |apple| |orange||kiwi|        
Whatever data we pass on the feature file 
will always come from feature files as EXPECTED DATA
It can be some list of links that we are trying to verify
It can be some options from a dropdown that we are trying to verify
it can be any set of data that we are trying to verify from the browser.
We pass the expected data in feature file. 
Then we get the actual data from browser and we compare