not able to scroll to bottom of screen

Mobile Testing, Android App Testing.
Styris
Posts: 49
Joined: Tue Feb 03, 2015 2:32 am

not able to scroll to bottom of screen

Post by Styris » Tue Mar 31, 2015 9:14 pm

On the iPod Touch that I am testing on, I am on this screen where I need to scroll to the bottom of the screen to tap on something. The problem is that Ranorex will record the buttons but not the scroll action, which means when it runs it never is able to find that element (since it won't scroll down all the way during runtime).

How can I make the screen scroll down during recording/runtime to be able to find that item and touch it ?

(In this example screenshot the LogOutPlus button is on the Settings screen but it is at the bottom of the screen)
Attachments
LOScroll.PNG
LOScroll.PNG (3.96 KiB) Viewed 1275 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 to bottom of screen

Post by Support Team » Thu Apr 02, 2015 12:42 pm

Hello Styris,
How can I make the screen scroll down during recording/runtime to be able to find that item and touch it ?
It depends on how Ranorex recognizes the container element of the button. Please create a Ranorex snapshot of your application under test, this would help us in analyzing your issue.

Maybe you can also find help here: http://www.ranorex.com/forum/ios-testin ... t6461.html

Regards,
Robert
.
Image

Styris
Posts: 49
Joined: Tue Feb 03, 2015 2:32 am

Re: not able to scroll to bottom of screen

Post by Styris » Fri Apr 03, 2015 12:09 am

Here is the snapshot. Please let me know what you're able to find out.
Attachments
iOSShot.rxsnp
(28.63 KiB) Downloaded 74 times

Styris
Posts: 49
Joined: Tue Feb 03, 2015 2:32 am

Re: not able to scroll to bottom of screen

Post by Styris » Fri Apr 03, 2015 2:19 am

So I used the Swipe, or the ContentOfssetY actions to scroll to the bottom of the table. But now the problem is that the test would time out while searching for the button (in this case the Logout one).\
I am not sure why it cannot find it ?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3930
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: not able to scroll to bottom of screen

Post by odklizec » Fri Apr 03, 2015 8:03 am

Hi,

Are you sure you posted correct snapshot? The one you posted displays just one screen, asking for email, one "Start" button and "Help" button.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Styris
Posts: 49
Joined: Tue Feb 03, 2015 2:32 am

Re: not able to scroll to bottom of screen

Post by Styris » Fri Apr 03, 2015 8:36 pm

Sorry, here you go.
Attachments
iOSshot.rxsnp
(43.9 KiB) Downloaded 66 times

Styris
Posts: 49
Joined: Tue Feb 03, 2015 2:32 am

Re: not able to scroll to bottom of screen

Post by Styris » Mon Apr 06, 2015 8:24 pm

Has there been any status on this since Thursday ?

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 to bottom of screen

Post by Support Team » Tue Apr 07, 2015 12:41 pm

Hello Styris,

Thank you for uploading the snapshot.

You could create an invoke action “Scroll Table” in order to navigate to the “Log Out” element. Therefore, simply drag&drop the table “UITableView” to the Recording’s action table and choose “ScrollTable":
ScrollTable.png
ScrollTable.png (12.94 KiB) Viewed 1223 times
Afterwards, enter the correct section and row as a parameter.

Hope this helps.

Regards,
Robert
.
Image