Unable to click the value from drop down

Hi, every one hope you are doing well. I’m facing an issue on Android app, unable to find the element for clicking the value in drop down. Please give me a best solution.

Such values often in another windows.
Add capability enableMultiWindows

you can also try the following capabilities:

  1. allowInvisibleElements (enable)
  2. ignoreUnimportantViews (disable)

Still same issue. :frowning:

Still same issue, no change. :frowning:

I’m also trying with coordinates it still gave me an error.
(new TouchAction(driver)).tap(476, 761).perform();

Pure tap by coordinates cant give you error. Only if you tap outside screen.
Something wrong im your code.

I’m using this code.

this should work:

new TouchAction<>(driver).tap(PointOption.point(476, 761)).perform();

please see that you need to pass TapOptions and not the raw coordinates(you can also pass PointOption as I did in the example).

please refer to the javadoc of the TouchAction API: TouchAction - java-client 7.0.0 javadoc
make sure it is suitable to your client version.

As well, I am not sure and it may not be the idle way but, I think that sometimes you can use the sendKeys method on the drop down list(without opening the drop down).
something like:

try to play with it in appium inspector before implementing it using code.

Another thing, you can see the following tutorial regarding TouchAction: https://www.swtestacademy.com/how-to-use-touch-actions-in-appium/

!!! Please note: on the later versions of appium java-client, TouchAction API is deprecated so if you will upgrade you will need to adjust your code so, see if it is suitable for you to implement it this way.

you can use platform specific commands: https://github.com/appium/appium-uiautomator2-driver#platform-specific-extensions

of use W3C Actions API(not platform dependent): http://appium.io/docs/en/commands/interactions/actions/

It’s working fine. Thanks a lot.

I have same issue . I didn’t get any locator for drop down and try list of drop down then get onlyone select options please gui![IMG202402051


give me replay aboue post