///// <summary>
 ///// will find curriculum with param and clicking edit
 ///// </summary>
 ///// <param string curriculumName= The name of curriculum to edit action></param>
 public void EditCurriculum(string curriculumName)
 {
     Thread.Sleep(0500);
     Actioncell.Click();
     Thread.Sleep(0500);
     Editcell.Click();
     Browser.WaitForElement(Bys.AMAPage.LoadIcon, ElementCriteria.IsNotVisible);
     Browser.WaitForElement(Bys.CurriculumCoursePage.CurrulumCourseHeaderLbl, ElementCriteria.IsVisible);
     new WebDriverWait(Browser, TimeSpan.FromSeconds(35)).Until(ExpectedConditions.UrlContains("gme-competency/admin/curriculumtemplates"));
 }
        ///// <summary>
        ///// Deleting  Curriculum
        ///// </summary>
        ///// <param string curriculumName= The name of curriculum to  perform delete action></param>

        public void DeleteCurriculum(string curriculumName)
        {
            if (Browser.FindElements(Bys.CurriculumMngPage.NoRecordLbl).Count > 0)
            {
            }
            else
            {
                do
                {
                    Browser.WaitForElement(Bys.AMAPage.LoadIcon, ElementCriteria.IsNotVisible);
                    Browser.WaitForElement(Bys.CurriculumMngPage.CurriculumTemplateTbl, ElementCriteria.IsVisible);
                    Thread.Sleep(0500);
                    Actioncell.Click();
                    Deletecell.Click();
                    Thread.Sleep(0500);
                    AcceptBtn.Click();
                    Browser.WaitForElement(Bys.AMAPage.LoadIcon, ElementCriteria.IsNotVisible);
                    Browser.WaitForElement(Bys.CurriculumMngPage.CurriculumTemplateTbl, ElementCriteria.IsVisible);
                } while (Browser.FindElements(Bys.CurriculumMngPage.NoRecordLbl).Count <= 0);
            }
        }