Android: Swipe Gesture left/right not working

Mobile Testing, Android App Testing.
peter_oneal
Posts: 1
Joined: Thu Jun 21, 2018 7:26 pm

Android: Swipe Gesture left/right not working

Post by peter_oneal » Mon Jun 25, 2018 6:35 pm

Hello,

I'm using the trial version of Ranorex to see if it would be a good fit for our company's software automation needs. I am unable to get swipe gestures working for the left or right direction however.

Some environment background:
-We are running Android 6.0.1 on smart glass technology.
-The app I'm testing contains a carousel layout that lets you swipe left or right to navigate through the UI.
-I can successfully perform swipe gesture's using Vysor and Android Screen Viewer, indicating to me that there is no problem with the application code's ability to recognize swipes.

Attached are screenshots of the carousel UI as well as how it looks when opened via the Ranorex Spy window.
CarouselUI.png
CarouselUI.png (208.06 KiB) Viewed 342 times
RanorexSpy.png
RanorexSpy.png (75.81 KiB) Viewed 342 times
Any help would be greatly appreciated, thanks.

Pete

asdf
Posts: 174
Joined: Mon Mar 21, 2016 3:16 pm

Re: Android: Swipe Gesture left/right not working

Post by asdf » Wed Jun 27, 2018 4:10 pm

Hi Pete,

Have you tried to use the activity itself to perform the swipe action? I think in your case the swipe should be performed on the following element.
activity.png
activity.png (9.57 KiB) Viewed 334 times
Hope that helps.