Exemplo n.º 1
0
        public void FFT_276Cutoffs()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(2000);
            PropertySettingMainPage propertyset = new PropertySettingMainPage(this.Driver);

            //propertyset.Clear_AddonNotice_CutOff();
            Thread.Sleep(2000);
            AddonMainPage addon = new AddonMainPage(this.Driver);
            // addon.FFT_276_Set48HoursforWeekend_CutOffTime3PM_2HrPeriod();
            BREMainPage bre = new BREMainPage(this.Driver);
            //bre.FFT_269_48CutOffRuleForFriday();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            Thread.Sleep(2000);
            CreateBooking.SelectTime_3AM();
            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_276();
            Thread.Sleep(2000);
            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(3000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(3000);
            bookingsummary.NavigateTosrviceTrackerPage();
        }