public TestObject(ITestWindow window, String domain) { this._parentWindow = window; this._domain = domain; SetIdenProperties(); }
public static IntPtr GetApplicationWindowHandle(this ICommandAdapter adapter) { ITestControl testControl = adapter.CreateTestControl(TestControlType.Dialog, ""); if (testControl == null) { throw new InvalidOperationException("activeWindowControl is null"); } ITestWindow testWindow = testControl.GetInterface <ITestWindow>(); var caption = testWindow.Caption; if (!adapter.IsWinAdapter()) { caption += " - Internet Explorer"; return(Win32Declares.WindowHandles.FindWindowByCaption(IntPtr.Zero, caption)); } return(testWindow.GetActiveWindowHandle()); }
public TestObject(ITestWindow window) : this(window, "Unknow") { }
public int GetWindowIndex(ITestWindow window) { return(-1); }
public int GetWindowIndex(ITestWindow window) { return -1; }
public TestController(IResponsiveClient helper, ITestWindow control) : base(helper) { _control = control; }
public TestController(IResponsiveClient helper, ITestWindow view) : base(helper) { _view = view; }