public void WaitlistBookingValidation()
        {
            utilities.ConsoleMessageStart();
            utilities.extenttest = utilities.extent.StartTest("Waitlist booking validation");
            utilities.extenttest.AssignCategory("New Booking Tests");
            callingloginmethods();
            newbookingMain.AccessingNewBookingLink();
            // newbookingMain.SearchTomorrowsDate();
            //  newbookingMain.DurationHourDropdown();
            Thread.Sleep(3000);
            // newbookingMain.DurationMinutesDropdown();
            newbookingMain.WaitlistCheckBox();
            newbookingMain.SearchButton();
            Thread.Sleep(2000);
            newbookingMain.SelectingFirstResource();
            Thread.Sleep(2000);


            bool wait = this.Map.waitlistbookingcheckbox.Selected;

            //Console.WriteLine(wait);

            newbookingMain.GoToSummary();

            SelectElement bookingstatus         = new SelectElement(this.Map.bookingstatusdropdown);
            string        SelectedBookingStatus = bookingstatus.SelectedOption.Text;

            //Console.WriteLine(SelectedBookingStatus);

            var c = this.driver.FindElement(By.XPath("//*[@id='ctl00_MainContentPlaceHolder_lblwaitlist']"));

            if (wait == true && (SelectedBookingStatus == "Waitlist") && c.Text.Contains("THIS IS A WAITLIST BOOKING"))
            {
                Console.WriteLine("WaitList CheckBox : " + wait);
                Console.WriteLine("Booking Status : " + SelectedBookingStatus);
                Console.WriteLine("This is a waitlist booking text displayed : " + c.Text.Contains("THIS IS A WAITLIST BOOKING"));
                Console.WriteLine("Test Pass");
                utilities.extenttest.Log(LogStatus.Pass, "Assert pass ");
                Assert.Pass();
            }
            else
            {
                Console.WriteLine("Booking is not a waitlist booking.");
                Assert.Fail();
            }
        }