Esempio n. 1
0
 public ApplicationManager()
 {
     driver = new FirefoxDriver(@"C:\distr");
     driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(1);
     baseURL = Settings.BaseURL;
     // verificationErrors = new StringBuilder();
     group      = new GroupHelper(this);
     contact    = new ContactHelper(this);
     auth       = new LoginHelper(this);
     navigation = new NavigationHelper(this, baseURL);
     helper     = new HelperBase(this);
 }
Esempio n. 2
0
 private AppManager()
 {
     driver = new ChromeDriver();
     driver.Manage().Window.Maximize();
     baseURL            = Settings.BaseURL;
     login              = Settings.Login;
     password           = Settings.Password;
     verificationErrors = new StringBuilder();
     group              = new GroupHelper(this);
     contact            = new ContactHelper(this);
     auth       = new LoginHelper(this);
     navigation = new NavigationHelper(this, baseURL);
     settings   = new Settings();
 }