I'm writing a few UI automation test scripts using C#, NUnit and Selenium WebDriver. I would like to know if it's possible to restore the database at the end of each test (like via the TearDown method) and if so how I could achieve this.
I tried following this and this but they didn't seem to work. I'm guessing this is because I'm not executing any database related operation from the test script itself?