public void MC11_Timeoff_5minutes()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage timeoff = new MyCalendarPage();
            var            test    = timeoff.test = extent.StartTest("MC11 - Timeoff 5 minutes", "Timeoff 5 minutes added from My Calendar");

            timeoff.Book_TimeOff_Button();
            timeoff.Timeofftitle("Test 1 5minutes");
            timeoff.TimeoffDetails("Test Details 1");
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "11:00:00", "15");
            timeoff.TimeoffLocation("Bear Mask Acupuncture");
            timeoff.TimeoffSave();
            extent.EndTest(test);
            extent.Flush();
        }
        public void MC12_Timeoff_AllDay()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage timeoff = new MyCalendarPage();
            var            test    = timeoff.test = extent.StartTest("MC12 - Timeoff All Day", "Timeoff All Day added from My Calendar");

            timeoff.Book_TimeOff_Button();
            timeoff.Timeofftitle("Test 2 All Day");
            timeoff.TimeoffDetails("Test Details 2");
            timeoff.TimeoffRepeatAllDay();
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", "");
            timeoff.TimeoffLocation("Locatie1");
            timeoff.TimeoffSave();
            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 MC18_Timeoff_Recurring_Weekday_EOD()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage timeoff = new MyCalendarPage();
            var            test    = timeoff.test = extent.StartTest("MC18 - Timeoff Recurring Weekday till end of date", "Timeoff Recurring Weekday added from My Calendar till End of Date");

            timeoff.Book_TimeOff_Button();
            timeoff.Timeofftitle("Test 8");
            timeoff.TimeoffDetails("Test Details 8 ");
            timeoff.TimeoffRepeat();
            timeoff.Repeats("Every weekday (Monday to Friday)");
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "21:00:00", "40");
            timeoff.Recurring_EndDate("05/11/2018");
            timeoff.TimeoffLocation("Mexican Squirrel Acutherapy");
            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 MC26_Timeoff_Recurring_Monthly_EOD()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage timeoff = new MyCalendarPage();
            var            test    = timeoff.test = extent.StartTest("MC26 - Timeoff Recurring Monthly till end of date", "Timeoff Recurring Monthly added from My Calendar till End of Date");

            timeoff.Book_TimeOff_Button();
            timeoff.Timeofftitle("Test 16");
            timeoff.TimeoffDetails("Test Details 16");
            timeoff.TimeoffRepeat();
            timeoff.Repeats("Monthly");
            timeoff.RepeatsEvery("2");
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "11:00:00", "70");
            timeoff.Recurring_EndDate("11/05/2018");
            timeoff.TimeoffLocation("Bear Mask Acupuncture");
            timeoff.TimeoffSave();
            extent.EndTest(test);
            extent.Flush();
        }
        public void MC24_Timeoff_Recurring_Weekly_Every_Week_Allday_EOD()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage timeoff = new MyCalendarPage();
            var            test    = timeoff.test = extent.StartTest("MC24 - Timeoff Recurring Weekly All Day every week till end of date", "Timeoff Recurring Weekly All Day added from My Calendar every week till End of Date");

            timeoff.Book_TimeOff_Button();
            timeoff.Timeofftitle("Test 14");
            timeoff.TimeoffDetails("Test Details 14");
            timeoff.TimeoffRepeatAllDay();
            timeoff.TimeoffRepeat();
            timeoff.Repeats("Weekly");
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", "");
            timeoff.Recurring_EndDate("11/05/2018");
            timeoff.TimeoffLocation("New York Place");
            timeoff.TimeoffSave();
            extent.EndTest(test);
            extent.Flush();
        }
        public void MC20_Timeoff_Recurring_Weekday_Allday_EOD()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage timeoff = new MyCalendarPage();
            var            test    = timeoff.test = extent.StartTest("MC20 - Timeoff Recurring Weekday All Day till End of Date", "Timeoff Recurring Weekday All Day added from My Calendar till End of Date");

            timeoff.Book_TimeOff_Button();
            timeoff.Timeofftitle("Test 10");
            timeoff.TimeoffDetails("Test details 10");
            timeoff.TimeoffRepeatAllDay();
            timeoff.TimeoffRepeat();
            timeoff.Repeats("Every weekday (Monday to Friday)");
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", "");
            timeoff.Recurring_EndDate("11/06/2018");
            timeoff.TimeoffLocation("Locatie5");
            timeoff.TimeoffSave();
            extent.EndTest(test);
            extent.Flush();
        }
        public void MC14_Timeoff_Recurring_Daily_Every_5days_EOD()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage timeoff = new MyCalendarPage();
            var            test    = timeoff.test = extent.StartTest("MC14 - Timeoff Recurring Daily every 5 days till End of Date", "Timeoff Recurring All Day added from My Calendar every 5 days till End of Date");

            timeoff.Book_TimeOff_Button();
            timeoff.Timeofftitle("Test 4 ");
            timeoff.TimeoffDetails("Test Details 4");
            timeoff.TimeoffRepeat();
            timeoff.Repeats("Daily");
            timeoff.RepeatsEvery("5");;
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "11:00:00", "10");
            timeoff.Recurring_EndDate("07/30/2018");
            timeoff.TimeoffLocation("Ciuc Wellness");
            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 MC28_Timeoff_Recurring_Monthly_Allday_EOD()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage timeoff = new MyCalendarPage();
            var            test    = timeoff.test = extent.StartTest("MC28 - Timeoff Recurring Monthly All Day till end of date", "Timeoff Recurring Monthly All Day added from My Calendar till End of Date");

            timeoff.Book_TimeOff_Button();
            timeoff.Timeofftitle("Test 18");
            timeoff.TimeoffDetails("Test Details 18");
            timeoff.TimeoffRepeatAllDay();
            timeoff.TimeoffRepeat();
            timeoff.Repeats("Monthly");
            timeoff.RepeatsEvery("2");
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", "");
            timeoff.Recurring_EndDate("15/05/2018");
            timeoff.TimeoffLocation("Ciuc Wellness");
            timeoff.TimeoffSave();
            extent.EndTest(test);
            extent.Flush();
        }
        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();
        }
        public void MC16_Timeoff_Recurring_Daily_Allday_Every_5days_EOD()
        {
            LeftNavigation.Calendar.MyCalendar.GoTo();
            Driver.Wait(TimeSpan.FromSeconds(5));
            MyCalendarPage timeoff = new MyCalendarPage();
            var            test    = timeoff.test = extent.StartTest("MC16 - Timeoff Recurring Daily All Day till end of date", "Timeoff Recurring Daily All Day added from My Calendar every 5 days till End of Date");

            timeoff.Book_TimeOff_Button();
            timeoff.Timeofftitle("Test 6");
            timeoff.TimeoffDetails("Test Details 6");
            timeoff.TimeoffRepeatAllDay();
            timeoff.TimeoffRepeat();
            timeoff.Repeats("Daily");
            timeoff.RepeatsEvery("5");;
            timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", "");
            timeoff.Recurring_EndDate("06/27/2018");
            timeoff.TimeoffLocation("Buzau");
            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();
        }