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); }
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); } }
public Cleanup(WiniumMethods m, ILog debugLog) { this.m = m; this.debugLog = debugLog; }
public SearchRecognize(WiniumMethods m, Actions action, ILog debugLog) { this.m = m; this.action = action; this.debugLog = debugLog; }
public IntactSetup(WiniumMethods m) { this.m = m; }
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; }