public void EditCurriculumTemplate()
        {
            string curriculumName       = "";
            string editedCurriculumName = "";

            if (BrowserName == BrowserNames.Chrome)
            {
                curriculumName       = "ChromeCurrName";
                editedCurriculumName = "ChromeCurrNameEdited";
            }
            if (BrowserName == BrowserNames.Firefox)
            {
                curriculumName       = "FFCurrName";
                editedCurriculumName = "FFCurrNameEdited";
            }
            if (BrowserName == BrowserNames.InternetExplorer)
            {
                curriculumName       = "IECurrName";
                editedCurriculumName = "IECurrNameEdited";
            }

            // string curriculum,string newcurriculum
            //newCurrName = DataUtils.GetRandomString(16);
            //editedCurrName = DataUtils.GetRandomString(16);

            ///  1. Navigate to the login page and login as  AMA-staff("10031315","password")
            UserInfo            role = UserUtils.GetUser(UserRole.Ama_Staff);
            LoginPage           LP   = Navigation.GoToLoginPage(browser);
            EducationCenterPage ED   = LP.LoginAsUser(role.Username, role.Password);

            if (BrowserName == BrowserNames.Firefox)
            {
                Browser.WaitForElement(Bys.EducationCenterPage.GcepLnk, ElementCriteria.IsEnabled);
            }

            ///  2.click to CGEP link and waiting load icon disappear and landing on curriculum management page
            GCEPPage GCEP = ED.ClickToAdvance(ED.GcepLnk);

            ///  3.on curriculum management page click curriculum templates link and landing  curriculum course page
            CurriculumMngPage CurTempPage = GCEP.ClickToAdvance(GCEP.CurriculumTemplatesLnk);

            ///  4. on curriculum courses page  clicking create and choosing courses
            CurTempPage.Search(curriculumName);
            CurTempPage.DeleteCurriculum(curriculumName);
            CurriculumCoursePage CurCoursPage = CurTempPage.ClickToAdvance(CurTempPage.CreateCurriculumTemplateBtn);

            CurCoursPage.AddOrRemoveCourses(CurCoursPage.AvailableCoursesTbl, CurCoursPage.AddSelectedBtn, 1, 7, 12);

            ///  5.giving name for curriculum from Test cases parametr ("L2!")
            // string randomCurrName = DataUtils.GetRandomString(16);
            CurCoursPage.CurriculumNameTxt.Clear();
            CurCoursPage.CurriculumNameTxt.SendKeys(curriculumName);

            ///  6. saving curriculum navigating pgy page
            PGYAssignmentPage PGYpage = CurCoursPage.ClickToAdvance(CurCoursPage.NextBtn);


            ///  7.choosing pgy's and saving
            //  Assert.True(false);
            PGYpage.Grid_ClickElementWithoutTextInsideRow(PGYpage.CourseTbl, 1, 9);                                         // PGYpage.ClickOnCellsOfRow(1, 9);
            PGYpage.Grid_ClickElementWithoutTextInsideRow(PGYpage.CourseTbl, 2, 4);                                         //PGYpage.ClickOnCellsOfRow(2, 6, 7, 10);
            PGYpage.Grid_ClickElementWithoutTextInsideRow(PGYpage.CourseTbl, 3, 6);                                         //PGYpage.ClickOnCellsOfRow(3, 6, 7);

            ///  8.saving curruculum navigating curriculum MNG page
            CurTempPage = PGYpage.ClickToAdvance(PGYpage.SaveExitBtn);

            ///  9.curriculum management page searching for curriculum what we created and saving name and  row count choosing curriculum what we create and editing name and pgy years
            CurTempPage.Search(curriculumName);
            CurTempPage.CurriculumName.Click();
            var ActualCurriculumName  = CurTempPage.CurriculumName.Text;
            int ActualCurriculumCount = CurTempPage.GetCountofRow(CurTempPage.SpecificCurriculumTbl);

            CurTempPage.CurriculumWinClose.Click();
            CurTempPage.EditCurriculum(curriculumName);

            ///  10. Adding new course
            CurCoursPage.AddOrRemoveCourses(CurCoursPage.AvailableCoursesTbl, CurCoursPage.AddSelectedBtn, 10);

            ///  11. Renaming curriculum from ("L2!"), to ("L3!"),curriculum name passing from test case attribute
            CurCoursPage.CurriculumNameTxt.Clear();
            CurCoursPage.CurriculumNameTxt.SendKeys(editedCurriculumName);
            PGYpage = CurCoursPage.ClickToAdvance(CurCoursPage.NextBtn);

            ///  12. Choosing student years for new course what was added
            PGYpage.Grid_ClickElementWithoutTextInsideRow(PGYpage.CourseTbl, 3, 8);

            ///  13.Saving curriculum and navigating to curriculum management page again
            CurTempPage = PGYpage.ClickToAdvance(PGYpage.SaveExitBtn);

            ///  14. searching new created curriculum and saving info about it
            CurTempPage.Search(editedCurriculumName);
            CurTempPage.CurriculumName.Click();
            var FinalCurriculumName  = CurTempPage.CurriculumName.Text;
            int FinalCurriculumCount = CurTempPage.GetCountofRow(CurTempPage.SpecificCurriculumTbl);

            CurTempPage.CurriculumWinClose.Click();

            ///  15.comparing first curriculum and second curriculum after editing
            Assert.IsFalse(FinalCurriculumCount == ActualCurriculumCount && FinalCurriculumName == ActualCurriculumName);

            ///  16.deleting last curriculum what we created and edited
            CurTempPage.DeleteCurriculum(editedCurriculumName);
        }