Page 1 of 1

not able to scroll to bottom of screen

Posted: Tue Mar 31, 2015 9:14 pm
by Styris
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)

Re: not able to scroll to bottom of screen

Posted: Thu Apr 02, 2015 12:42 pm
by Support Team
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

Re: not able to scroll to bottom of screen

Posted: Fri Apr 03, 2015 12:09 am
by Styris
Here is the snapshot. Please let me know what you're able to find out.

Re: not able to scroll to bottom of screen

Posted: Fri Apr 03, 2015 2:19 am
by Styris
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 ?

Re: not able to scroll to bottom of screen

Posted: Fri Apr 03, 2015 8:03 am
by odklizec
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.

Re: not able to scroll to bottom of screen

Posted: Fri Apr 03, 2015 8:36 pm
by Styris
Sorry, here you go.

Re: not able to scroll to bottom of screen

Posted: Mon Apr 06, 2015 8:24 pm
by Styris
Has there been any status on this since Thursday ?

Re: not able to scroll to bottom of screen

Posted: Tue Apr 07, 2015 12:41 pm
by Support Team
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
Afterwards, enter the correct section and row as a parameter.

Hope this helps.

Regards,
Robert