Hey there! any question in your mind? Ask It Now!.

Popular Categories

Selendroid- scroll does not update content

+2 votes
asked in Software Testing by nitu (1,680 points)

I am automating android app using Selendroid and when I am using scroll so window is scrolling somehow content of list view is not getting update instead of blank window is coming.

Here is my function :

TouchActions flick = new TouchActions(driver).scroll(driver.findElement(By.id("YOURS ID HERE")), 1, 1000);

Please help .


1 Answer

+2 votes
answered by Himanshu Expert (5,940 points)
selected by nitu
Best answer

Hi Nitu ,

I was facing same issue that scroll was working fine but content was not updating and blank screen was coming.

This issue was resolved by using this , you just have to use flick like this .

TouchActions flick = new TouchActions(driver).flick(driver.findElement(By.id("YOURS ID HERE")), 0, -730, 100);

I hope it will help you also .

commented by nitu (1,680 points)
Thanks Himanshu! Its working now... Thank you so much ...

Related Questions

+1 vote
1 answer 311 views

Not a Member yet?

Ask to Folks Login

My Account
301 Folks are online
1 members and 300 guest online
Your feedback is highly appreciated