How to select values in Android App by spinning or swiping using Appium

Hi All

I came across a problem statement where I need to select dates in android App. The values needs to be selected by spinning/swiping.

I am not able to select those values using click and sendkeys Commands.

Anyone having experience with such kind of scenario, Please suggest appropriate soluotion.

Thank you.

@ravikr42, I suspect you could use the Touch Action. Here’s some ruby code we use on our project:

Appium::TouchAction.new.press(x: start_x, y: start_y).wait(duration).move_to(x: end_x, y: end_y).release()

Thank you @willosser

It worked… Thanks a lot :smiley::smiley