Beispiel #1
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);
 }
 public void KeyboardMethodsTest()
 {
     _clickPoint = ImageWorker.FindSubImageCoordinate(DesktopPath, ExplorerPath);
     MouseMethods.MoveToElemment(_clickPoint);
     MouseMethods.RMBClick(_clickPoint);
     KeyboardMethods.TypeText("V");
     KeyboardMethods.PressEnter();
     MouseMethods.MoveToElemment(0, 0);
 }