public EA_POM Delete_Enrolment()


        {
            //Clicking on Enrolment Tab
            Web_Driver.driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(3);
            if (All_Calls.Delete_Enrolment_On == true)
            {
                En_Tab_Click.Click();
            }
            Thread.Sleep(3000);
            Url_En_page = Web_Driver.driver.Url;
            //Delete Enrolment
            Text_Heightlight.highlight7(Delete_Record_Text);
            En_Del_Click.Click();
            txt_Id = Del_Id.Text;
            int.TryParse(txt_Id, out Previous_Id);
            Console.WriteLine(Previous_Id);
            //Getting Record form text

            Del_Record_Text = Del_Record_txt.Text;
            Console.WriteLine(Del_Record_Text);
            Asserts.Assert_Del_Record_Text(Del_Record_Text);
            Thread.Sleep(3000);
            //Delete Yes,No
            Del_Record_No_Text = No_Click.Text;
            Asserts.Assert_Del_No(Del_Record_No_Text);
            Thread.Sleep(3000);
            No_Click.Click();


            //Delete Enrolment
            En_Del_Click.Click();
            //Delete Yes,No
            Del_Record_Yes_Text = Yes_Click.Text;
            Asserts.Assert_Del_Yes(Del_Record_Yes_Text);
            Yes_Click.Click();
            //Getting new Id
            Thread.Sleep(5000);
            txt_Id = Del_Id.Text;
            int.TryParse(txt_Id, out New_Id);
            Text_Heightlight.highlight7(Delete_Record_Text);
            Console.WriteLine(New_Id);
            Console.WriteLine(Log_In.Url_Homepage);
            Console.WriteLine(Url_En_page);
            Asserts.Enrolment_Page_Url(Log_In.Url_Homepage, Url_En_page);
            Asserts.Delete_Id_Comparison(Previous_Id, New_Id);
            return(new EA_POM());
        }