scroll to the end of a dynamic page

Ask general questions here.
Posts: 2
Joined: Tue Apr 09, 2013 12:06 pm

scroll to the end of a dynamic page

Post by Dave_lacey_uk » Tue Apr 09, 2013 12:11 pm


I am looking for a solution to scrolling to the end of a dynamic page... The elements on the web page are loaded as the user scrolls and as such i cannot search for these elements until they have been loaded via the user scrolling.

how can i do the same with Ranorex?

So, i would like to continue to scroll until x is visible or until i can scroll no further (not sure how you would identify this 'no furhter' )



User avatar
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: scroll to the end of a dynamic page

Post by Ciege » Tue Apr 09, 2013 5:00 pm

Couple of things come to mind...

1) Do a of CTRL-END, which takes you to the bottom of the page.
2) Find the scrollbar element and the scroll page down element. Check the scrollbar element to see if you are at the bottom, if not loop through clicking the scroll page down button. (FYI, You will not be able to get the scroll bar of IE through the DOM.)
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!