question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Appium@1.6.0beta1] Calling driver.tap in XCUITest mode throws "Support for gestures other than Tap is not yet implemented" exception

See original GitHub issue

The problem

calling driver.tap method immediately fails the test

Environment

  • Appium version (or git revision) that exhibits the issue: 1.6.0beta1
  • Last Appium version that did not exhibit the issue (if applicable): 1.5.3
  • Desktop OS/version used to run Appium: 10.11.6
  • Node.js version (unless using Appium.app|exe):5.4.1
  • Mobile platform/version under test: 9.3
  • Real device or emulator/simulator: Simulator
  • Appium CLI or Appium.app|exe: CLI

Details

See below

Link to Appium logs

2016-09-13 13:45:51:872 - info: [HTTP] --> POST /wd/hub/session/fc90e4e8-0ba6-4aad-92d6-5303931af43a/touch/perform {"actions":[{"action":"press","options":{"x":343,"y":639}},{"action":"wait","options":{"ms":125}},{"action":"release","options":{}}]}
2016-09-13 13:45:51:877 - info: [MJSONWP] Calling AppiumDriver.performTouch() with args: [[{"action":"press","option...
2016-09-13 13:45:51:879 - info: [debug] [XCUITest] Executing command 'performTouch'
2016-09-13 13:45:51:916 - info: [HTTP] <-- POST /wd/hub/session/fc90e4e8-0ba6-4aad-92d6-5303931af43a/touch/perform 501 10 ms - 175 
2016-09-13 13:45:57:328 - info: [HTTP] --> DELETE /wd/hub/session/fc90e4e8-0ba6-4aad-92d6-5303931af43a {}
2016-09-13 13:45:57:329 - info: [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["fc90e4e8-0ba6-4aad-92d6-5...
2016-09-13 13:45:57:331 - info: [XCUITest] Shutting down WebDriverAgent
2016-09-13 13:45:57:336 - info: [XCUITest] Simulator log exited with code 'null'
2016-09-13 13:45:57:350 - info: [XCUITest] xcodebuild exited with code 'null' and signal 'SIGTERM'
2016-09-13 13:45:57:352 - info: [debug] [XCUITest] Resetting simulator
2016-09-13 13:45:57:354 - info: [debug] [XCUITest] Shutting down simulator

Code To Reproduce Issue [ Good To Have ]

driver.tap(1, x, y, 125);
org.openqa.selenium.WebDriverException: Support for gestures other than Tap is not yet implemented. Please contact an Appium dev (WARNING: The server did not provide any stacktrace information)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:32 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
imurchiecommented, Sep 14, 2016

Yes, it should be translated in performTouch and sent to the tap method. Alas.

0reactions
lock[bot]commented, Apr 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support for gestures other than Tap is not yet implemented
Hi, I use appium 1.6.0 and java. When I try to long press on an element, I get an error of: org.openqa.selenium.WebDriverException: Support...
Read more >
Touch Actions not Working on iOS · Issue #8042 - GitHub
The problem I am trying to make a tap action using the appium driver for iOS using coordinates but it seems to not...
Read more >
XCTest | Apple Developer Forums
Hi I am writing some UI Test cases using XCTest for my iOS app and I am facing some issues because the property...
Read more >
appium-xcuitest-driver - npm
Consider using earlier releases of the driver (check Xcode version support section below) if it is necessary to test iOS versions older than...
Read more >
Ios xctest mobile gestures - appium
Automating Mobile Gestures For iOS With WebDriverAgent/XCTest Backend. Unfortunately Apple's XCTest framework does not natively support W3C standards for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found