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 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(); }