Skip the primary navigation if you do not want to read it as the next section.
Skip the main content if you do not want to read it as the next section.
Selenium is an excellent way of running automated acceptance tests.
However, the documentation doesn't make it entirely obvious how to run it in "driven mode", such that you can write your tests in code.Thanks to some pointers from Paul Cannon at Novell, we can now run tests that look like this:
s.execute('open', 'http://www.google.com')The tarball shows how to get started (with Python on Linux). It should be easy enough to get it working on Windows, too.
s.execute('type', 'q', 'fsm')
s.execute('click', 'btnG')
One of the problems with running Selenium tests is that due to cross-site scripting protection, the selenium approach makes it tricky to run tests against sites other than localhost. This hack just disables all the XSS security using a custom user.js for firefox. With IE, I believe you can achieve a similar effect by renaming your test runner HTML page with a HDA extension.