public void RightTapped()
        {
            var touchable = AppSession.FindElementByAccessibilityId("Touchable");

            TouchScreen.LongPress(touchable.Coordinates);
            Assert.AreEqual("RightTapped", _GetLastResultString());
        }
        public void PressAndHold()
        {
            var touchable = AppSession.FindElementByAccessibilityId("Touchable");

            TouchScreen.LongPress(touchable.Coordinates);
            Assert.AreEqual("Holding", _GetFirstResultString());
        }
Esempio n. 3
0
 /// <summary>
 ///     Performs the action.
 /// </summary>
 public async Task Perform(CancellationToken cancellationToken = new CancellationToken())
 {
     await TouchScreen.LongPress(ActionLocation, cancellationToken);
 }