예제 #1
0
        public Dashboard()
        {
            page_url = "https://smartuni.azurewebsites.net/";
            driver   = new DriverFactory().Create();
            driver.Navigate().GoToUrl(page_url);
            driver.Navigate().Refresh();

            headerBar   = new Headerbar(driver);
            sidebar     = new Sidebar(driver);
            pageContent = driver.FindElement(By.ClassName("page-content"));
        }
예제 #2
0
        public Tutors_Create()
        {
            base_url = "https://smartuni.azurewebsites.net/";
            path     = "Tutors/Create";
            driver   = new DriverFactory().Create();
            driver.Navigate().GoToUrl(base_url + path);
            driver.Navigate().Refresh();

            headerBar   = new Headerbar(driver);
            sidebar     = new Sidebar(driver);
            pageContent = driver.FindElement(By.ClassName("page-content"));
        }