Exemple #1
0
 private ApplicationManager()
 {
     driver       = new FirefoxDriver(new FirefoxBinary("C:\\Program Files\\Mozilla FirefoxESR\\firefox.exe"), new FirefoxProfile());
     baseURL      = "http://localhost:9080/";
     Registration = new RegistrationHelper(this);
     Ftp          = new FtpHelper(this);
     James        = new JamesHelper(this);
     Mail         = new MailHelper(this);
 }
 private ApplicationManager()
 {
     driver       = new FirefoxDriver(new FirefoxBinary("D:\\Programms\\firefox-45.7.0esr.win64.sdk\\bin\\firefox.exe"), new FirefoxProfile());
     baseURL      = "http://localhost";
     Registration = new RegistrationHelper(this);
     Ftp          = new FtpHelper(this);
     James        = new JamesHelper(this);
     Mail         = new MailHelper(this);
 }
 private ApplicationManager()
 {
     driver       = new ChromeDriver();
     baseURL      = "http://localhost";
     Registration = new RegistrationHelper(this);
     Ftp          = new FtpHelper(this);
     James        = new JamesHelper(this);
     Mail         = new MailHelper(this);
 }
 private ApplicationManager()
 {
     driver  = new FirefoxDriver();
     baseURL = "http://localhost";
     driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(3);
     Registration = new RegistrationHelper(this);
     James        = new JamesHelper(this);
     Mail         = new MailHelper(this);
     Ftp          = new FtpHelper(this);
 }
 private ApplicationManager()
 {
     // driver = new FirefoxDriver();
     driver = new ChromeDriver();
     // baseURL = "http://localhost";
     baseURL      = "http://localhost/mantisbt-1.2.17";
     Registration = new RegistrationHelper(this);
     Ftp          = new FtpHelper(this);
     James        = new JamesHelper(this);
     Mail         = new MailHelper(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 #7
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 #8
0
 private ApplicationManager()
 {
     driver       = new FirefoxDriver();
     Registration = new RegistrationHelper(this);
     Ftp          = new FtpHelper(this);
     James        = new JamesHelper(this);
     Mail         = new MailHelper(this);
     Auth         = new LoginHelper(this);
     Navigator    = new ManagementMenuHelper(this, baseUrl);
     Projects     = new ProjectManagementHelper(this);
     API          = new APIHelper(this);
 }
Exemple #9
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 #10
0
 private ApplicationManager()
 {
     driver        = new FirefoxDriver();
     baseURL       = "http://localhost/mantisbt-2.22.1/login_page.php";
     Registration  = new RegistrationHelper(this);
     Ftp           = new FtpHelper(this);
     James         = new JamesHelper(this);
     Mail          = new MailHelper(this);
     projectHelper = new ProjectManagementHelper(this);
     menuHelper    = new ManagementMenuHelper(this, baseURL);
     loginHelper   = new LoginHelper(this);
     API           = new APIHelper(this);
 }
 private ApplicationManager()
 {
     driver         = new FirefoxDriver();
     baseURL        = "http://localhost/mantisbt-2.22.0";
     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 ProjectHelper(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 #14
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 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);
            ManagementMenu = new ManagementMenuHelper(this, baseURL);
        }
        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);
            Auth         = new LoginHelper(this);
            Navigator    = new NavigatorHelper(this, baseURL);
            Project      = new ProjectHelper(this);

            API = new APIHelper(this);
        }
Exemple #18
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);
        }
        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);
        }
        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);
        }
        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";

            Registration = new RegistrationHelper(this);
            Ftp          = new FtpHelper(this);
            James        = new JamesHelper(this);
            Mail         = new MailHelper(this);
            Auth         = new LoginHelper(this);
            Menu         = new ManagementMenuHelper(this);
            Project      = new ProjectManagementHelper(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 #23
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.12.0";

            authHelper       = new AuthHelper(this);
            navigationHelper = new NavigationHelper(this);
            projectHelper    = new ProjectHelper(this);
            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);
        }
        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);
        }