コード例 #1
0
 public void TestInitialize()
 {
     var driver = new FirefoxDriver(new FirefoxProfile());
     base.BaseTestInitialize(driver, BaseUrl, 30);
     this.loginPage = new LoginPage(driver);
     this.profilePage = new ProfilePage(driver);
     this.yourAccountPage = new YourAccountPage(driver);
 }
コード例 #2
0
 public void TestInitialize()
 {
     this.profile = new FirefoxProfile();
     this.profile.SetPreference("javascript.enabled", false);
     var driver = new FirefoxDriver(profile);
     base.BaseTestInitialize(driver, BaseUrl, 20);
     this.loginPage = new LoginPage(driver);
     this.profilePage = new ProfilePage(driver);
     this.yourAccountPage = new YourAccountPage(driver);
 }