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);
     utilities.ReportSetup();
 }
 public void SetupTest()
 {
     this.driver    = new ChromeDriver();
     this.login     = new LoginMain(this.driver);
     this.homepage  = new HomepageMain(this.driver);
     this.attendees = new AttendeesMain(this.driver);
     this.utilities = new UtilitiesMain(this.driver);
     this.utilities = new UtilitiesMain(this.driver);
     utilities.ReportSetup();
 }
Esempio n. 3
0
 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.booking   = new BookingMain(this.driver);
     this.attendee  = new AttendeesMain(this.driver);
     this.utilities = new UtilitiesMain(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.editbooking = new EditBookingMain(this.driver);
            this.utilities   = new UtilitiesMain(this.driver);
            this.mybooking   = new MyBookings(this.driver);
            this.bookings    = new BookingMain(this.driver);
            //this.EditBooking = new EditBookingMain(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);
 }
        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.utilities = new UtilitiesMain(this.driver);
            utilities.ReportSetup();
            //utilities.ConsoleOutput();
            //Report Setup But this is moved to Utilities. Using it from there.

            /* string path = System.Reflection.Assembly.GetCallingAssembly().CodeBase;
             * string actualPath = path.Substring(0, path.LastIndexOf("bin"));
             * string projectPath = new Uri(actualPath).LocalPath;
             * string reportPath = projectPath + "Reports\\Build v6.4.1(Fuji) " + DateTime.Now.ToString("yyyy-MM-dd HH-mm") + ".html";
             * extent = new ExtentReports(reportPath, true);
             * extent.AddSystemInfo("Host Name", "PC 47");
             * extent.AddSystemInfo("Environment", "QA");
             * extent.AddSystemInfo("User Name", "Mohit Sharma");
             * string file = @"F:\Automation Testing\QuickBook Automation Team Code\QuickBookAutomation\UnitTests\Reports\extent-config.xml";
             * extent.LoadConfig(file);*/
        }