Does if else concept available in feature file (Gherkin language)?

后端 未结 4 1046
暖寄归人
暖寄归人 2021-01-18 21:32

Is there anyway where we can use if/else concept in feature file? For example:

  Scenario: User should be able to check login page
  Given I am on login pag         


        
4条回答
  •  旧巷少年郎
    2021-01-18 22:24

    You can use parameter in feature file and implement the If else in the Code based on the parameter passed.

提交回复
热议问题