public void IE_Edge_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; 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 IE_Edge_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(); }