public void SetUp(ChromeOptions option) { MessageConsoleCreator message = new MessageConsoleCreator(); message.TestWillRun(); _driver = new ChromeDriver(option); _driverCover = new DriverCover(_driver); _orderVerifications = new OrderVerifications(_driver); _commonActions = new TestFramework.CommonActions(_driver); _cartVerifications = new CartVerifications(_driver); }
public void SetUp() { MessageConsoleCreator message = new MessageConsoleCreator(); message.TestWillRun(); _driver = new ChromeDriver(CreateOptions(_device)); _driverCover = new DriverCover(_driver); _commonActions = new TestFramework.CommonActions(_driver); _cartVerifications = new CartVerifications(_driver); _sharedCode = new TestsSharedCode(_driver); _cartActions = new CartActions(_driver); }
/// <summary> /// Dispose WebDriver and pushes erros to console from OrderVerifications class /// </summary> public void CleanUp(ref IWebDriver driver) { MessageConsoleCreator message = new MessageConsoleCreator(); message.DriverDisposed(); driver.Dispose(); }
public void SetUp() { MessageConsoleCreator message = new MessageConsoleCreator(); message.TestWillRun(); _driver = new ChromeDriver(CreateOptions(_device)); _driverCover = new DriverCover(_driver); _usersVerifications = new WebUserVerifications(_driver); _sharedCode = new TestsSharedCode(_driver); }
public void SetUp(ChromeOptions option) { MessageConsoleCreator message = new MessageConsoleCreator(); message.TestWillRun(); _driver = new ChromeDriver(option); _driverCover = new DriverCover(_driver); _commonActions = new TestFramework.CommonActions(_driver); _sharedCode = new TestsSharedCode(_driver); }