Ejemplo n.º 1
0
        private ApplicationManager()
        {
            driver  = new FirefoxDriver();
            baseURL = "http://localhost:8080/addressbook/";

            loginHelper   = new LoginHelper(this);
            navigator     = new NavigateHelper(this, baseURL);
            groupHelper   = new GroupHelper(this);
            contactHelper = new ContactHelper(this);
        }
Ejemplo n.º 2
0
        private ApplicationManager()
        {
            driver = new ChromeDriver();
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(6);
            baseURL = "http://localhost/addressbook";

            loginHelper   = new LoginHelper(this);
            navigator     = new NavigationHelper(this, baseURL);
            groupHelper   = new GroupHelper(this);
            contactHelper = new ContactHelper(this);
        }
Ejemplo n.º 3
0
        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";
            contacts    = new ContactsHelper(this);
            navigator   = new NavigationHelper(this, baseURL);
            loginHelper = new LoginHelper(this);
            groupHelper = new GroupHelper(this);
        }