Ejemplo n.º 1
0
        public void FFT_273Cutoffs()
        {
            //Creating New Booking With Titile FFT273
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(2000);
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            CreateBooking.SelectTodaysDate_Time12_30PM();
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(3000);
            CreateBooking.GotoSummaryPage();
            Thread.Sleep(4000);
            Addons_FromNewBookingPage addAddon = new Addons_FromNewBookingPage(this.Driver);

            addAddon.CliCkOnAddAddon_FromBookingSummary();
            Thread.Sleep(3000);
            addAddon.FFT_263_Add_addon_CheeseTray();
            Thread.Sleep(2000);
            addAddon.ClickOnAddAddonButton();
            Thread.Sleep(2000);
            addAddon.clickOnGoToSummaryFromAddonPage();
            Thread.Sleep(2000);
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            bookingsummary.EnterTtileFor_FFT_273();
            Thread.Sleep(2000);
            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(3000);
            bookingsummary.clickonGoToDIary();

            //Updating AddonSettings
            AddonMainPage addon = new AddonMainPage(this.Driver);

            addon.FFT_263_SetBookingCutOffPeriod_2Hrs();

            //update ExistingBooking
            bookingsummary.clickonGoToDIary();
            CreateBooking.CreateBookingNavigation();
            BookingSearchMainPage booksearch = new BookingSearchMainPage(this.Driver);

            booksearch.FFT_273_BookingSearch();
            Thread.Sleep(2000);
            bookingsummary.FFT256_ClickOnDateAndTimeOptionOnBookingSummaryPage();
            bookingsummary.SelectToDateTime2_30();
            Thread.Sleep(6000);
            bookingsummary.NavigateTosrviceTrackerPage();
        }