public static void AfterScenario(ITestOutcomeEvent e) { var specflowContext = SpecflowContextWrapper.Create(); var scenario = ScenarioService.GetScenario(e, specflowContext); FeatureService.RegisterScenario(scenario, specflowContext); }