예제 #1
0
 public UserMethods(ILog log)
 {
     debugLog = log;
     options.ApplicationPath = ConfigurationManager.AppSettings.Get("IntactPath");
     driver = new WiniumDriver(ConfigurationManager.AppSettings.Get("DriverPath"), options);
     driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(double.Parse(ConfigurationManager.AppSettings.Get("DriverPath"))));
     action = new Actions(driver);
     m      = new WiniumMethods(driver, debugLog);
 }
예제 #2
0
 public Create(WiniumMethods m, Actions action, ILog debugLog)
 {
     this.m        = m;
     this.action   = action;
     this.debugLog = debugLog;
     //make sure that window is maximized for elements to be visible
     window = m.Locate(By.Id("frmIntactMain"));
     if (m.IsElementPresent(By.Name("Maximize"), window))
     {
         m.Click(By.Name("Maximize"), window);
     }
 }
예제 #3
0
 public Cleanup(WiniumMethods m, ILog debugLog)
 {
     this.m        = m;
     this.debugLog = debugLog;
 }
예제 #4
0
 public SearchRecognize(WiniumMethods m, Actions action, ILog debugLog)
 {
     this.m        = m;
     this.action   = action;
     this.debugLog = debugLog;
 }
예제 #5
0
 public IntactSetup(WiniumMethods m)
 {
     this.m = m;
 }
예제 #6
0
 public Misc(WiniumMethods m, Actions action, ILog debugLog)
 {
     this.m        = m;
     this.action   = action;
     this.debugLog = debugLog;
 }
 public DocumentCollect(WiniumMethods m, Actions action, ILog debugLog)
 {
     this.m        = m;
     this.action   = action;
     this.debugLog = debugLog;
 }