public void SetupTest() { this.driver = new ChromeDriver(); this.loginMain = new WebAppLoginMain(this.driver); this.utilities = new UtilitiesMain(this.driver); this.newbookingMain = new NewBookingMain(this.driver); this.bookingsMain = new BookingsMain(this.driver); utilities.ReportSetup(); }
//Object creation public void Setup() { WebAppLoginMain loginMain = new WebAppLoginMain(this.driver); BusinessRuleSettingsMain breMain = new BusinessRuleSettingsMain(this.driver); AdministrationMain adminMain = new AdministrationMain(this.driver); NewBookingMain newBookingMain = new NewBookingMain(this.driver); BookingSummaryMain bookingSummaryMain = new BookingSummaryMain(this.driver); BookingsMain bookingsMain = new BookingsMain(this.driver); }
//Accessing New Bookings Tab public void AccessingNewBookingLink() { BookingsMain bookingsMain = new BookingsMain(this.driver); Thread.Sleep(4000); bookingsMain.AccessBookingsModule(); driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(20000); bookingsMain.AccessNewBooking(); bookingsMain.AccessNewBookingLink(); }
public void SetupTest() { this.driver = new ChromeDriver(); this.myprofile = new MyProfile(this.driver); this.login = new LoginMain(this.driver); this.homepage = new HomepageMain(this.driver); this.services = new ServicesMain(this.driver); this.utilities = new UtilitiesMain(this.driver); this.attendees = new AttendeesMain(this.driver); this.booking = new BookingMain(this.driver); this.mybookings = new MyBookings(this.driver); this.webappLogin = new WebAppLoginMain(this.driver); this.webappStatus = new StatusMain(this.driver); this.admin = new AdministrationMain(this.driver); this.webAppBookingsMain = new BookingsMain(this.driver); this.webAppBookingSearchMain = new BookingSearchMain(this.driver); this.webAppBookingSummaryMain = new BookingSummaryMain(this.driver); utilities.ReportSetup(); this.editBookingMain_s = new EditBookingMain(this.driver); this.NewBookingMain = new NewBookingMain(this.driver); }
public void setup() { NewBookingMain newBookingMain = new NewBookingMain(this.driver); BookingsMain bookingsMain = new BookingsMain(this.driver); }