public void CC23_Timeoff_Recurring_Weekly_Every_2Week_Allday_3NOO()
        {
            var test = extent.StartTest("CC23 - Timeoff Recurring Weekly All Day every 2 weeks after 3 occurences", "Timeoff Recurring Weekly All Day added from Clinic Calendar every 2 weeks after 3 number of occurences");

            LeftNavigation.Calendar.ClinicCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            ClinicCalendarPage timeoff = new ClinicCalendarPage();

            timeoff.Book_TimeOff_Button();                             //Book Timeoff bu
            timeoff.Timeofftitle("Test 13");                           // Timeoff Titl
            timeoff.TimeoffDetails("Test Details 13");                 // Timeoff Details
            timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practition
            timeoff.TimeoffRepeatAllDay();                             // Repeats All Day
            timeoff.TimeoffRepeat();                                   // Repe
            timeoff.Repeats("Weekly");                                 // Repeats
            timeoff.RepeatsEvery("2");                                 //  Repeats Ev
            timeoff.Mark_Wednesday();                                  // Mark Wednesday
            timeoff.Mark_Saturday();                                   // Mark Satur
            timeoff.Mark_Sunday();                                     // Mark
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", "");  // Timeoff StartDate & Tim
            timeoff.AfterNumberOfOccuresces("5");                      // After Number of
            timeoff.TimeoffLocation("bucuresti");                      // Timeoff L
            timeoff.TimeoffSave();
            extent.EndTest(test);
            extent.Flush();
        }
        public void CC08_Appointment_Recurring_Weekly_3days_Every_2Weeks_after_5NOO()
        {
            LeftNavigation.Calendar.ClinicCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            ClinicCalendarPage cal = new ClinicCalendarPage();
            var test = cal.test = extent.StartTest("CC08 - Appointment Recurring Weekly After No. of Occurences", "Appointment Recurring Weekdly added from Clinic Calendar After a No. of Occurences");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Michelangeo Antonini");
            cal.Appointment_Complaint("Complaint 8");
            cal.Appointment_PractitionerNotes("Note 8");
            cal.Appointment_Type("Insurance");
            cal.Appointment_Date_and_Time("07/10/2018", "15:00:00");
            cal.Appointment_Practitioner("Ana Zina");
            cal.Appointment_Location("Chief Grand Cherokee Wellness Center");
            cal.Appointment_Service("Bear Massage");
            cal.Appointment_Room("Room #1-4");
            cal.Reoccur();;
            cal.RepeatsEvery("2");
            cal.Mark_Tuesday();
            cal.Mark_Friday();
            cal.Mark_Sunday();
            cal.AfterNumberOfOccuresces("5");
            cal.Appointment_Save();
            extent.EndTest(test);
            extent.Flush();
        }