WatiN best practices/rules of thumb for an ASP.NET MVC app
Where I work now, we test these 5 things (where applicable) for each page:
- Layout - should have textbox labeled X, should have dropdown labeled X
- Populate - should have dropdown with the following values ... should have textbox with the value
- Validate - when I enter X, then I should see the error message Y
- Navigate - when I click X button, then I should go to Y page
- Save - when I click save button, then I should see the Success message