示例#1
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);
        }