public void DA_MP_TC025_Verify_that_page_listing_is_correct_when_edit_Display_After_field()
        {
            string pageName1 = "TC25" + Constant.TimeSystem;
            string pageName2 = "TC25" + Constant.TimeSystem + 1;

            generalPage = loginPage.LoginDashBoard(Constant.Respos_SampleRepository, Constant.UsernameAdmin, Constant.PasswordAdmin);

            //add page1
            newPage     = generalPage.GotoNewPage();
            generalPage = newPage.CreateNewPage(Constant.StatusPublic, pageName1, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue);
            //add page2
            newPage     = generalPage.GotoNewPage();
            generalPage = newPage.CreateNewPage(Constant.StatusPublic, pageName2, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue);

            EditPage editPage;

            editPage    = generalPage.GotoEditPage(pageName1);
            generalPage = editPage.EditAPage(Constant.DefaultValue, pageName1, Constant.DefaultValue, Constant.Overview, Constant.DefaultValue, Constant.DefaultValue);

            generalPage.VerifyPageDisplayedBesideAnotherPage(Constant.Overview, pageName1);

            //post-condition
            generalPage.DeletePage(pageName1);
            generalPage.DeletePage(pageName2);
            loginPage = generalPage.LogOut();
        }
Esempio n. 2
0
        public void DA_PANEL_TC042_Verify_that_all_pages_are_listed_correctly_under_the_Select_page_dropped_down_menu_of_Pane_Configuration_form()
        {
            string page1 = "TC421" + Constant.TimeSystem;
            string page2 = "TC422" + Constant.TimeSystem;
            string page3 = "TC423" + Constant.TimeSystem;

            generalPage = loginPage.LoginDashBoard(Constant.Respos_SampleRepository, Constant.UsernameAdmin, Constant.PasswordAdmin);

            //add page1
            newPage     = generalPage.GotoNewPage();
            generalPage = newPage.CreateNewPage(Constant.StatusPublic, page1, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue);

            //add page2
            newPage     = generalPage.GotoNewPage();
            generalPage = newPage.CreateNewPage(Constant.StatusPublic, page2, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue);

            //add page3
            newPage     = generalPage.GotoNewPage();
            generalPage = newPage.CreateNewPage(Constant.StatusPublic, page3, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue);

            choosePanelPage = generalPage.GotoChoosePanelPage();

            panelConfigurationPage = choosePanelPage.GotoConfigurationPage();

            panelConfigurationPage.VerifyCreatedPagePresent(page1, page2, page3);

            //post-condition: delete created pages and log out
            generalPage.DeletePage(page1);

            generalPage.DeletePage(page2);

            generalPage.DeletePage(page3);

            generalPage.LogOut();
        }
Esempio n. 3
0
        public void DA_PANEL_TC049_Verify_that_all_folder_paths_of_corresponding_item_type_are_correct_in_Select_Folder_form()
        {
            string           pageName        = "TC49" + Constant.TimeSystem;
            string           displayName     = "test" + Constant.TimeSystem;
            string           folderPath      = "Car Rental - Mobile/Actions/Car";
            NewPanelForPage  newPanelForPage = new NewPanelForPage();
            SelectFolderPage selectFolderPage;

            generalPage = loginPage.LoginDashBoard(Constant.Respos_SampleRepository, Constant.UsernameAdmin, Constant.PasswordAdmin);

            newPage     = generalPage.GotoNewPage();
            generalPage = newPage.CreateNewPage(Constant.StatusPublic, pageName, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue);

            choosePanelPage = generalPage.GotoChoosePanelPage();

            newPanelForPage = choosePanelPage.GotoNewPanelPage();

            panelConfigurationPage = newPanelForPage.GotoPanelConfigurationPageByAddNewPanel(displayName, Constant.Series);

            selectFolderPage = panelConfigurationPage.GotoSelectFolderPage();

            panelConfigurationPage = selectFolderPage.SelectFolder(folderPath);

            panelConfigurationPage.VerifySelectedFolder(folderPath);

            //post-condition: delete created page and log out
            generalPage.DeletePage(pageName);

            generalPage.LogOut();
        }
        public void DA_MP_TC012_Verify_that_user_can_add_additional_pages_besides_Overview_page_successfully()
        {
            string pageName = "TC12" + Constant.TimeSystem;

            generalPage = loginPage.LoginDashBoard(Constant.Respos_SampleRepository, Constant.UsernameAdmin, Constant.PasswordAdmin);

            newPage = generalPage.GotoNewPage();

            generalPage = newPage.CreateNewPage(Constant.DefaultValue, pageName, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue);

            generalPage.VerifyPageDisplayedBesideAnotherPage(Constant.Overview, pageName);

            //post-condition
            generalPage.DeletePage(pageName);
            generalPage.LogOut();
        }
        public void DA_MP_TC014_Verify_that_Public_pages_can_be_visible_and_accessed_by_all_users()
        {
            string pageName = "TC14" + Constant.TimeSystem;

            generalPage = loginPage.LoginDashBoard(Constant.Respos_SampleRepository, Constant.UsernameAdmin, Constant.PasswordAdmin);

            newPage     = generalPage.GotoNewPage();
            generalPage = newPage.CreateNewPage(Constant.StatusPublic, pageName, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue, Constant.DefaultValue);

            loginPage   = generalPage.LogOut();
            generalPage = loginPage.LoginDashBoard(Constant.Respos_SampleRepository, Constant.Username_thi, Constant.Password);

            generalPage.VerifyPageNameDisplay(pageName);

            //post-condition: Log in  as creator page account and delete newly added page
            loginPage   = generalPage.LogOut();
            generalPage = loginPage.LoginDashBoard(Constant.Respos_SampleRepository, Constant.UsernameAdmin, Constant.PasswordAdmin);
            generalPage.DeletePage("TC14" + Constant.TimeSystem);
            generalPage.LogOut();
        }