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 CC03_Appointment_Recurring_Daily_Every_3days_3NOO()
        {
            LeftNavigation.Calendar.ClinicCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            ClinicCalendarPage cal = new ClinicCalendarPage();
            var test = cal.test = extent.StartTest("CC03 - Appointment Recurring Daily After No. of Occurences", "Appointment Recurring Daily added from Clinic Calendar After a No. of Occurences");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("THOMAS LOUIE MICHAEL");
            cal.Appointment_Complaint("Complaint 3");
            cal.Appointment_PractitionerNotes("Note 3");
            cal.Appointment_Type("Promotion/Package");
            cal.Appointment_Date_and_Time("07/10/2018", "16:30:00");
            cal.Appointment_Practitioner("Ana Zina");
            cal.Appointment_Location("Bear Mask Acupuncture");
            cal.Appointment_Service("Butterfly Wrap");
            cal.Appointment_Room("Room #1-1");
            cal.Reoccur();
            cal.Repeats("Daily");
            cal.RepeatsEvery("3");
            cal.AfterNumberOfOccuresces("3");
            cal.Appointment_Save();
            extent.EndTest(test);
            extent.Flush();
        }
        public void CC09_Appointment_Recurring_Monthly_4NOO()
        {
            LeftNavigation.Calendar.ClinicCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            ClinicCalendarPage cal = new ClinicCalendarPage();
            var test = cal.test = extent.StartTest("CC09 - Appointment Recurring Monthly After No. of Occurences", "Appointment Recurring Monthly added from Clinic Calendar After a No. of Occurences");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("WILLIAM OLIVER KATIE");
            cal.Appointment_Complaint("Complaint 9");
            cal.Appointment_PractitionerNotes("Note 9");
            cal.Appointment_Type("Insurance");
            cal.Appointment_Date_and_Time("07/10/2018", "13:30:00");
            cal.Appointment_Practitioner("Ana Zina");
            cal.Appointment_Location("Chief Grand Cherokee Wellness Center");
            cal.Appointment_Service("Butterfly Wrap");
            cal.Appointment_Room("Room #3-4");
            cal.Reoccur();
            cal.Repeats("Monthly");
            cal.AfterNumberOfOccuresces("3");
            cal.Appointment_Save();
            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();
        }
        public void CC05_Appointment_Recurring_Weekday_3NOO()
        {
            LeftNavigation.Calendar.ClinicCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            ClinicCalendarPage cal = new ClinicCalendarPage();
            var test = cal.test = extent.StartTest("CC05 - Appointment Recurring Weekday After No. of Occurences", "Appointment Recurring Weekday added from Clinic Calendar After a No. of Occurences");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Mad Pinguin");
            cal.Appointment_Complaint("Complaint 5");
            cal.Appointment_PractitionerNotes("Note 5");
            cal.Appointment_Type("Self-Pay");
            cal.Appointment_Date_and_Time("07/10/2018", "09:00:00");
            cal.Appointment_Practitioner("Ana Zina");
            cal.Appointment_Location("Ciuc Wellness");
            cal.Appointment_Service("Chisinau Back Massage");
            cal.Appointment_Room("Yellow Room");
            cal.Reoccur();
            cal.Repeats("Every weekday(Monday to Friday)");
            cal.AfterNumberOfOccuresces("3");
            cal.Appointment_Save();
            extent.EndTest(test);
            extent.Flush();
        }
        public void CC25_Timeoff_Recurring_Monthly_4NOO()
        {
            var test = extent.StartTest("CC25 - Timeoff Recurring Monthly after 4 no of occurences", "Timeoff Recurring Montly added from Clinic Calendar after 4 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 15");                                    // Timeoff Tit
            timeoff.TimeoffDetails("Test Details 15");                          // Timeoff Detail
            timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers");          // Timeoff Practi
            timeoff.TimeoffRepeat();                                            // Re
            timeoff.Repeats("Monthly");                                         // Repeat
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "04:00:00", "15"); // Timeoff StartDate & Tim
            timeoff.AfterNumberOfOccuresces("4");                               // After Number of Occure
            timeoff.TimeoffLocation("Locatie1");                                // Timeoff Location
            timeoff.TimeoffSave();
            extent.EndTest(test);
            extent.Flush();
        }
        public void CC17_Timeoff_Recurring_Weekday_3NOO()
        {
            var test = extent.StartTest("CC17 - Timeoff Recurring Weekday after 3 no of occ", "Timeoff Recurring Weekday added from Clinic Calendar after 3 number of occurences");

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

            timeoff.Book_TimeOff_Button();                                      //Book Timeoff but
            timeoff.Timeofftitle("Test 7");                                     // Timeoff Title
            timeoff.TimeoffDetails("Test Details 7");                           // Timeoff Detail
            timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers");          // Timeoff Practitioner
            timeoff.TimeoffRepeat();                                            // Repeat
            timeoff.Repeats("Every weekday (Monday to Friday)");                // Repeats
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "17:00:00", "30"); // Timeoff StartDate & Time
            timeoff.AfterNumberOfOccuresces("3");                               // After Number of Occur
            timeoff.TimeoffLocation("New York Place");                          // Timeoff Locati
            timeoff.TimeoffSave();
            extent.EndTest(test);
            extent.Flush();
        }
        public void CC27_Timeoff_Recurring_Monthly_Allday_4NOO()
        {
            var test = extent.StartTest("CC27 - Timeoff Recurring Monthly All Day after 4 no of occurences", "Timeoff Recurring Monthly All Day added from Clinic Calendar after 4 no of occurences");

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

            timeoff.Book_TimeOff_Button();                             //Book Timeoff b
            timeoff.Timeofftitle("Test 17");                           // Timeoff
            timeoff.TimeoffDetails("Test Details 17");                 // Timeoff Detai
            timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitione
            timeoff.TimeoffRepeatAllDay();                             // Repeats All Da
            timeoff.TimeoffRepeat();                                   // Rep
            timeoff.Repeats("Monthly");                                //  Repeats
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", "");  // Timeoff StartDate &
            timeoff.AfterNumberOfOccuresces("4");                      // After Number of Occurences
            timeoff.TimeoffLocation("Bear Mask Acupuncture");          // Timeoff Location
            timeoff.TimeoffSave();
            extent.EndTest(test);
            extent.Flush();
        }
        public void CC13_Timeoff_Recurring_Daily_Every_3days_3NOO()
        {
            var test = extent.StartTest("CC13 - Timeoff Recurring Daily Every 3 days After 3 no of occ", "Timeoff Recurring All Day added from Clinic Calendar Every every 3 days After 3 no of occ");

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

            timeoff.Book_TimeOff_Button();                                      //Book Timeoff butto
            timeoff.Timeofftitle("Test 3 recurring 5minutes");                  // Timeof
            timeoff.TimeoffDetails("Test Details 3");                           // Timeoff Details
            timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers");          // Timeoff Practitio
            timeoff.TimeoffRepeat();                                            // Repeat
            timeoff.Repeats("Daily");                                           //  Repeats
            timeoff.RepeatsEvery("3");;                                         //  Repeats Eve
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "11:00:00", "25"); // Timeoff StartDate & Tim
            timeoff.AfterNumberOfOccuresces("3");                               // After Number of Occuren
            timeoff.TimeoffLocation("Locatie2");                                // Timeoff Location
            timeoff.TimeoffSave();
            extent.EndTest(test);
            extent.Flush();
        }
        public void CC15_Timeoff_Recurring_Daily_Allday_Every_3days_3NOO()
        {
            var test = extent.StartTest("CC15 - Timeoff Recurring Daily All Day after no. of occ", "Timeoff Recurring Daily All Day added from Clinic Calendar Every 3 days after 3 no 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 5 ");                           // Timeoff Title
            timeoff.TimeoffDetails("Test Details 5");                  // Timeoff Details
            timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitioner
            timeoff.TimeoffRepeatAllDay();                             // Repeat All Day
            timeoff.TimeoffRepeat();                                   // Rep
            timeoff.Repeats("Daily");                                  //  Repeats
            timeoff.RepeatsEvery("3");;                                // Repeats Every
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", "");  // Timeoff StartDate & Ti
            timeoff.AfterNumberOfOccuresces("3");                      // After Number of Occur
            timeoff.TimeoffLocation("New York Place");                 // Timeoff Location
            timeoff.TimeoffSave();
            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();
        }