コード例 #1
0
        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();
        }
コード例 #2
0
        public void MC22_Timeoff_Recurring_Weekly_Every_Week_EOD()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage timeoff = new MyCalendarPage();
            var            test    = timeoff.test = extent.StartTest("MC22 - Timeoff Recurring Weekly every week till end of date", "Timeoff Recurring Weekly added from My Calendar every week till End of Date");

            timeoff.Book_TimeOff_Button();
            timeoff.Timeofftitle("Test 12");
            timeoff.TimeoffDetails("Test Details 12");
            timeoff.TimeoffRepeat();
            timeoff.Repeats("Weekly");
            timeoff.Mark_Monday();
            timeoff.Mark_Saturday();
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "20:00:00", "45");
            timeoff.Recurring_EndDate("5");
            timeoff.TimeoffLocation("Canada Location");
            timeoff.TimeoffSave();
            extent.EndTest(test);
            extent.Flush();
        }
コード例 #3
0
        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();
        }