Ejemplo n.º 1
0
        public void FFT47_Main()   //UpdateRecurringBooking And Verify for updated records
        {
            LoginMainPage gg = new LoginMainPage(this.Driver);

            gg.Navigate();
            gg.Login();
            Thread.Sleep(2000);
            DiaryMainPage          diary          = new DiaryMainPage(this.Driver);
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            Thread.Sleep(1000);
            diary.FFT47_selectDiaryCellForRecurBooking();
            Thread.Sleep(1000);
            diary.FFT47_SwitchtorecurringBookingPanel();
            Thread.Sleep(1000);
            diary.FFT47_SelectEntireSeries();
            Thread.Sleep(3000);
            BookingSearchMainPage booksearch = new BookingSearchMainPage(this.Driver);

            booksearch.UpdateSpecialRequest_bookingStatus();
            Thread.Sleep(2000);
            diary.FFT_47_RecurBookingupdatedTitle();
            Thread.Sleep(2000);
            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(5000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(3000);
            diary.FFT47_SwitchtoDateTableOnDiary();
            diary.FFT_47_SelectNextDate();
            Thread.Sleep(3000);
            diary.FFT47_selectDiaryCellForRecurBooking();
            Thread.Sleep(5000);
            diary.FFT47_SwitchtorecurringBookingPanel();
            Thread.Sleep(5000);
            diary.FFT47_SelectEntireSeries();
            Thread.Sleep(6000);
            diary.FFT_47_ValidateUpdatedBookingTitle();
            Thread.Sleep(2000);
        }