示例#1
0
 public void KeyboardMethodsTest()
 {
     _clickPoint = ImageWorker.FindSubImageCoordinate(DesktopPath, ExplorerPath);
     KeyboardMethods.TypeText("V");
     KeyboardMethods.PressEnter();
     MouseMethods.MoveToElemment(0, 0);
 }
示例#2
0
 public void MouseMethodsTest()
 {
     Assert.IsTrue(ImageWorker.IsSubImageExist(DesktopPath, ExplorerPath));
     _clickPoint = ImageWorker.FindSubImageCoordinate(DesktopPath, ExplorerPath);
     MouseMethods.MoveToElemment(_clickPoint);
     MouseMethods.RMBClick(_clickPoint);
     MouseMethods.LMBClick(_clickPoint);
     MouseMethods.MoveToElemment(0, 0);
 }