private ApplicationManager() { driver = new FirefoxDriver(); baseURL = "http://localhost/addressbook"; loginHelper = new LoginHelper(this); navigator = new NavigationHelper(this, baseURL); groupHelper = new GroupHelper(this); contactHelper = new ContactHelper(this); }
private ApplicationManager() { driver = new FirefoxDriver(); baseURL = "http://localhost/addressbook"; driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(2); loginHelper = new LoginHelper(driver); navigationHelper = new NavigationHelper(driver, baseURL); groupHelper = new GroupHelper(driver); contactHelper = new ContactHelper(driver); }
public ApplicationManager() { driver = new FirefoxDriver(new FirefoxBinary("C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe"), new FirefoxProfile()); baseURL = "http://localhost/"; defHelper = new DefaultActionsHelper(driver); loginHelper = new LoginHelper(driver, baseURL); logoutHelper = new LogoutHelper(driver, defHelper); navHelper = new NavigationHelper(driver, baseURL, defHelper); contactHelper = new ContactHelper(driver); groupHelper = new GroupHelper(driver); }
private ApplicationManager() { driver = new FirefoxDriver(); //FirefoxOptions options = new FirefoxOptions(); baseURL = "http://localhost"; //options.UseLegacyImplementation = true; //options.BrowserExecutableLocation = @"I:\Program Files (x86)\Mozilla Firefox\firefox.exe"; loginHelper = new LoginHelper(this); navigationHelper = new NavigationHelper(this, baseURL); groupHelper = new GroupHelper(this); contactHelper = new ContactHelper(this); }
public ApplicationManager() { FirefoxDriverFactory driverFactory = new FirefoxDriverFactory(); Driver = driverFactory.GetFirefoxDriver(); AccountFactory = new AccountFactory(); Environment = new TestingEnvironment(); HelperBase = new HelperBase(this); LoginHelper = new LoginHelper(this); NavigationHelper = new NavigationHelper(this, Environment); GroupHelper = new GroupHelper(this); ContactHelper = new ContactHelper(this); }
private ApplicationManager() { ChromeOptions options = new ChromeOptions(); ////options.AddArguments("start-fullscreen"); driver = new ChromeDriver(options); Console.WriteLine(((IHasCapabilities)driver).Capabilities); ////driver = new InternetExplorerDriver(); wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10)); driver.Manage().Cookies.DeleteAllCookies(); baseURL = "http://localhost"; loginHelper = new LoginHelper(this); navigator = new NavigateHelper(this, baseURL); groupHelper = new GroupHelper(this); contactHelper = new ContactHelper(this); alerter = new AlertHelper(this); }