Use of Scenario outline in passing the scenario name as example

社会主义新天地 提交于 2021-01-29 03:52:00

问题


Can I use scenario outline concept in scenario name in Specflow so that I pass the scenario name in Example. For example if I want to run my scenario in three browsers IE, FF and chrome, I'll pass three examples.

I have tried it in Cucumber and it works, can I do it with Specflow in VS ?

Like

Scenario outline : <Scenario name>
steps 1
step 2
Examples:
|Scenario name|
|scenario 1 |
|scenario 2 |
|scenario 3 |

can I implement that ?

来源:https://stackoverflow.com/questions/36917437/use-of-scenario-outline-in-passing-the-scenario-name-as-example

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!