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();
        }
        public void CC07_Appointment_Recurring_Weekly_4days_Every_3Weeks_EOD()
        {
            LeftNavigation.Calendar.ClinicCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            ClinicCalendarPage cal = new ClinicCalendarPage();
            var test = cal.test = extent.StartTest("CC07 - Appointment Recurring Weekly till End of Date", "Appointment Recurring Weekly added from Clinic Calendar till End of Date");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Colette Smithica");
            cal.Appointment_Complaint("Complaint 7");
            cal.Appointment_PractitionerNotes("Note 7");
            cal.Appointment_Type("Insurance");
            cal.Appointment_Date_and_Time("07/10/2018", "12:00:00");
            cal.Appointment_Practitioner("Ana Zina");
            cal.Appointment_Location("Ciuc Wellness");
            cal.Appointment_Service("Cupping");
            cal.Appointment_Room("Room #2-3");
            cal.Reoccur();;
            cal.RepeatsEvery("3");
            cal.Mark_Wednesday();
            cal.Mark_Thrusday();
            cal.Mark_Friday();
            cal.Mark_Saturday();
            cal.Recurring_EndDate("07/30/2018");
            cal.Appointment_Save();
            extent.EndTest(test);
            extent.Flush();
        }
        public void CC21_Timeoff_Recurring_Weekly_Every_2Week_5NOO()
        {
            var test = extent.StartTest("CC21 - Timeoff Recurring Weekly every 2 weeks after 5 occurences", "Timeoff Recurring Weekly added from Clinic Calendar after 5 number of occurences");

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

            timeoff.Book_TimeOff_Button();                                      //Book Timeoff button
            timeoff.Timeofftitle("Test 11");                                    // Timeoff T
            timeoff.TimeoffDetails("Test Details 11");                          // Timeoff Detail
            timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers");          // Timeoff Practitio
            timeoff.TimeoffRepeat();                                            // Rep
            timeoff.Repeats("Weekly");                                          // Repeats
            timeoff.RepeatsEvery("2");;                                         //  Repeats Every
            timeoff.Mark_Tuesday();                                             // Mark Tu
            timeoff.Mark_Friday();                                              // Mark F
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "07:00:00", "60"); // Timeoff StartDate & Time
            timeoff.AfterNumberOfOccuresces("5");                               // After Number of Occuren
            timeoff.TimeoffLocation("Ciuc Wellness");                           // Timeoff Location
            timeoff.TimeoffSave();
            extent.EndTest(test);
            extent.Flush();
        }