public void KeyboardMethodsTest() { _clickPoint = ImageWorker.FindSubImageCoordinate(DesktopPath, ExplorerPath); KeyboardMethods.TypeText("V"); KeyboardMethods.PressEnter(); MouseMethods.MoveToElemment(0, 0); }
public void FindSearchFieldAndGoToTheTestSite(string desktopPath, string searchPath) { System.Threading.SpinWait.SpinUntil(() => ImageWorker.IsSubImageExist(searchPath), TimeSpan.FromSeconds(int.Parse(SikuliTestData.DefaultWait))); subImageCoordinate = ImageWorker.FindSubImageCoordinate(desktopPath, searchPath); MouseMethods.LMBClick(subImageCoordinate.X + 100, subImageCoordinate.Y); KeyboardMethods.TypeText(SikuliTestData.TestSite); KeyboardMethods.PressEnter(); }