public void Clear() { var clear = AppSession.FindElementByAccessibilityId("Clear"); TouchScreen.SingleTap(clear.Coordinates); Assert.AreEqual(string.Empty, _GetResultText()); }
public void Tap() { var touchable = AppSession.FindElementByAccessibilityId("Touchable"); TouchScreen.SingleTap(touchable.Coordinates); Assert.AreEqual("Tapped", _GetLastResultString()); }
/// <summary> /// Performs the action. /// </summary> public async Task Perform(CancellationToken cancellationToken = new CancellationToken()) { await TouchScreen.SingleTap(ActionLocation, cancellationToken); }