Not able to scroll a hybrid android mobile app

Mobile Testing, Android App Testing.
subhashree
Posts: 14
Joined: Mon Oct 20, 2014 6:20 am

Not able to scroll a hybrid android mobile app

Post by subhashree » Mon Nov 10, 2014 8:55 am

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.

JToelstede
Posts: 55
Joined: Fri May 24, 2013 12:57 pm

Re: Not able to scroll a hybrid android mobile app

Post by JToelstede » Mon Nov 10, 2014 1:06 pm

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
Swipe_Action.jpg (43.45 KiB) Viewed 1921 times
After you have added the action it should look like this.
Swipe_Action_2.jpg
Swipe_Action_2.jpg (15.57 KiB) Viewed 1921 times
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

subhashree
Posts: 14
Joined: Mon Oct 20, 2014 6:20 am

Re: Not able to scroll a hybrid android mobile app

Post by subhashree » Tue Nov 11, 2014 7:12 am

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
Attachments
SwipeRight.png
Code for swipe right
SwipeRight.png (16.99 KiB) Viewed 1912 times

JToelstede
Posts: 55
Joined: Fri May 24, 2013 12:57 pm

Re: Not able to scroll a hybrid android mobile app

Post by JToelstede » Tue Nov 11, 2014 7:49 am

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

subhashree
Posts: 14
Joined: Mon Oct 20, 2014 6:20 am

Re: Not able to scroll a hybrid android mobile app

Post by subhashree » Tue Nov 11, 2014 7:57 am

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

subhashree
Posts: 14
Joined: Mon Oct 20, 2014 6:20 am

Re: Not able to scroll a hybrid android mobile app

Post by subhashree » Wed Nov 19, 2014 4:45 am

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.
Attachments
SwipeLeft_RightError.png
Error on executing swipe left/right functionality
SwipeLeft_RightError.png (17.16 KiB) Viewed 1877 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Not able to scroll a hybrid android mobile app

Post by Support Team » Thu Nov 20, 2014 2:32 pm

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)
.
Image