Tutorial_6_BackgroundKeyword.docx
Tutorial_6_BackgroundKeyword.docx
So the property of ‘Background’ keyword is that, when you run it, it will be executed
before each and every scenario. So in this case, it would be executed 3 times since we
have 3 scenarios.
So save the feature file and run it
Copy the code snippets from the console window, see below
Create a step definition file and paste it. Import the missing classes
Delete all the throw exceptions