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 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 MC25_Timeoff_Recurring_Monthly_4NOO() { LeftNavigation.Calendar.MyCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); MyCalendarPage timeoff = new MyCalendarPage(); var test = timeoff.test = extent.StartTest("MC25 - Timeoff Recurring Monthly after 4 no of occurences", "Timeoff Recurring Montly added from My Calendar after 4 number of occurences"); timeoff.Book_TimeOff_Button(); timeoff.Timeofftitle("Test 15"); timeoff.TimeoffDetails("Test Details 15"); timeoff.TimeoffRepeat(); timeoff.Repeats("Monthly"); timeoff.Timeoff_StartDate_and_Time("07/11/2018", "04:00:00", "15"); timeoff.AfterNumberOfOccuresces("4"); timeoff.TimeoffLocation("Locatie1"); timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void MC17_Timeoff_Recurring_Weekday_3NOO() { LeftNavigation.Calendar.MyCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); MyCalendarPage timeoff = new MyCalendarPage(); var test = timeoff.test = extent.StartTest("MC17 - Timeoff Recurring Weekday after 3 no of occ", "Timeoff Recurring Weekday added from My Calendar after 3 number of occurences"); timeoff.Book_TimeOff_Button(); timeoff.Timeofftitle("Test 7"); timeoff.TimeoffDetails("Test Details 7"); timeoff.TimeoffRepeat(); timeoff.Repeats("Every weekday (Monday to Friday)"); timeoff.Timeoff_StartDate_and_Time("07/11/2018", "17:00:00", "30"); timeoff.AfterNumberOfOccuresces("3"); timeoff.TimeoffLocation("New York Place"); timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void MC13_Timeoff_Recurring_Daily_Every_3days_3NOO() { LeftNavigation.Calendar.MyCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); MyCalendarPage timeoff = new MyCalendarPage(); var test = timeoff.test = extent.StartTest("MC13 - Timeoff Recurring Daily Every 3 days After 3 no of occ", "Timeoff Recurring All Day added from My CalendarEvery every 3 days After 3 no of occ"); timeoff.Book_TimeOff_Button(); timeoff.Timeofftitle("Test 3 recurring 5minutes"); timeoff.TimeoffDetails("Test Details 3"); timeoff.TimeoffRepeat(); timeoff.Repeats("Daily"); timeoff.RepeatsEvery("3");; timeoff.Timeoff_StartDate_and_Time("07/11/2018", "11:00:00", "25"); timeoff.AfterNumberOfOccuresces("3"); timeoff.TimeoffLocation("Locatie2"); timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void MC15_Timeoff_Recurring_Daily_Allday_Every_3days_3NOO() { LeftNavigation.Calendar.MyCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); MyCalendarPage timeoff = new MyCalendarPage(); var test = timeoff.test = extent.StartTest("MC15 - Timeoff Recurring Daily All Day after no. of occ", "Timeoff Recurring Daily All Day added from My Calendar Every 3 days after 3 no of Occurences "); timeoff.Book_TimeOff_Button(); timeoff.Timeofftitle("Test 5 "); timeoff.TimeoffDetails("Test Details 5"); timeoff.TimeoffRepeatAllDay(); timeoff.TimeoffRepeat(); timeoff.Repeats("Daily"); timeoff.RepeatsEvery("3");; timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", ""); timeoff.AfterNumberOfOccuresces("3"); timeoff.TimeoffLocation("New York Place"); timeoff.TimeoffSave(); 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(); }
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(); }
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 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(); }