I am having trouble working out the Xpath to click a button on a web page.I have tried the following: selenium.Click("name=ctl00$uxFormTemplate$uxNavigationControl$ctl01"); selenium.Click("id=ctl00_uxFormTemplate_uxNavigationControl"); selenium.Click("xpath=//html/body/form/div[2]/div/div[1]/div/div[2]/div[7]/input"); selenium.Click(xpath=//div[@id=ctl00_uxFormTemplate_uxNavigationControl");

It won't click the button when i run it using Nunit. It fails to click.