Scrolling down issue


I am currently using Appium server v1.4.16.1 for android application automation on real device. I am facing the issue on real android device when I try to scroll down the device screen programmatically, for following code,

  **JavascriptExecutor jse = (JavascriptExecutor)driver;**

** ((JavascriptExecutor) driver).executeScript(“window.scrollBy(0, 250)”, “”);**

It generates an EXCEPTION as:
:Not yet implemented. Please help us: (WARNING: The server did not provide any stacktrace information)

can you please provide me the solution regarding the same.

Use this :slight_smile:
JavascriptExecutor js= (JavascriptExecutor) driver ;

Thanks for your reply.

I have tried this one, with scroll view id but it’s still not working.
So can you suggest any other solution, if you have any.

I got the solution for scrolling down issue on real android device using appium, when I have implemented the following code.

        **TouchAction tAction=new TouchAction((MobileDriver) driver);**


** tAction.perform();**