예제 #1
0
 public CreateAccountPage(IWebDriver driver, MainNavigationView mainNavigationView)
 {
     PageFactory.InitElements(driver, this);
     this.driver             = driver;
     this.mainNavigationView = mainNavigationView;
 }
 public void TestInit()
 {
     driver = new FirefoxDriver();
     mainNavigationView = new MainNavigationView(this.driver);
     createAccountPage = new CreateAccountPage(this.driver, mainNavigationView);
 }
 public CreateAccountPage(IWebDriver driver, MainNavigationView mainNavigationView)
 {
     PageFactory.InitElements(driver, this);
     this.driver = driver;
     this.mainNavigationView = mainNavigationView;
 }