private ApplicationManager()
        {
            driver = new FirefoxDriver();
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(1);
            baseURL = "http://localhost";

            Auth    = new LoginHelper(this);
            Menu    = new ManagementMenuHelper(this);
            Project = new ProjectManagementHelper(this);
        }
        private ApplicationManager()
        {
            driver  = new ChromeDriver();
            baseURL = "http://localhost/mantisbt-2.12.0";

            LoginH        = new LoginHelper(this);
            ManagManuH    = new ManagementMenuHelper(this);
            ProjectManagH = new ProjectManagementHelper(this);
            NavigatorH    = new NavigationHelper(this, baseURL);
            ApiH          = new APIHelper(this);
        }
示例#3
0
        private ApplicationManager()
        {
            driver = new FirefoxDriver();
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(1);
            baseUrl = "http://localhost/mantisbt-2.25.2";


            loginHelper          = new LoginHelper(this, baseUrl);
            projectManagerHelper = new ProjectManagementHelper(this);
            managementMenuHelper = new ManagementMenuHelper(this, baseUrl);
            apiHelper            = new APIHelper(this);
        }