appium / appium/java-client

Double Tap & double click doesn't working in both java and python android platform

Open
#1,380 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

The problem

I write the test script code for WECHAT APPLICATION group chat message to get the text message element from the double tab but it's not performing double tap on the screen. Actually I want to twice click on similar element because when element double tap/double click then text will be shown in complete screen. That's issue I'm facing in our the appium project; I tell you below my project environment specifications;

Environment

  • Appium version (or git revision) that exhibits the issue: Version Appium 1.17.1
  • Desktop OS/version used to run Appium:1.17.1
  • Node.js version (unless using Appium.app|exe):
  • Npm or Yarn package manager: NPM
  • Mobile platform/version under test: Android 9 & 10
  • Real device or emulator/simulator: REAL DEVICE
  • Appium CLI or Appium.app|exe: APPIUM APP

Details

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

Link to Appium logs

Create a GIST which is a paste of your full Appium logs, and link them here.
Do NOT paste your full Appium logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, always include Appium logs!

Code To Reproduce Issue [ Good To Have ]

String path = "//android.widget.RelativeLayout[@index='" + index + "']//android.view.View[@long-clickable='true']";
AndroidElement e = this.driver().waitUtilElementVisible(path, 2);

        TouchActions actions = new TouchActions(this.driver().instance);
        actions.doubleTap(e);
        actions.perform();

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided Java TouchActions.doubleTap(e) reproduction on a real Android 9 or 10 device, using the stated Appium 1.17.1 environment. Collect the full Appium logs requested by the issue and compare the observed gesture with the expected full-screen text result; done means the cause is identified and the reproduction behaves as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.