コード例 #1
0
        //  [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();
        }
コード例 #2
0
        public NewPanelPage GotoPanelPage()
        {
            PanelManagerPage panelManagerPage = GotoPanelManagerPage();

            return(panelManagerPage.GoToPanelPage());
        }