// объект который будет устанавливать соответствие между текущим потоком и объектом типа ApplicationManager

        private ApplicationManager()
        {
            driver       = new FirefoxDriver();
            baseURL      = "http://localhost/mantisbt-2.25.0";
            Registration = new RegistrationHelper(this); //Инициализируем
            Ftp          = new FtpHelper(this);
            Admin        = new AdminHelper(this, baseURL);
            API          = new APIHelper(this);
        }
 private ApplicationManager()
 {
     driver       = new FirefoxDriver();
     baseURL      = "http://localhost/mantisbt-1.2.17";
     Registration = new RegistrationHelper(this);
     Ftp          = new FtpHelper(this);
     James        = new JamesHelper(this);
     Mail         = new MailHelper(this);
     Admin        = new AdminHelper(this, baseURL);
     API          = new APIHelper(this);
 }
Exemple #3
0
 private ApplicationManager()
 {
     driver       = new FirefoxDriver();
     baseURL      = "http://localhost/mantisbt-2.22.1";
     Registration = new RegistrationHelper(this);
     Ftp          = new FtpHelper(this);
     Project      = new ProjectHelper(this);
     LoginHelper  = new LoginHelper(this);
     MenuHelper   = new ManagementMenuHelper(this, baseURL);
     Admin        = new AdminHelper(this, baseURL);
     API          = new APIHelper(this);
 }
 private ApplicationManager()
 {
     driver                  = new ChromeDriver();
     baseURL                 = "http://localhost/mantisbt-2.24.4/mantisbt-2.24.4";
     Registration            = new RegistrationHelper(this);
     Ftp                     = new FtpHelper(this);
     loginHelper             = new LoginHelper(this);
     managementMenuHelper    = new ManagementMenuHelper(this);
     projectManagementHelper = new ProjectManagementHelper(this);
     Admin                   = new AdminHelper(this, baseURL);
     API                     = new APIHelper(this);
 }
Exemple #5
0
 private ApplicationManager()
 {
     driver = new FirefoxDriver();
     driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(6);
     baseURL      = "http://localhost/mantisbt-2.25.0";
     Registration = new RegistrationHelper(this);
     FtpHelper    = new FtpHelper(this);
     James        = new JamesHelper(this);
     Mail         = new MailHelper(this);
     Admin        = new AdminHelper(this, baseURL);
     API          = new APIHelper(this);
 }
Exemple #6
0
 private ApplicationManager()
 {
     driver       = new ChromeDriver();
     baseURL      = "http://localhost/mantisbt-2.21.1/mantisbt-2.21.1";
     Registration = new RegistrationHelper(this);
     Ftp          = new FtpHelper(this);
     James        = new JamesHelper(this);
     Mail         = new MailHelper(this);
     Project      = new ProjectManagmentHelper(this);
     Admin        = new AdminHelper(this, baseURL);
     Auth         = new LoginHelper(this);
     API          = new APIHelper(this);
 }
Exemple #7
0
        private ApplicationManager()
        {
            driver  = new SimpleBrowserDriver();
            baseURL = "http://localhost/mantisbt-2.25.1";

            Registration = new RegistrationHelper(this);
            Ftp          = new FtpHelper(this);
            Login        = new LoginHelper(this);
            Navigation   = new NavigationHelper(this, baseURL);
            Project      = new ProjectManagementHelper(this);
            Admin        = new AdminHelper(this, baseURL);
            API          = new APIHelper(this);
        }
Exemple #8
0
 private AppManager()
 {
     driver       = new ChromeDriver(@"C:\Windows\SysWOW64");
     baseURL      = "http://localhost:8080/mantisbt-2.21.1/";
     Registration = new RegistrationHelper(this);
     Ftp          = new FtpHelper(this);
     James        = new JamesHepler(this);
     Mail         = new MailHelper(this);
     Auth         = new AuthHelper(this);
     Nav          = new NavHelper(this, baseURL);
     Project      = new ProjectHelper(this, baseURL);
     Admin        = new AdminHelper(this, baseURL);
     Api          = new APIHelper(this);
 }
