+2 votes
in Software Testing by (1.7k 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
by Expert (5.9k points)
selected by
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 .

by (1.7k points)
Thanks Himanshu! Its working now... Thank you so much ...

Not a Member yet?

Ask to Folks Login

My Account

Your feedback is highly appreciated