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 MC23_Timeoff_Recurring_Weekly_Every_2Week_Allday_3NOO() { LeftNavigation.Calendar.MyCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); MyCalendarPage timeoff = new MyCalendarPage(); var test = timeoff.test = extent.StartTest("MC23 - Timeoff Recurring Weekly All Day every 2 weeks after 3 occurences", "Timeoff Recurring Weekly All Day added from My Calendar every 2 weeks after 3 number of occurences"); timeoff.Book_TimeOff_Button(); timeoff.Timeofftitle("Test 13"); timeoff.TimeoffDetails("Test Details 13"); timeoff.TimeoffRepeatAllDay(); timeoff.TimeoffRepeat(); timeoff.Repeats("Weekly"); timeoff.RepeatsEvery("2"); timeoff.Mark_Wednesday(); timeoff.Mark_Saturday(); timeoff.Mark_Sunday(); timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", ""); timeoff.AfterNumberOfOccuresces("5"); timeoff.TimeoffLocation("bucuresti"); timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }