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 CC11_Timeoff_5minutes() { LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); var test = timeoff.test = extent.StartTest("CC11 - Timeoff 5 minutes", "Timeoff 5 minutes added from Clinic Calendar"); timeoff.Book_TimeOff_Button(); timeoff.Timeofftitle("Test 1 5minutes"); timeoff.TimeoffDetails("Test Details 1"); timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); 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 CC12_Timeoff_AllDay() { var test = extent.StartTest("CC12 - Timeoff All Day", "Timeoff All Day added from Clinic Calendar"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff butt timeoff.Timeofftitle("Test 2 All Day"); // Timeoff Titl timeoff.TimeoffDetails("Test Details 2"); // Timeoff Details timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitioner timeoff.TimeoffRepeatAllDay(); // Timeoff Repeat All Da timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", ""); // Timeoff StartDate & Time timeoff.TimeoffLocation("Locatie1"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC17_Timeoff_Recurring_Weekday_3NOO() { var test = extent.StartTest("CC17 - Timeoff Recurring Weekday after 3 no of occ", "Timeoff Recurring Weekday added from Clinic Calendar after 3 number of occurences"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff but timeoff.Timeofftitle("Test 7"); // Timeoff Title timeoff.TimeoffDetails("Test Details 7"); // Timeoff Detail timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitioner timeoff.TimeoffRepeat(); // Repeat timeoff.Repeats("Every weekday (Monday to Friday)"); // Repeats timeoff.Timeoff_StartDate_and_Time("07/11/2018", "17:00:00", "30"); // Timeoff StartDate & Time timeoff.AfterNumberOfOccuresces("3"); // After Number of Occur timeoff.TimeoffLocation("New York Place"); // Timeoff Locati timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC25_Timeoff_Recurring_Monthly_4NOO() { var test = extent.StartTest("CC25 - Timeoff Recurring Monthly after 4 no of occurences", "Timeoff Recurring Montly added from Clinic Calendar after 4 number of occurences"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff button timeoff.Timeofftitle("Test 15"); // Timeoff Tit timeoff.TimeoffDetails("Test Details 15"); // Timeoff Detail timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practi timeoff.TimeoffRepeat(); // Re timeoff.Repeats("Monthly"); // Repeat timeoff.Timeoff_StartDate_and_Time("07/11/2018", "04:00:00", "15"); // Timeoff StartDate & Tim timeoff.AfterNumberOfOccuresces("4"); // After Number of Occure timeoff.TimeoffLocation("Locatie1"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC18_Timeoff_Recurring_Weekday_EOD() { var test = extent.StartTest("CC18 - Timeoff Recurring Weekday till end of date", "Timeoff Recurring Weekday added from Clinic Calendar till End of Date"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff bu timeoff.Timeofftitle("Test 8"); // Timeoff Tit timeoff.TimeoffDetails("Test Details 8 "); // Timeoff Details timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitioner timeoff.TimeoffRepeat(); // Repea timeoff.Repeats("Every weekday (Monday to Friday)"); // Rep timeoff.Timeoff_StartDate_and_Time("07/11/2018", "21:00:00", "40"); // Timeoff StartDate & timeoff.Recurring_EndDate("05/11/2018"); // Recurring End timeoff.TimeoffLocation("Mexican Squirrel Acutherapy"); // Timeoff Locat timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC14_Timeoff_Recurring_Daily_Every_5days_EOD() { var test = extent.StartTest("CC14 - Timeoff Recurring Daily every 5 days till End of Date", "Timeoff Recurring All Day added from Clinic Calendar every 5 days till End of Date"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff button timeoff.Timeofftitle("Test 4 "); // Timeoff Ti timeoff.TimeoffDetails("Test Details 4"); // Timeoff Deta timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitione timeoff.TimeoffRepeat(); // Repe timeoff.Repeats("Daily"); // Repe timeoff.RepeatsEvery("5");; // Repeats Every timeoff.Timeoff_StartDate_and_Time("07/11/2018", "11:00:00", "10"); // Timeoff StartDate & Time timeoff.Recurring_EndDate("07/30/2018"); // Recurring End Dat timeoff.TimeoffLocation("Ciuc Wellness"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC13_Timeoff_Recurring_Daily_Every_3days_3NOO() { var test = extent.StartTest("CC13 - Timeoff Recurring Daily Every 3 days After 3 no of occ", "Timeoff Recurring All Day added from Clinic Calendar Every every 3 days After 3 no of occ"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff butto timeoff.Timeofftitle("Test 3 recurring 5minutes"); // Timeof timeoff.TimeoffDetails("Test Details 3"); // Timeoff Details timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitio timeoff.TimeoffRepeat(); // Repeat timeoff.Repeats("Daily"); // Repeats timeoff.RepeatsEvery("3");; // Repeats Eve timeoff.Timeoff_StartDate_and_Time("07/11/2018", "11:00:00", "25"); // Timeoff StartDate & Tim timeoff.AfterNumberOfOccuresces("3"); // After Number of Occuren timeoff.TimeoffLocation("Locatie2"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC20_Timeoff_Recurring_Weekday_Allday_EOD() { var test = extent.StartTest("CC20 - Timeoff Recurring Weekday All Day till End of Date", "Timeoff Recurring Weekday All Day added from Clinic Calendar till End of Date"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff butto timeoff.Timeofftitle("Test 10"); // Timeoff Title timeoff.TimeoffDetails("Test details 10"); // Timeoff Details timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitioner timeoff.TimeoffRepeatAllDay(); // Repeats All Day timeoff.TimeoffRepeat(); // Repeat timeoff.Repeats("Every weekday (Monday to Friday)"); // Repeat timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", ""); // Timeoff StartDate timeoff.Recurring_EndDate("11/06/2018"); // Recurring End Date timeoff.TimeoffLocation("Locatie5"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC26_Timeoff_Recurring_Monthly_EOD() { var test = extent.StartTest("CC26 - Timeoff Recurring Monthly till end of date", "Timeoff Recurring Monthly added from Clinic Calendar till End of Date"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff button timeoff.Timeofftitle("Test 16"); // Timeoff T timeoff.TimeoffDetails("Test Details 16"); // Timeoff Details timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practiti timeoff.TimeoffRepeat(); // Repeat timeoff.Repeats("Monthly"); // timeoff.RepeatsEvery("2"); // R timeoff.Timeoff_StartDate_and_Time("07/11/2018", "11:00:00", "70"); // Timeoff StartDate & Tim timeoff.Recurring_EndDate("11/05/2018"); // Recurring End Date timeoff.TimeoffLocation("Bear Mask Acupuncture"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC27_Timeoff_Recurring_Monthly_Allday_4NOO() { var test = extent.StartTest("CC27 - Timeoff Recurring Monthly All Day after 4 no of occurences", "Timeoff Recurring Monthly All Day added from Clinic Calendar after 4 no of occurences"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff b timeoff.Timeofftitle("Test 17"); // Timeoff timeoff.TimeoffDetails("Test Details 17"); // Timeoff Detai timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitione timeoff.TimeoffRepeatAllDay(); // Repeats All Da timeoff.TimeoffRepeat(); // Rep timeoff.Repeats("Monthly"); // Repeats timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", ""); // Timeoff StartDate & timeoff.AfterNumberOfOccuresces("4"); // After Number of Occurences timeoff.TimeoffLocation("Bear Mask Acupuncture"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC24_Timeoff_Recurring_Weekly_Every_Week_Allday_EOD() { var test = extent.StartTest("CC24 - Timeoff Recurring Weekly All Day every week till end of date", "Timeoff Recurring Weekly All Day added from Clinic Calendar every week till End of Date"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff butt timeoff.Timeofftitle("Test 14"); // Timeoff Tit timeoff.TimeoffDetails("Test Details 14"); // Timeoff Detai timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitioner timeoff.TimeoffRepeatAllDay(); // Repeats All timeoff.TimeoffRepeat(); // Re timeoff.Repeats("Weekly"); // Repeat timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", ""); // Timeoff StartDate & timeoff.Recurring_EndDate("11/05/2018"); // Recurring En timeoff.TimeoffLocation("New York Place"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC28_Timeoff_Recurring_Monthly_Allday_EOD() { var test = extent.StartTest("CC28 - Timeoff Recurring Monthly All Day till end of date", "Timeoff Recurring Monthly All Day added from Clinic Calendar till End of Date"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff butto timeoff.Timeofftitle("Test 18"); // Timeoff Title timeoff.TimeoffDetails("Test Details 18"); // Timeoff De timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitioner timeoff.TimeoffRepeatAllDay(); // Repeats All Day timeoff.TimeoffRepeat(); // Repeat timeoff.Repeats("Monthly"); // timeoff.RepeatsEvery("2"); // Repeats Ever timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", ""); // Timeoff StartDate & Time timeoff.Recurring_EndDate("15/05/2018"); // Recurring End D timeoff.TimeoffLocation("Ciuc Wellness"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC15_Timeoff_Recurring_Daily_Allday_Every_3days_3NOO() { var test = extent.StartTest("CC15 - Timeoff Recurring Daily All Day after no. of occ", "Timeoff Recurring Daily All Day added from Clinic Calendar Every 3 days after 3 no of Occurences "); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff button timeoff.Timeofftitle("Test 5 "); // Timeoff Title timeoff.TimeoffDetails("Test Details 5"); // Timeoff Details timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitioner timeoff.TimeoffRepeatAllDay(); // Repeat All Day timeoff.TimeoffRepeat(); // Rep timeoff.Repeats("Daily"); // Repeats timeoff.RepeatsEvery("3");; // Repeats Every timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", ""); // Timeoff StartDate & Ti timeoff.AfterNumberOfOccuresces("3"); // After Number of Occur timeoff.TimeoffLocation("New York Place"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC16_Timeoff_Recurring_Daily_Allday_Every_5days_EOD() { var test = extent.StartTest("CC16 - Timeoff Recurring Daily All Day till end of date", "Timeoff Recurring Daily All Day added from Clinic Calendar every 5 days till End of Date"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff timeoff.Timeofftitle("Test 6"); // Timeoff Ti timeoff.TimeoffDetails("Test Details 6"); // Timeoff Det timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitio timeoff.TimeoffRepeatAllDay(); // Repeat timeoff.TimeoffRepeat(); // Repea timeoff.Repeats("Daily"); // timeoff.RepeatsEvery("5");; // Repeats Every timeoff.Timeoff_StartDate_and_Time("07/11/2018", "", ""); // Timeoff StartDate & timeoff.Recurring_EndDate("06/27/2018"); // Recurring End timeoff.TimeoffLocation("Buzau"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC22_Timeoff_Recurring_Weekly_Every_Week_EOD() { var test = extent.StartTest("CC22 - Timeoff Recurring Weekly every week till end of date", "Timeoff Recurring Weekly added from Clinic Calendar every week till End of Date"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff button timeoff.Timeofftitle("Test 12"); // Timeoff Tit timeoff.TimeoffDetails("Test Details 12"); // Timeoff Detail timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitioner timeoff.TimeoffRepeat(); // Repeat timeoff.Repeats("Weekly"); // Repeats timeoff.Mark_Tuesday(); // Mark Tuesday timeoff.Mark_Saturday(); // Mark Saturda timeoff.Timeoff_StartDate_and_Time("07/11/2018", "20:00:00", "45"); // Timeoff StartDate & Ti timeoff.Recurring_EndDate("5"); // Recurring End of Date timeoff.TimeoffLocation("Canada Location"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }
public void CC21_Timeoff_Recurring_Weekly_Every_2Week_5NOO() { var test = extent.StartTest("CC21 - Timeoff Recurring Weekly every 2 weeks after 5 occurences", "Timeoff Recurring Weekly added from Clinic Calendar after 5 number of occurences"); LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage timeoff = new ClinicCalendarPage(); timeoff.Book_TimeOff_Button(); //Book Timeoff button timeoff.Timeofftitle("Test 11"); // Timeoff T timeoff.TimeoffDetails("Test Details 11"); // Timeoff Detail timeoff.Set_Timeoff_for_Practitioner("Tim Lucian Rogers"); // Timeoff Practitio timeoff.TimeoffRepeat(); // Rep timeoff.Repeats("Weekly"); // Repeats timeoff.RepeatsEvery("2");; // Repeats Every timeoff.Mark_Tuesday(); // Mark Tu timeoff.Mark_Friday(); // Mark F timeoff.Timeoff_StartDate_and_Time("07/11/2018", "07:00:00", "60"); // Timeoff StartDate & Time timeoff.AfterNumberOfOccuresces("5"); // After Number of Occuren timeoff.TimeoffLocation("Ciuc Wellness"); // Timeoff Location timeoff.TimeoffSave(); extent.EndTest(test); extent.Flush(); }