public static void DoubleClick(UITestControl control, Point relativeCoordinate) { control.DoubleClick(ModifierKeys.None, relativeCoordinate); }
public static void Hover(UITestControl control) { Move(control); }
public static void DoubleClick(UITestControl control) { control.DoubleClick(ModifierKeys.None, null); }
public static void DoubleClick(UITestControl control, ModifierKeys modifierKeys) { control.DoubleClick(modifierKeys, null); }
public UITestControl(UITestControl parent, ISearchContext parentSearchContext) : this(parent) { ParentSearchContext = parentSearchContext; }
public static void Move(UITestControl control) { control.MoveToElement(null); }
public static void Click(UITestControl control) { control.Click(MouseButtons.Left, ModifierKeys.None, null); }
public static void SendKeys(UITestControl control, string text) { SendKeys(text, control, ModifierKeys.None); }
public static void StopDragging(UITestControl control) { ControlToDrag.DragAndDropTo(control); }
public static void StopDragging(UITestControl control, Point relativeCoordinate) { StopDragging(control, relativeCoordinate.X, relativeCoordinate.Y); }
public static void StartDragging(UITestControl control) { ControlToDrag = control; }
public static void MoveScrollWheel(UITestControl control, int wheelMoveCount, ModifierKeys modifierKeys) { throw new NotImplementedException(); }
public static void MoveScrollWheel(UITestControl control, int wheelMoveCount) { long currentPosition = control.ScrollWheelPosition; control.ScrollWheelPosition = currentPosition + (wheelMoveCount * 100); }
public static void Hover(UITestControl control, Point relativeCoordinate) { Move(control, relativeCoordinate); }
public static void Click(UITestControl control, MouseButtons button, ModifierKeys modifierKeys) { control.Click(button, modifierKeys, null); }
internal void DragAndDropTo(UITestControl control) { BrowserWindow browserWindow = TopParent as BrowserWindow; new Actions(browserWindow.Driver).DragAndDrop(this.WebElement, control.WebElement).Perform(); }
public static void Click(UITestControl control, MouseButtons button, ModifierKeys modifierKeys, Point relativeCoordinate) { control.Click(button, modifierKeys, relativeCoordinate); }
public static void SendKeys(UITestControl control, string text, ModifierKeys modifierKeys) { SendKeys(text, control, modifierKeys); }
public static void Click(UITestControl control, Point screenCoordinate) { control.Click(MouseButtons.Left, ModifierKeys.None, screenCoordinate); }
public UITestControl(UITestControl parent, IWebElement webElement) : this(parent) { privateWebElement = webElement; }
public static void Move(UITestControl control, Point relativeCoordinate) { control.MoveToElement(relativeCoordinate); }