I have to test a website in which all the links will be displayed on the left side. when i click on the link, that particular page should display on the right pane. How do i check if the correct page is displayed? and how do i check if a particular link has particular sub-links?

Any help is highly appreciated.