User interface tests
After Phase I testing of a drug, the candidate has successfully established that it is safe to use, and Phase II testing commences. This is performed on larger groups of patients to test that the drug is actually effective against the ailment that it is supposed to cure.
In your enterprise project, your next testing phase is a test of the user interface. It tests if your application actually meets the user requirements. One tool for verifying this is Selenium (www.seleniumhq.com) that we will see in action in this chapter.
What should you test?
When you test your user interface, you should have at least one test for every non-trivial page in your application. If your requirements are formulated as use cases, they will typically contain all the steps you need to go through in your user interface test. If not, you will have to start by writing out a list of the steps the user would go through when using your application so that you know what to record.
A user interface test...