Beispiel #1
0
 public LoginPage(IWebDriver driver)
 {
     this.driver   = driver;
     dashboardPage = new DashboardPage(driver);
     commonMethods = new CommonMethods(driver);
     header        = new Header(driver);
 }
Beispiel #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);
        }
Beispiel #3
0
 public UserProfilePage(IWebDriver driver)
 {
     this.driver   = driver;
     dashboardPage = new DashboardPage(driver);
     commonMethods = new CommonMethods(driver);
 }