public void Initialize() { // Configure the Test runner for the scenario var options = GenerateOptions(); this.testRunner = new TestRunner(options); this.scenarioContext.Add("Runner", testRunner); }
public AddItemsToCart(ScenarioContext injectedContext) { this.testRunner = injectedContext.Get <TestRunner>("Runner"); }