public void FFT233_AddonStockType() { LoginMainPage logint = new LoginMainPage(this.Driver); logint.Navigate(); logint.Login(); Thread.Sleep(2000); AddonMainPage addon = new AddonMainPage(this.Driver); addon.FFT_232StockType_WithStockAndCOnfigurations(); CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver); //***create Booking with addon quantity 4 CreateBooking.CreateBookingNavigation(); Thread.Sleep(2000); CreateBooking.searchButtonclick(); Thread.Sleep(5000); CreateBooking.CreateBookingValidate().TestResourceCheckbox(); CreateBooking.selectingtheresource(); Thread.Sleep(3000); CreateBooking.GotoSummaryPage(); Thread.Sleep(4000); Addons_FromNewBookingPage addAddon = new Addons_FromNewBookingPage(this.Driver); addAddon.CliCkOnAddAddon_FromBookingSummary(); Thread.Sleep(2000); addAddon.add_addon_Bread_VerifyStock(); addAddon.ClickOnAddAddonButton(); addAddon.clickOnGoToSummaryFromAddonPage(); Thread.Sleep(3000); BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver); bookingsummary.EnterTitle(); Thread.Sleep(2000); bookingsummary.clickonsave(); //****Create Booking with addon quantity 3 CreateBooking.CreateBookingNavigation(); Thread.Sleep(2000); CreateBooking.searchButtonclick(); Thread.Sleep(5000); CreateBooking.CreateBookingValidate().TestResourceCheckbox(); CreateBooking.selectingtheresource(); Thread.Sleep(3000); CreateBooking.GotoSummaryPage(); Thread.Sleep(4000); addAddon.CliCkOnAddAddon_FromBookingSummary(); Thread.Sleep(2000); addAddon.add_addon_Bread_VerifyStock(); Thread.Sleep(3000); addAddon.AddonQuantity3(); addAddon.ClickOnAddAddonButton(); addAddon.clickOnGoToSummaryFromAddonPage(); Thread.Sleep(2000); bookingsummary.clickonsave(); Thread.Sleep(2000); bookingsummary.FFT233_Is_AddonOutOfStock_PopUPEnabled(); }
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); }
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); }
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(); }
public void CreateBookingSimpleFromDiary() { 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.EnterTitle(); Thread.Sleep(5000); bookingsummary.clickonsave(); Thread.Sleep(2000); }
public void FFT50() { LoginMainPage logint = new LoginMainPage(this.Driver); logint.Navigate(); logint.Login(); Thread.Sleep(2000); DiaryMainPage diary = new DiaryMainPage(this.Driver); diary.FFTTest49_SelectAndContinueWithBooking_UDF(); BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver); bookingsummary.FFT_50_ClearChildUDFSelection(); Thread.Sleep(2000); bookingsummary.clickonsave(); Thread.Sleep(3000); bookingsummary.FFT_50InvalidUDFContent(); }
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(); }
public void Create_SimpleBooking_FromNewBookingOption() { 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(5000); bookingsummary.EnterTitle(); Thread.Sleep(5000); bookingsummary.clickonsave(); Thread.Sleep(2000); }