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.

Android Mobile.tap doesn't work with appium 1.18.0

See original GitHub issue

The problem

I’m creating tests with Katalon Studio and appium.

Mobile.tap(findTestObject('Object Repository/HSB/Login_button'), 30)

Above step shows it was success, but actually it doesn’t work (the button doesn’t be tapped)

It works with appium 1.14.1 but not 1.18.0, so I suspect appium latest version makes this problem.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.18.0
  • Last Appium version that did not exhibit the issue (if applicable): 1.14.1
  • Desktop OS/version used to run Appium: macOS Catalina 10.15.6
  • Node.js version (unless using Appium.app|exe): v12.2.0
  • Npm or Yarn package manager:6.14.7
  • Mobile platform/version under test: Android emulator ‘system-images;android-29;default;x86’ ‘Nexus 5’
  • Real device or emulator/simulator: emulator
  • Appium CLI or Appium.app|exe:

Details

If necessary, describe the problem you have been experiencing in more detail.

Link to Appium logs

appium.log

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Aug 20, 2020

Try to tap by absolute coordinates as a workaround. Also, it makes sense to enable touches tracking in Android developer settings. This way you could see if and where exactly the tap happens

0reactions
mykola-mokhnachcommented, Aug 24, 2020

Closed because of no response

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to tap mobile object - Katalon Studio
Hi all, I'm creating Android mobile app testing. ... Issue: Tap on mobile button passes but doesn't actually tap Katalon Studio.
Read more >
Supported Platforms - Appium
Android Support​​ Android automation is supported with two drivers: The UiAutomator2 Driver. The Espresso Driver. The (deprecated) UiAutomator Driver.
Read more >
Desired Capabilities - Appium
On Android this capability is currently ignored, though it remains required. To ensure connecting to the correct Android device when multiple devices are ......
Read more >
Troubleshooting - Appium
Here's what to do if you're experiencing problems, before you submit a ticket to github or write to the appium-discuss discussion group.
Read more >
Unable to play video - Support - Appium Discuss
[Mobile Web, iOS 10, Safari] Clicking 'Play' on a YouTube video doesn't ... test being run on an android device and it is...
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