Exemplo n.º 1
0
 public TablePlugin(IWebDriver driver)
 {
     this.driver               = driver;
     commonMethods             = new CommonMethods(driver);
     datePickerCalendarPlugine = new DatePickerCalendarPlugin(driver);
     pageBlockers              = new PageBlockers(driver);
 }
Exemplo n.º 2
0
        protected void Initialize()
        {
            driver = new ChromeDriver();
            driver.Manage().Window.Maximize();
            driver.Url = loginModel.SentrifugoDev;

            logInPage                 = new LoginPage(driver);
            commonMethods             = new CommonMethods(driver);
            dashboardPage             = new DashboardPage(driver);
            userProfilePage           = new UserProfilePage(driver);
            selfServicePage           = new SelfServicePage(driver);
            datePickerCalendarPlugine = new DatePickerCalendarPlugin(driver);
            tablePlugin               = new TablePlugin(driver);
            header       = new Header(driver);
            pageBlockers = new PageBlockers(driver);
            LogUtil.WriteDebug("**********Starting execution of a new test**********");
            LogUtil.WriteDebug("Opened Chrome browser");
            LogUtil.WriteDebug("Navigating to " + loginModel.SentrifugoDev);
        }