예제 #1
0
 public static void DoubleClick(UITestControl control, Point relativeCoordinate)
 {
     control.DoubleClick(ModifierKeys.None, relativeCoordinate);
 }
예제 #2
0
 public static void Hover(UITestControl control)
 {
     Move(control);
 }
예제 #3
0
 public static void DoubleClick(UITestControl control)
 {
     control.DoubleClick(ModifierKeys.None, null);
 }
예제 #4
0
 public static void DoubleClick(UITestControl control, ModifierKeys modifierKeys)
 {
     control.DoubleClick(modifierKeys, null);
 }
예제 #5
0
 public UITestControl(UITestControl parent, ISearchContext parentSearchContext)
     : this(parent)
 {
     ParentSearchContext = parentSearchContext;
 }
예제 #6
0
 public static void Move(UITestControl control)
 {
     control.MoveToElement(null);
 }
예제 #7
0
 public static void Click(UITestControl control)
 {
     control.Click(MouseButtons.Left, ModifierKeys.None, null);
 }
예제 #8
0
 public static void SendKeys(UITestControl control, string text)
 {
     SendKeys(text, control, ModifierKeys.None);
 }
예제 #9
0
 public static void StopDragging(UITestControl control)
 {
     ControlToDrag.DragAndDropTo(control);
 }
예제 #10
0
 public static void StopDragging(UITestControl control, Point relativeCoordinate)
 {
     StopDragging(control, relativeCoordinate.X, relativeCoordinate.Y);
 }
예제 #11
0
 public static void StartDragging(UITestControl control)
 {
     ControlToDrag = control;
 }
예제 #12
0
 public static void MoveScrollWheel(UITestControl control, int wheelMoveCount, ModifierKeys modifierKeys)
 {
     throw new NotImplementedException();
 }
예제 #13
0
        public static void MoveScrollWheel(UITestControl control, int wheelMoveCount)
        {
            long currentPosition = control.ScrollWheelPosition;

            control.ScrollWheelPosition = currentPosition + (wheelMoveCount * 100);
        }
예제 #14
0
 public static void Hover(UITestControl control, Point relativeCoordinate)
 {
     Move(control, relativeCoordinate);
 }
예제 #15
0
 public static void Click(UITestControl control, MouseButtons button, ModifierKeys modifierKeys)
 {
     control.Click(button, modifierKeys, null);
 }
예제 #16
0
        internal void DragAndDropTo(UITestControl control)
        {
            BrowserWindow browserWindow = TopParent as BrowserWindow;

            new Actions(browserWindow.Driver).DragAndDrop(this.WebElement, control.WebElement).Perform();
        }
예제 #17
0
 public static void Click(UITestControl control, MouseButtons button, ModifierKeys modifierKeys, Point relativeCoordinate)
 {
     control.Click(button, modifierKeys, relativeCoordinate);
 }
예제 #18
0
 public static void SendKeys(UITestControl control, string text, ModifierKeys modifierKeys)
 {
     SendKeys(text, control, modifierKeys);
 }
예제 #19
0
 public static void Click(UITestControl control, Point screenCoordinate)
 {
     control.Click(MouseButtons.Left, ModifierKeys.None, screenCoordinate);
 }
예제 #20
0
 public UITestControl(UITestControl parent, IWebElement webElement)
     : this(parent)
 {
     privateWebElement = webElement;
 }
예제 #21
0
 public static void Move(UITestControl control, Point relativeCoordinate)
 {
     control.MoveToElement(relativeCoordinate);
 }