Exemple #9
0
 private ApplicationManager()
 {
     driver                  = new FirefoxDriver();
     baseURL                 = "http://localhost:8080/mantisbt-2.20.0";
     Registration            = new RegistrationHelper(this);
     Ftp                     = new FtpHelper(this);
     James                   = new JamesHelper(this);
     Mail                    = new MailHelper(this);
     loginHelper             = new LoginHelper(this);
     managementMenuHelper    = new ManagementMenuHelper(this, baseURL);
     projectManagementHelper = new ProjectManagementHelper(this);
     Admin                   = new AdminHelper(this, baseURL);
     API                     = new APIHelper(this);
 }
Exemple #10
0
 private ApplicationManager()
 {
     driver         = new FirefoxDriver();
     baseURL        = "http://localhost/mantisbt-2.22.1";
     Registration   = new RegistrationHelper(this);
     FTP            = new FTPHelper(this);
     James          = new JamesHelper(this);
     Mail           = new MailHelper(this);
     Auth           = new LoginHelper(this);
     ManagementMenu = new ManagementMenuHelper(this, baseURL);
     Project        = new ProjectManagementHelper(this);
     Admin          = new AdminHelper(this, baseURL);
     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()
 {
     driver             = new FirefoxDriver();
     baseUrl            = "http://localhost/mantisbt-2.18.0";
     verificationErrors = new StringBuilder();
     Registration       = new RegistrationHelper(this);
     FTP              = new FTPHelper(this);
     James            = new JamesHelper(this);
     Mail             = new MailHelper(this);
     navigationHelper = new NavigationHelper(this);
     loginHelper      = new LoginHelper(this);
     projectHelper    = new ProjectHelper(this);
     adminHelper      = new AdminHelper(this, baseUrl);
 }
Exemple #13
0
        private ApplicationManager()
        {
            driver  = new FirefoxDriver();
            baseURL = "http://localhost/mantisbt-1.2.17";
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromMilliseconds(100);
            Registration = new RegistrationHelper(this);
            Ftp          = new FtpHelper(this);
            James        = new JamesHelper(this);
            Mail         = new MailHelper(this);
            Project      = new ProjectHelper(this);
            Admin        = new AdminHelper(this, baseURL);

            Admin = new AdminHelper(this, baseURL);
        }
 private ApplicationManager()
 {
     driver       = new ChromeDriver(@"C:\Users\MI\Downloads");
     baseURL      = "http://localhost/mantisbt-2.23.0";
     Registration = new RegistrationHelper(this);
     Ftp          = new FtpHelper(this);
     James        = new JamesHelper(this);
     Mail         = new MailHelper(this);
     Admin        = new AdminHelper(this, baseURL);
     Login        = new LoginHelper(this);
     ManageMenu   = new ManagementMenuHelper(this);
     Project      = new ProjectManagementHelper(this);
     API          = new APIHelper(this);
 }
        private static ThreadLocal <ApplicationManager> app = new ThreadLocal <ApplicationManager>(); //специальный объект, который будет утсанавливать соответствие между текущим потоком и типом ApplicationManager


        private ApplicationManager()//конструктор
        {
            driver = new FirefoxDriver();
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(5);
            baseURL      = "http://localhost:8080/mantisbt-2.19.0";
            Registration = new RegistrationHelper(this);
            Ftp          = new FtpHelper(this);
            James        = new JamesHelper(this);
            Mail         = new MailHelper(this);
            Admin        = new AdminHelper(this, baseURL);
            Login        = new LoginHelper(this);
            Project      = new ProjectHelper(this);
            Navigate     = new NavigationHelper(this, baseURL);
            API          = new APIHelper(this);
        }
Exemple #16
0
        private ApplicationManager()
        {
            driver  = new FirefoxDriver();
            baseURL = "http://localhost/mantisbt-2.18.0/";

            navigationHelper        = new NavigationHelper(this);
            registrationHelper      = new RegistrationHelper(this);
            ftpHelper               = new FtpHelper(this);
            jamesHelper             = new JamesHelper(this);
            mailHelper              = new MailHelper(this);
            loginHelper             = new LoginHelper(this);
            projectManagementHelper = new ProjectManagementHelper(this);
            adminHelper             = new AdminHelper(this, baseURL);
            aPIHelper               = new APIHelper(this);
        }
Exemple #17
0
        private ApplicationManager()
        {
            driver  = new ChromeDriver();
            baseURL = "http://localhost/mantisbt-1.2.17";

            registrationHelper = new RegistrationHelper(this);
            Ftp           = new FtpHelper(this);
            James         = new JamesHeper(this);
            Mail          = new MailHelper(this);
            projectHelper = new ProjectHelper(this);
            navigator     = new MantisNavigatorHelper(this, baseURL);
            loginHelper   = new LoginHelper(this);
            Admin         = new AdminHelper(this, baseURL);
            API           = new APIHelper(this);
        }
Exemple #18
0
 private AppManager()
 {
     driver = new ChromeDriver();
     driver.Manage().Window.Maximize();
     //driver = new FirefoxDriver(new FirefoxBinary(@"c:\Program Files (x86)\Mozilla Firefox\firefox.exe"), new FirefoxProfile());
     baseURL = "http://localhost:8889/";
     //Registration = new RegistrationHelper(this);
     //Ftp = new FtpHelper(this);
     //James = new JamesHelper(this);
     Login    = new LoginHelper(this);
     Navigate = new NavigationHelper(this, baseURL);
     Project  = new ProjectHelper(this);
     Admin    = new AdminHelper(this, baseURL);
     API      = new APIHelper(this);
     //Mail = new MailHelper(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.12.0/";
            Registration = new RegistrationHelper(this);
            Ftp          = new FtpHelper(this);
            Auth         = new LoginHelper(this);
            Navigator    = new NavigationHelper(this, baseURL);
            Project      = new ProjectHelper(this);
            Admin        = new AdminHelper(this, baseURL);
            API          = new APIHelper(this);
        }
        private ApplicationManager()
        {
            driver = new FirefoxDriver();
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(3);
            baseURL      = "http://localhost/mantisbt-2.24.4";
            Registration = new RegistrationHelper(this);
            Ftp          = new FtpHelper(this);
            James        = new JamesHelper(this);
            Mail         = new MailHelper(this);
            Admin        = new AdminHelper(this, baseURL);
            API          = new APIHelper(this);

            loginHelper             = new LoginHelper(this);
            projectManagementHelper = new ProjectManagementHelper(this);
            managementMenuHelper    = new ManagementMenuHelper(this, baseURL);
        }
Exemple #21
0
        private ApplicationManager()
        {
            driver       = new FirefoxDriver();
            baseURL      = "http://localhost/mantisbt-2.19.0";
            Registration = new RegistrationHelper(this);
            Ftp          = new FtpHelper(this);
            James        = new JamesHelper(this);
            Mail         = new MailHelper(this);

            Admin = new AdminHelper(this, baseURL);

            API = new APIHelper(this);

            Login       = new LoginHelper(this);
            Navigation  = new UrlNavigationHelper(this);
            ProjManager = new ProjectManagementHelper(this);
        }
Exemple #22
0
        private ApplicationManager()
        {
            driver       = new FirefoxDriver();
            baseURL      = "http://*****:*****@"c:\Program Files\Mozilla Firefox\firefox.exe";
            options.UseLegacyImplementation   = true;
            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);
        }
        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.15.0/";
            RegistHelper = new RegistrationHelper(this);
            Ftp          = new FtpHelper(this);
            Logon        = new LoginHelper(this);
            Project      = new ProjectHelper(this, baseURL);
            James        = new JamesHelper(this);
            Admin        = new AdminHelper(this, baseURL);
            Api          = new APIHelper(this);

            verificationErrors = new StringBuilder();
        }
Exemple #24
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/mantisbt-2.8.0";
            Registration   = new RegistrationHelper(this);
            Ftp            = new FtpHelper(this);
            James          = new JamesHelper(this);
            Mail           = new MailHelper(this);
            Project        = new ProjectHelper(this);
            Login          = new LoginHelper(this);
            ManagementMenu = new ManagementMenuHelper(this, baseURL);
            Admin          = new AdminHelper(this, baseURL);
            API            = new APIHelper(this);
        }
        private ApplicationManager()
        {
            driver = new FirefoxDriver();
            // объект нужен для того что
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(1);
            baseURL      = "http://192.168.238.13/mantisbt-2.23.0";
            Registration = new RegistrationHelper(this, baseURL);

            ManagementMenu = new ManagementMenuHelper(this, baseURL);
            Projects       = new ProjectManagementHelper(this);
            Auth           = new LoginHelper(this, baseURL);


            Ftp   = new FtpHelper(this);
            James = new JamesHelper(this);
            Mail  = new MailHelper(this);
            Admin = new AdminHelper(this, baseURL);
            API   = new ApiHelper(this);
        }