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 CC22_Timeoff_Recurring_Weekly_Every_Week_EOD() { var test = extent.StartTest("CC22 - Timeoff Recurring Weekly every week till end of date", "Timeoff Recurring Weekly added from Clinic Calendar every week till End of Date"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff button timeoff.Timeofftitle("Test 12"); // Timeoff Tit timeoff.TimeoffDetails("Test Details 12"); // Timeoff Detail timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitioner timeoff.TimeoffRepeat(); // Repeat timeoff.Repeats("Weekly"); // Repeats timeoff.Mark_Tuesday(); // Mark Tuesday timeoff.Mark_Saturday(); // Mark Saturda timeoff.Timeoff_StartDate_and_Time("07/11/2018", "20:00:00", "45"); // Timeoff StartDate & Ti timeoff.Recurring_EndDate("5"); // Recurring End of Date timeoff.TimeoffLocation("Canada Location"); // 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(); }