Exemplo n.º 1
0
        public void ThisTestInitialize()
        {
            this.mainPage = new MainPage(this.Browser);
            this.mainPage.Navigate().ClickLogin();

            this.loginPage = new LoginPage(this.Browser);
            this.loginPage.LoginUser(TelerikUser.Admin);

            this.mainPage.ClickAdminNavigationDropdown();

            this.dashboardPage = new AdminDashboardPage(this.Browser);
            this.dashboardPage.ClickCommentsButton();

            this.commentsPage = new CommentsPage(this.Browser);
        }
        public void ThisTestInitialize()
        {
            this.mainPage = new MainPage(this.Browser);
            this.mainPage.Navigate().ClickLogin();

            this.loginPage = new LoginPage(this.Browser);
            this.loginPage.LoginUser(TelerikUser.Admin);

            this.mainPage.ClickAdminNavigationDropdown();

            this.dashboardPage = new AdminDashboardPage(this.Browser);
            this.dashboardPage.ClickWorkEducationStatusesButton();

            this.workEducationStatusesPage = new WorkEducationStatusesPage(this.Browser);
        }
Exemplo n.º 3
0
        public void ThisTestInitialize()
        {
            this.mainPage = new MainPage(this.Browser);
            this.loginPage = new LoginPage(this.Browser);
            this.dashboardPage = new AdminDashboardPage(this.Browser);
            this.rolesPage = new RolesPage(this.Browser);

            this.mainPage.NavigateTo(this.loginPage.Url);
            this.loginPage.LoginUser(TelerikUser.Admin);
            this.mainPage.NavigateTo(this.rolesPage.Url);
        }
        public void ThisTestInitialize()
        {
            this.mainPage = new MainPage(this.Browser);
            this.generator = new RandomStringGenerator();

            this.loginPage = new LoginPage(this.Browser);
            this.dashboardPage = new AdminDashboardPage(this.Browser);
            this.uniPage = new UniversitiesPage(this.Browser);

            this.mainPage.NavigateTo(this.loginPage.Url);
            this.loginPage.LoginUser(TelerikUser.Admin);
            this.mainPage.NavigateTo(this.uniPage.Url);
        }