How can i scroll a screen till end

For my automation case, i have to scroll screen till end.How can i do the same.

@Ashu05may only you know what your “end” means :-). in most cases you need scroll and compare - does last element changed or not? not changed = you reached your “end”.

I mean, in my test case order will be generated and latest order will be shown @ the last position of ‘my orders’ screen so even I don’t know how many times I need to scroll screen to get that order. But as per your suggestion I will be trying same way like scroll and check latest order id.
Thanks for replying

what have you tried?

You can watch this video :