public void MC03_Appointment_Recurring_Daily_Every_3days_3NOO()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage cal  = new MyCalendarPage();
            var            test = cal.test = extent.StartTest("MC03 - Appointment Recurring Daily After No. of Occurences", "Appointment Recurring Daily added from My Calendar After a No. of Occurences");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Pamela Johnson");
            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_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 MC10_Appointment_Recurring_Monthly_EOD()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage cal  = new MyCalendarPage();
            var            test = cal.test = extent.StartTest("MC10 - Appointment Recurring Monthly till End of Date", "Appointment Recurring Monthly added from My Calendar till End of Date");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Patricia Jacklin");
            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_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 MC08_Appointment_Recurring_Weekly_3days_Every_2Weeks_5NOO()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage cal  = new MyCalendarPage();
            var            test = cal.test = extent.StartTest("MC08 - Appointment Recurring Weekly After No. of Occurences", "Appointment Recurring Weekdly added from My Calendar After a No. of Occurences");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Stephanie Ingle");
            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_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 MC07_Appointment_Recurring_Weekly_4days_Every_3Weeks_EOD()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage cal  = new MyCalendarPage();
            var            test = cal.test = extent.StartTest("MC07 - Appointment Recurring Weekly till End of Date", "Appointment Recurring Weekly added from My Calendar till End of Date");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Thor Hammer");
            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_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 MC01_Appointment_With_New_Patient()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage cal  = new MyCalendarPage();
            var            test = cal.test = extent.StartTest("MC01 - Appointment with New Patient", "Appointment added from My 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_Location("Bear Mask Acupuncture");
            cal.Appointment_Service("Acupuncture");
            cal.Appointment_Room("Black Room");
            cal.Appointment_Save();
            extent.EndTest(test);
            extent.Flush();
        }
        public void MC04_Appointment_Recurring_Daily_Every_5days_EOD()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage cal  = new MyCalendarPage();
            var            test = cal.test = extent.StartTest("MC04 - Appointment Recurring Daily till End of Date", "Appointment Recurring Daily added from My Calendar till End of Date");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Alexa Johnson");
            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_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 MC02_Appointment_With_Existing_Patient()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage cal  = new MyCalendarPage();
            var            test = cal.test = extent.StartTest("MC02 - Appointment with Existing Patient", "Appointment added from My Calendar with an Existing Patient");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Kosmos Pavel");
            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_Location("Canada Location");
            cal.Appointment_Service("Needle Dancing");
            cal.Appointment_Room("Test Room2");
            cal.Appointment_Save();
            extent.EndTest(test);
            extent.Flush();
        }
        public void MC09_Appointment_Recurring_Monthly_4NOO()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage cal  = new MyCalendarPage();
            var            test = cal.test = extent.StartTest("MC09 - Appointment Recurring Monthly After No. of Occurences", "Appointment Recurring Monthly added from My Calendar After a No. of Occurences");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Kyle Carpenter");
            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_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 MC06_Appointment_Recurring_Weekday_EOD()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage cal  = new MyCalendarPage();
            var            test = cal.test = extent.StartTest("MC06 - Appointment Recurring Weekday till End of Date", "Appointment Recurring Weekday added from My Calendar till End of Date");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("Hugo Dark");
            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_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 MC05_Appointment_Recurring_Weekday_3NOO()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage cal  = new MyCalendarPage();
            var            test = cal.test = extent.StartTest("MC05 - Appointment Recurring Weekday After No. of Occurences", "Appointment Recurring Weekday added from My Calendar After a No. of Occurences");

            cal.AddAppointmentButton();
            Driver.Wait(TimeSpan.FromSeconds(2));
            cal.Search_Existing_Patient("JAMES EMILY CAMERON");
            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_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();
        }