Appium Not scrolling to the end of the list #7680

Open
iceKirthi opened this Issue Jan 11, 2017 · 5 comments

Projects

None yet

5 participants

@iceKirthi

The problem

In previous appium version, If I want to select an element that is present at the end of the list (which is not visible inside the screen and need to scroll down), appium automatically scrolled down and selected that particular element. Now it is not scrolling down and it is selecting some other element present inside the screen view. Do anyone have fix for this?

Environment

  • Appium version (or git revision) that exhibits the issue: 1.6.3
  • Last Appium version that did not exhibit the issue : 1.4.13
  • Mobile platform/version under test: iPad and iPhone iOS 9.x/10.x
  • Real device or emulator/simulator: Real Device
@triager triager added the NeedsTriage label Jan 11, 2017
@pavanbachu0604
@steffencrespo

What is the element location strategy you are using?

@iceKirthi

No. Actually, I am not scrolling down by code.

For Example, consider the scenario :
I am having a list of 15 elements in a table view. And only 10 elements can be viewed at once and need to scroll down to view the remaining 5 elements.

In previous Appium versions, I just used list.get(14).click() function and appium automatically scrolled down and selected that element.

In latest Appium version, when I used the same code list.get(14).click(), appium selects first element in the list and it is not selecting the last element.

@Akulavenkatesh
Akulavenkatesh commented Jan 12, 2017 edited

+1 facing the same issue on Appium 1.6.3 (I use Appium Python client) and I use xpath

@iceKirthi iceKirthi changed the title from Appium Not scrolling to the end of the end to Appium Not scrolling to the end of the list Jan 12, 2017
@iceKirthi

@jlipps , @imurchie - Could you pls help on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment