コード例 #1
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();
        }