Cucumber | Selenium Training|Java|WebDriver|TestNG|Frameworks|Videos
15% Colorful Festival Offer Avail now

Selenium Training Forum


Madhur Nagpal Post on 14/03/2019

I have multiple Feature files. Every feature files have say 5 scenarios. If I use @Before tag, it runs after each and every Scenario.

I have searched the whole internet. I am looking for a tag or workaround where in we can write a code which runs JUST ONCE before/after all the scenarios of a Feature file.

Can any one help