You can get it via the DOM object of your website. There is an attribute named "PageUrl" which contains the URL. You can use the Ranorex Spy tool to take a look at all available attributes of your application/webpage. Please take also a look at the UserGuide section.