Example #1
0
 private ApplicationManager()
 {
     Start();
     baseURL      = "http://localhost:8080/mantisbt-2.16.0";
     Registration = new RegistrationHelper(this);
     FtpHelper    = new FtpHelper(this);
     Auth         = new LoginHelper(this);
     Navigator    = new ManagmentMenuHelper(this);
     Projects     = new ProjectManagementHelper(this);
     API          = new APIHelper(this);
 }
 private ApplicationManager()
 {
     driver       = new FirefoxDriver(new FirefoxBinary("C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe"), new FirefoxProfile());
     baseURL      = "http://localhost/mantisbt-2.4.1";
     Registration = new RegistrationHelper(this);
     Ftp          = new FtpHelper(this);
     James        = new JamesHelper(this);
     Mail         = new MailHelper(this);
     Login        = new LoginHelper(this);
     Menu         = new ManagmentMenuHelper(this);
     Project      = new ProjectHelper(this);
     Admin        = new AdminHelper(this, baseURL);
     API          = new APIHelper(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/mantisbt-2.16.0";
            Registration  = new RegistrationHelper(this);
            Ftp           = new FtpHelper(this);
            loginHelper   = new LoginHelper(this);
            projectHelper = new ProjectHelper(this);
            menu          = new ManagmentMenuHelper(this, baseURL);
            Admin         = new AdminHelper(this, baseURL);
            API           = new APIHelper(this);
        }