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); }