示例#1
0
        public void UpdateBooking_AllParams()
        {
            BookingSearch();
            BookingSearchMainPage booksearch = new BookingSearchMainPage(this.Driver);

            booksearch.ClickOnBookAnatherResourceForUpdateBooking();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            Thread.Sleep(3000);
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(8000);
            CreateBooking.GotoSummaryPage();
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            Thread.Sleep(3000);
            bookingsummary.clickOnAddAddon();
            Thread.Sleep(3000);
            booksearch.UpdateHost();
            booksearch.UpdateRequester();
            booksearch.UpdateParticipants_BookingType();
            booksearch.Update_Notes();
            booksearch.UpdateSpecialRequest_bookingStatus();
            booksearch.EnterNewTitle();
            booksearch.ClickonSaveEditedrecord();
        }
示例#2
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);
        }