public void Case3622()//Assign to Sumit - Done { utilities.ConsoleMessageStart(); utilities.extenttest = utilities.extent.StartTest("TFS Case 3622 Resource notes not displaying on My bookings page"); utilities.extenttest.AssignCategory("Case 3622. Resource notes not showing on my bookings page."); webappLogin.NavigateTo(); webappLogin.LogInSuccess(); //WebApp Login Thread.Sleep(4000); try { NewBookingMain.AccessingNewBookingLink();//New booking link NewBookingMain.FromDate(); Thread.Sleep(2000); NewBookingMain.ToDate(); Thread.Sleep(1000); NewBookingMain.SearchButton(); Thread.Sleep(1000); NewBookingMain.SelectMultiResourceforBooking();// Select multiresource for booking Thread.Sleep(1000); NewBookingMain.GoToSummary(); Thread.Sleep(2000); booking.BookingTitle(); Thread.Sleep(2000); NewBookingMain.participantcount(); // Add no of paricipant Thread.Sleep(2000); NewBookingMain.AddPeople(); // click on Add People tab Thread.Sleep(2000); webAppBookingSummaryMain.internalsearchbox(); // Search for internal Atendee Thread.Sleep(2000); webAppBookingSummaryMain.internalsearchboxfornextAttendee(); Thread.Sleep(2000); NewBookingMain.SelectAttendeeforresource();// select attendee for booking Thread.Sleep(1000); booking.SaveandexistBooking(); Thread.Sleep(2000); //Open New Tab in the Same window and continue on the new Window. ((IJavaScriptExecutor)driver).ExecuteScript("window.open();"); driver.SwitchTo().Window(driver.WindowHandles.Last()); Thread.Sleep(2000); login.NavigateTo(); //Navigate to QB login.LoginSuccess(); //Login to QB Thread.Sleep(4000); mybookings.MyBookingsSelect(); Thread.Sleep(1000); editBookingMain_s.EditBookingPencil(); Thread.Sleep(2000); booking.EditForAddPeople(); Thread.Sleep(1000); booking.QBAteendee();//Verify Assign Attendee added from Webapp with respective Resource Thread.Sleep(1000); Console.WriteLine("TFS case 3622 run Sucessfully! "); } catch { Console.WriteLine("TFS case 3622 Failed !!"); } }