Page 1 of 1

Not able to scroll a hybrid android mobile app

Posted: Mon Nov 10, 2014 8:55 am
by subhashree
Hi,

I am working on automation of one hybrid app in Android device. While recording I have observed that scroll up & down are not captured by the tool & due to this I am not able to proceed in my test.

Please let me know which function we can use for scroll up/down both in native & hybrid apps.

Please provide your inputs on it.

Re: Not able to scroll a hybrid android mobile app

Posted: Mon Nov 10, 2014 1:06 pm
by JToelstede
Hi subhashree,

if you mean scroll up & down via a swipe gesture than you have to know, that Ranorex supports this function but not within the recorder. You have to add this action in your recording-modul manually like the following excample:
Swipe_Action.jpg
After you have added the action it should look like this.
Swipe_Action_2.jpg
Please take a look at http://www.ranorex.com/support/user-gui ... tions.html

Hope that I could help you.
Best regards and have fun.

Joe

Re: Not able to scroll a hybrid android mobile app

Posted: Tue Nov 11, 2014 7:12 am
by subhashree
Hi Joe,

Thanks for your quick response.I could scroll up & down my app. However swipe left & right are not working with this.

Please refer the attached image file for more information.

Regards
Subhashree

Re: Not able to scroll a hybrid android mobile app

Posted: Tue Nov 11, 2014 7:49 am
by JToelstede
Hi Subhashree,

in iOS it doesn't work neither but Ranorex is actually fixing on it.
http://www.ranorex.com/forum/swipe-gest ... t6929.html
So it is possible that this is a bug too.

Which version of Ranorex you have installed?
On which kind of element you try to make the swipe rigth?
Is it the same element you have used for the swipe up or down?
On which orientation you are testing (portrait/landscape)?

Please give us some more input.

Thanks and best regards
Joe

Re: Not able to scroll a hybrid android mobile app

Posted: Tue Nov 11, 2014 7:57 am
by subhashree
Hi Joe,

I am trying this on Android. Model number Samsung GT-I9300 & Version 4.1.2. Following are the other details

1. Ranorex version- Trial version 5.1.2
2. I am trying to swipe left/right for HTML 5 element.My application is a hybrid application.
3. yes its the same element where I tried scroll up/down.
4. Potrait orientation.

Please do let me know incase any further information needed.

Regards
Subhashree

Re: Not able to scroll a hybrid android mobile app

Posted: Wed Nov 19, 2014 4:45 am
by subhashree
Hi Joe,

is there any update on swipe left/right functionality supported by Ranorex? I am getting following error while executing the test cases for swipe left/right.

Re: Not able to scroll a hybrid android mobile app

Posted: Thu Nov 20, 2014 2:32 pm
by Support Team
Hi Subhashree,

Unfortunately I was not able to reproduce this issue on my side.

Please try updating to our latest version (5.2) and to reproduce the problem.
May I also ask you to send us your application?
This will help us to analyze the issue in more detail.
Thank you in advance.

Regards,
Markus (S)