Esempio n. 1
0
        public void FFT200()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

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

            dd.FFTTest200_SelectAndContinueWithBooking();
            Thread.Sleep(1000);
            BookingSummaryMainPage    bookingsummary = new BookingSummaryMainPage(this.Driver);
            Addons_FromNewBookingPage addAddon       = new Addons_FromNewBookingPage(this.Driver);

            //  addAddon.CliCkOnAddAddon_FromBookingSummary();
            Thread.Sleep(3000);
            Thread.Sleep(2000);
            bookingsummary.clickOnAddAddon();
            Thread.Sleep(3000);
            bookingsummary.EnterTitleFFT_200();
            Thread.Sleep(5000);
            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(7000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(7000);
            dd.FFTTest200_DragandDrop_Chnageroom();
            Thread.Sleep(7000);
            dd.ClickConfirmChangeRoom();
            Thread.Sleep(3000);
            dd.ClickOnMovedBooking_Room();
            Thread.Sleep(3000);
            bookingsummary.FFT200_clickonAddAdon_Button_Verify_AddedAddon();
            Thread.Sleep(3000);
        }
Esempio n. 2
0
        public void CreateBookingFromDiary_Addons_Vissitors()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

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

            dd.selectDiaryCellandContinuwithBooking();
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            Thread.Sleep(3000);
            bookingsummary.clickOnAddAddon();
            Thread.Sleep(3000);
            bookingsummary.clickonAddPplTab();
            //Thread.Sleep(3000);
            bookingsummary.AddInternalVisitors();
            Thread.Sleep(3000);
            bookingsummary.PopUPHandling();
            Thread.Sleep(3000);
            bookingsummary.GotoSummaryPagefromVisitors();
            Thread.Sleep(3000);
            bookingsummary.EnterTitle();
            Thread.Sleep(5000);
            bookingsummary.clickonsave();
            Thread.Sleep(2000);
        }
Esempio n. 3
0
        public void CreateBooking_withAddon_andVisitors()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

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

            CreateBooking.CreateBookingNavigation();
            Thread.Sleep(3000);
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(8000);
            CreateBooking.GotoSummaryPage();
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            Thread.Sleep(3000);
            bookingsummary.clickOnAddAddon();
            Thread.Sleep(3000);
            bookingsummary.clickonAddPplTab();
            //Thread.Sleep(3000);
            bookingsummary.AddInternalVisitors();
            Thread.Sleep(3000);
            bookingsummary.PopUPHandling();
            Thread.Sleep(3000);
            bookingsummary.GotoSummaryPagefromVisitors();
            Thread.Sleep(3000);
            bookingsummary.EnterTitle();
            Thread.Sleep(5000);
            bookingsummary.clickonsave();
            Thread.Sleep(2000);
        }
Esempio n. 4
0
        public void UpdateBooking_AllParams()
        {
            BookingSearch();
            BookingSearchMainPage booksearch = new BookingSearchMainPage(this.Driver);

            booksearch.ClickOnBookAnatherResourceForUpdateBooking();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            Thread.Sleep(3000);
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(8000);
            CreateBooking.GotoSummaryPage();
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            Thread.Sleep(3000);
            bookingsummary.clickOnAddAddon();
            Thread.Sleep(3000);
            booksearch.UpdateHost();
            booksearch.UpdateRequester();
            booksearch.UpdateParticipants_BookingType();
            booksearch.Update_Notes();
            booksearch.UpdateSpecialRequest_bookingStatus();
            booksearch.EnterNewTitle();
            booksearch.ClickonSaveEditedrecord();
        }
Esempio n. 5
0
        public void UpdateBooking_withResource_addon()
        {
            BookingSearch();
            BookingSearchMainPage booksearch = new BookingSearchMainPage(this.Driver);

            booksearch.ClickOnBookAnatherResourceForUpdateBooking();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            Thread.Sleep(3000);
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(8000);
            CreateBooking.GotoSummaryPage();
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            Thread.Sleep(3000);
            bookingsummary.clickOnAddAddon();
            Thread.Sleep(3000);
            booksearch.ClickonSaveEditedrecord();
        }