private ApplicationManager() { Init2(); loginHelper = new LoginHelper(this); navigation = new NavigationHelper(this, baseURL); groupHelper = new GroupHelper(this); contactHelper = new ContactHelper(this); }
private ApplicationManager() { Driver = new FirefoxDriver(); BaseUrl = "http://localhost/addressbook"; LoginHelper = new LoginHelper(this); NavigationHelper = new NavigationHelper(this, BaseUrl); GroupHelper = new GroupHelper(this); ContactsHelper = new ContactsHelper(this); }
private ApplicationManager() { driver = new FirefoxDriver(); baseURL = "http://localhost/"; loginHelper = new LoginHelper(this); navigationHelper = new NavigationHelper(this, baseURL); groupHelper = new GroupHelper(this); contactHelper = new ContactHelper(this); }
private ApplicationManager() { driver = new FirefoxDriver(new FirefoxBinary("C:\\Program Files\\Mozilla Firefox\\firefox.exe"), new FirefoxProfile()); baseURL = "http://localhost/"; loginHelper = new LoginHelper(this); navigateHelper = new NavigationHelper(this, baseURL); groupHelper = new GroupHelper(this); contactHelper = new ContactHelper(this); }
private static ThreadLocal <ApplicationManager> app = new ThreadLocal <ApplicationManager>(); // спец.объект между потоком и объектом ApplicationManager private ApplicationManager() { driver = new ChromeDriver(); baseURL = "http://127.0.0.1"; loginHelper = new LoginHelper(this); // конструктор хелпера логин navigationHelper = new NavigationHelper(this, baseURL); // конструтор хелпера навигации groupHelper = new GroupHelper(this); // конструктор хелпера групп contactHelper = new ContactHelper(this); // конструктор хелпера контактов }
private AppManager() { driver = new ChromeDriver(); loginHelper = new LoginHelper(this); navigationHelper = new NavigationHelper(this); groupHelper = new GroupHelper(this); contactHelper = new ContactHelper(this); groupBuilder = new GroupBuilder(this); contactBuilder = new ContactBuilder(this); }
private ApplicationManager() { driver = new FirefoxDriver(); baseURL = "http://localhost/addressbook/"; loginHelper = new LoginHelper(this); navigator = new NavigationHelper(this, baseURL); group = new GroupHelper(this); person = new PersonHelper(this); }
private ApplicationManager() { driver = new FirefoxDriver(); driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(3); baseURL = "http://localhost"; loginLogoutHelper = new LoginLogoutHelper(this); navigationHelper = new NavigationHelper(this, baseURL); groupHelper = new GroupHelper(this); contactHelper = new ContactHelper(this); }
private ApplicationManager() { Driver = Firefox(); Wait = new WebDriverWait(Driver, TimeSpan.FromSeconds(10)); baseURL = "http://localhost"; LoginHelper = new LoginHelper(this); GroupHelper = new GroupHelper(this); NavigationHelper = new NavigationHelper(this); ContactHelper = new ContactHelper(this); }
private ApplicationManager() { driver = new FirefoxDriver(); baseURL = "http://localhost"; verificationErrors = new StringBuilder(); loginHelper = new LoginHelper(this); navigator = new NavigationHelper(this, baseURL); groupHelper = new GroupHelper(this); contactHelper = new ContactHelper(this); }
private ApplicationManager() { FirefoxOptions options = new FirefoxOptions(); options.BrowserExecutableLocation = @"c:\Program Files\Mozilla Firefox\firefox.exe"; options.UseLegacyImplementation = true; driver = new FirefoxDriver(options); baseURL = "http://localhost/"; loginHelper = new LoginHelper(this); groupHelper = new GroupHelper(this); contactHelper = new ContactHelper(this); naviHelper = new NavigationHelper(this, baseURL); }
private AppManager() { var firefoxOptions = new FirefoxOptions { UseLegacyImplementation = true, BrowserExecutableLocation = @"C:\Program Files\Mozilla Firefox\firefox.exe" }; driver = new FirefoxDriver(firefoxOptions); baseURL = "http://localhost/"; LoginHelper = new LoginHelper(driver); ContactHelper = new ContactHelper(driver); NavigationHelper = new NavigationHelper(driver, baseURL); GroupHelper = new GroupHelper(driver); }