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);
 }
示例#3
0
 public void SetupTest()
 {
     //Init driver and call classes
     this.driver              = new ChromeDriver();
     this.loginMain           = new WebAppLoginMain(this.driver);
     this.utilities           = new UtilitiesMain(this.driver);
     this.BREMain             = new BusinessRuleSettingsMain(this.driver);
     this._bookingSummaryMain = new BookingSummaryMain(this.driver);
     this.newBookingMain      = new NewBookingMain(this.driver);
     this.adminMain           = new AdministrationMain(this.driver);
     utilities.ReportSetup();
 }
 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);
 }
示例#5
0
 public void Setup()
 {
     BookingSummaryMain bookingSummaryMain = new BookingSummaryMain(this.driver);
     NewBookingMain     newBookingMain     = new NewBookingMain(this.driver);
 }