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 MC21_Timeoff_Recurring_Weekly_Every_2Week_5NOO() { LeftNavigation.Calendar.MyCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); MyCalendarPage timeoff = new MyCalendarPage(); var test = timeoff.test = extent.StartTest("MC21 - Timeoff Recurring Weekly every 2 weeks after 5 occurences", "Timeoff Recurring Weekly added from My Calendar after 5 number of occurences"); timeoff.Book_TimeOff_Button(); timeoff.Timeofftitle("Test 11"); timeoff.TimeoffDetails("Test Details 11"); timeoff.TimeoffRepeat(); timeoff.Repeats("Weekly"); timeoff.RepeatsEvery("2");; timeoff.Mark_Tuesday(); timeoff.Mark_Friday(); timeoff.Timeoff_StartDate_and_Time("07/11/2018", "07:00:00", "60"); timeoff.AfterNumberOfOccuresces("5"); timeoff.TimeoffLocation("Ciuc Wellness"); timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }