예제 #1
0
 public void Setup()
 {
     this.browser = Browser.Chrome;
     this.driver  = WebDriverFactory.CreateLocalDriver(this.browser);
     this.driver.Manage().Window.Maximize();
     this.sampleApplicationPage = new SampleApplicationPage(this.driver);
     this.testUser          = new TestUser("Kamen", "Yosifov", Gender.Male);
     this.emergencyTestUser = new TestUser("Emergency", "Name", Gender.Other);
 }
예제 #2
0
 public void BaseSetup()
 {
     this.Driver = WebDriverFactory.CreateLocalDriver(Browser.Chrome);
     this.Eyes   = new Eyes
     {
         ApiKey = ApplitoolApiKey
     };
     this.Eyes.Batch = this.MyBatchInfo;
     this.Javascript = (IJavaScriptExecutor)this.Driver;
 }