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

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

            diary.FFT47_selectDiaryCellForRecurBooking();
            Thread.Sleep(1000);
            diary.SelectRecurBooking_Checkbox();
            Thread.Sleep(2000);
            diary.FFTTest46_EnterFromandToDateSlot_10111();
            diary.SelectDailyRecurringBooking();
            diary.SelectDailyRecurBookingDates();
            diary.ShowTargetDate_ContinueBooking_recur();
            diary.FFTTest46_clickOncontinuewithbookingTime_1011();
            Thread.Sleep(4000);
            diary.EnterTitleForRecurringBooking();
            Thread.Sleep(2000);
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(10000);
            bookingsummary.clickonGoToDIary();
        }
Exemplo n.º 2
0
        public void FFT203_SetUPBreakdownOverlap()
        {
            //createFirstBookingWithsetUPbreakdownTime12To1
            LoginMainPage gg = new LoginMainPage(this.Driver);

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

            diary.FFTTest203_SelectAndContinueWithBookingFirst12to1PM();
            diary.EnterFromandToDateSlot_12to1PM();
            diary.FFTTest46_clickOncontinuewithbookingTime_1011(); //JustClickingOnContinuewithBooking
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            Thread.Sleep(3000);
            bookingsummary.ENterSetUPtime();
            bookingsummary.ENterBreakdowntime();
            bookingsummary.EnterTitle();
            bookingsummary.clickonsave();
            Thread.Sleep(2000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(3000);

            //CreateBooking with setUp Breakdown Time 2to3
            diary.FFTTest203_SelectAndContinueWithBookingFirst2PMto3PM();
            diary.EnterFromandToDateSlot_2PMto3PM();
            diary.FFTTest46_clickOncontinuewithbookingTime_1011();
            Thread.Sleep(3000);
            bookingsummary.ENterSetUPtime();
            bookingsummary.ENterBreakdowntime();
            bookingsummary.EnterTitle();
            bookingsummary.clickonsave();
            Thread.Sleep(2000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(3000);
            diary.FFTTest203_DragandDropto_NewTime();
            Thread.Sleep(5000);
            Driver.SwitchTo().Frame(Driver.FindElement(By.Id("frmPnlMove")));
            Thread.Sleep(2000);
            diary.FFTTest203_ChangeDateTime_ForMoveBooking();
            Thread.Sleep(4000);
            diary.ClickOn_confirmMoveBooking();
        }
Exemplo n.º 3
0
        public void FFT85_MainTest()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(2000);
            DiaryMainPage diary = new DiaryMainPage(this.Driver);

            diary.FFTTest49_SelectAndContinueWithBooking_UDF();
            Thread.Sleep(2000);
            diary.FFTTest46_EnterFromandToDateSlot_10111();
            diary.FFTTest46_clickOncontinuewithbookingTime_1011();
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            bookingsummary.FFT49_ENterUDFValues();
            bookingsummary.EnterTitle();
            Thread.Sleep(2000);
            bookingsummary.clickonsave();
        }
Exemplo n.º 4
0
        public void FFT46()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            DiaryMainPage dd = new DiaryMainPage(this.Driver);

            dd.FFTTest46_SelectAndContinueWithBookingFirst();
            dd.FFTTest46_EnterFromandToDateSlot_10111();
            dd.FFTTest46_clickOncontinuewithbookingTime_1011();

            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            Thread.Sleep(3000);
            bookingsummary.EnterTitleFFT_46Case1();
            Thread.Sleep(1000);
            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(9000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(7000);
            dd.FFTTest46_SelectAndContinueWithBookingTarget();
            Thread.Sleep(5000);
            bookingsummary.EnterTitleFFT_46Case2();
            Thread.Sleep(1000);
            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(7000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(7000);
            dd.FFTTest46_DragandDrop();
            Thread.Sleep(3000);
            Driver.SwitchTo().Frame(Driver.FindElement(By.Id("frmPnlMove")));
            Thread.Sleep(1000);
            dd.ClickOn_confirmMoveBooking();
            Thread.Sleep(8000);
            bookingsummary.BookingSummaryValidate().DisplayAlternteResource();
            Thread.Sleep(5000);
        }