Forum Discussion

TestQA1's avatar
TestQA1
Frequent Contributor
2 years ago

Duplicate gherkin statements

Hi All,   In my BDD tests, I need perform same actions in different place, the problem is that each scenario should only have Given before When and Then.   For example. Given close the file Now...
  • rraghvani's avatar
    2 years ago

    This is not a great example, but gives you a rough idea of what you can do without duplicating BDD statements