An XML page opens and i need to verify if End, Page Up and Page Down are working on the page. I am able to go to the End. But how to validate that initially i'm at the top of the page and after i press End , i'm at the bottom of the page.