private ApplicationManager()
        {
            driver  = new FirefoxDriver();
            baseURL = "http://localhost";

            loginHelper   = new LoginHelper(this);
            navigator     = new NavigationHelper(this, baseURL);
            groupsHelper  = new GroupsHelper(this);
            logoutHelper  = new LogoutHelper(this);
            contactHelper = new ContactHelper(this);
        }
Exemple #2
0
        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);
        }