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

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Insurance Fresh");
            cal.Appointment_Complaint("Complaint 10");
            cal.Appointment_PractitionerNotes("Note 10");
            cal.Appointment_Type("Insurance");
            cal.Appointment_Date_and_Time("07/10/2018", "20:30:00");
            cal.Appointment_Practitioner("Ana Zina");
            cal.Appointment_Location("Chief Grand Cherokee Wellness Center");
            cal.Appointment_Service("Wolf Massage");
            cal.Appointment_Room("Room #1-4");
            cal.Reoccur();
            cal.Repeats("Monthly");
            cal.RepeatsEvery("2");
            cal.Recurring_EndDate("10/30/2018");
            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 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 CC01_Appointment_With_New_Patient()
        {
            LeftNavigation.Calendar.ClinicCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            ClinicCalendarPage cal = new ClinicCalendarPage();
            var test = cal.test = extent.StartTest("CC01 - Appointment with New Patient", "Appointment added from Clinic Calendar with a New Patient Created");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.NewPatient();
            cal.PatientFirstName();
            cal.PatientLastName();
            cal.PatientEmail("*****@*****.**");
            cal.Patient_Birthdate("01/26/1992");
            cal.PatientPrimaryPhone("0720600610");
            cal.PatientPrimaryPhoneType("Cell");
            cal.PatientSecondaryPhone("123");
            cal.PatientSecondaryPhoneType("Home");
            cal.PatientGender("Male");
            cal.PatientContinue();
            cal.Appointment_Complaint("Complaint 1");
            cal.Appointment_PractitionerNotes("Note 1");
            cal.Appointment_Type("Self-Pay");
            cal.Appointment_Date_and_Time("07/10/2018", "18:30:00");
            cal.Appointment_Practitioner("Ana Zina");
            cal.Appointment_Location("Bear Mask Acupuncture");
            cal.Appointment_Service("Acupuncture");
            cal.Appointment_Room("Black Room");
            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 CC06_Appointment_Recurring_Weekday_EOD()
        {
            LeftNavigation.Calendar.ClinicCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            ClinicCalendarPage cal = new ClinicCalendarPage();
            var test = cal.test = extent.StartTest("CC06 - Appointment Recurring Weekday till End of Date", "Appointment Recurring Weekday added from Clinic Calendar till End of Date");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Garfield Cat");
            cal.Appointment_Complaint("Complaint 6");
            cal.Appointment_PractitionerNotes("Note 6");
            cal.Appointment_Type("Insurance");
            cal.Appointment_Date_and_Time("07/10/2018", "10:00:00");
            cal.Appointment_Practitioner("Ana Zina");
            cal.Appointment_Location("Ciuc Wellness");
            cal.Appointment_Service("Cupping");
            cal.Appointment_Room("Room #1-3");
            cal.Reoccur();
            cal.Repeats("Every weekday(Monday to Friday)");
            cal.Recurring_EndDate("05/17/2018");
            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 CC04_Appointment_Recurring_Daily_Every_5days_EOD()
        {
            LeftNavigation.Calendar.ClinicCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            ClinicCalendarPage cal = new ClinicCalendarPage();
            var test = cal.test = extent.StartTest("CC04 - Appointment Recurring Daily till End of Date", "Appointment Recurring Daily added from Clinic Calendar till End of Date");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("lavinia nuca");
            cal.Appointment_Complaint("Complaint 4");
            cal.Appointment_PractitionerNotes("Note 4");
            cal.Appointment_Type("Pro-bono");
            cal.Appointment_Date_and_Time("07/10/2018", "10:30:00");
            cal.Appointment_Practitioner("Ana Zina");
            cal.Appointment_Location("Bear Mask Acupuncture");
            cal.Appointment_Service("Deep Tissue Massage");
            cal.Appointment_Room("Black Room");
            cal.Reoccur();
            cal.Repeats("Daily");
            cal.RepeatsEvery("5");
            cal.Recurring_EndDate("05/17/2018");
            cal.Appointment_Save();
            extent.EndTest(test);
            extent.Flush();
        }
        public void CC02_Appointment_With_Existing_Patient()
        {
            LeftNavigation.Calendar.ClinicCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(7));
            ClinicCalendarPage cal = new ClinicCalendarPage();
            var test = cal.test = extent.StartTest("CC02 - Appointment with Existing Patient", "Appointment added from Clinic Calendar with an Existing Patient");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Sean Hurley");
            cal.Appointment_Complaint("Complaint 2");
            cal.Appointment_PractitionerNotes("Note 2");
            cal.Appointment_Type("Insurance");
            cal.Appointment_Date_and_Time("07/10/2018", "17:30:00");
            cal.Appointment_Practitioner("Ana Zina");
            cal.Appointment_Location("Canada Location");
            cal.Appointment_Service("Needle Dancing");
            cal.Appointment_Room("Test Room2");
            cal.Appointment_Save();
            extent.EndTest(test);
            extent.Flush();
        }