// [TestMethod] public void IE_Edge_DA_PANEL_TC029_Verify_that_user_is_unable_to_create_new_panel_when_required_field_is_not_filled() { generalPage = loginPage.LoginDashBoard(Constant.Respos_SampleRepository, Constant.UsernameAdmin, Constant.PasswordAdmin); newPanelPage = generalPage.GotoPanelPage(); newPanelPage.ClickOK(); newPanelPage.VerifyTextInAlertPopup(Constant.MsgRequiredFieldPanel); //post-condition generalPage.LogOut(); }
// [TestMethod] public void IE_Edge_DA_PANEL_TC030_Verify_that_no_special_character_except_at_sign_character_is_allowed_to_be_inputted_into_Display_Name_field() { string specialCharacterPanel = "panel" + Constant.TimeSystem + "#$%"; string atsignPanel = "panel" + Constant.TimeSystem + "@"; panelManagerPage = new PanelManagerPage(); generalPage = loginPage.LoginDashBoard(Constant.Respos_SampleRepository, Constant.UsernameAdmin, Constant.PasswordAdmin); newPanelPage = generalPage.GotoPanelPage(); newPanelPage.AddNewPanel(specialCharacterPanel, Constant.Series); newPanelPage.VerifyTextInAlertPopup(Constant.MsgInvalidPanelDisplayName); newPanelPage = panelManagerPage.GoToPanelPage(); newPanelPage.AddNewPanel(atsignPanel, Constant.Series); panelManagerPage.VerifyPanelDisplayed(atsignPanel); //post-condition generalPage.LogOut(); }