示例#1
0
        public void FFT202()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

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

            dd.FFTTest202_SelectAndContinueWithBooking();
            Thread.Sleep(3000);
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            bookingsummary.EnterTitleFFT_202();
            Thread.Sleep(2000);
            bookingsummary.ENterSetUPtime();
            Thread.Sleep(2000);
            bookingsummary.ENterBreakdowntime();
            Thread.Sleep(2000);
            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(7000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(7000);
            dd.FFTTest202_DragandDrop();
            Thread.Sleep(6000);
            Driver.SwitchTo().Frame(Driver.FindElement(By.Id("frmPnlMove")));
            dd.ClickOn_confirmMoveBooking();
            Thread.Sleep(6000);
            dd.FFTTest202_ClickOnMovedBooking_Time();
            Thread.Sleep(4000);
            bookingsummary.VerifySetUpBreakdownTime_ForMovedBooking();
        }