MobileElement Swipe error "Not yet implemented error" in real device

Hi there,

I am using Samsung galaxy S3 android 4.4.4 version.

I am trying to swipe an element in an app and used the following code:

    MobileElement abc= (MobileElement) driver.findElement(By.className("android.widget.CheckedTextView"));
    abc.swipe(SwipeElementDirection.UP, 60);

I get the error “Not yet Implemented”. Neither swipe UP nor swipe DOWN is working. I am using appium version 1.4.0 and Java client- 3.0.0 version.

Please help how to get this done.

Thanks,
Uma

Have you tried using the TouchAction class directly to simulate a swipe?

It seems you are in windows, because in windows I had that too when using swipe, but was able to do swipe with the class above. In MAC I have no similar problems.

In below post I have explained Swipe functionality for screen.

But this will not cover swipe within an element.

Hi Cardoso,

Thanks for the reply. Yes I am using windows. Do you have any sample code with TouchAction so that I will give a try.