title: What are good ways to test a login page?
body: <p>I get asked this question very frequently in my interviews. They draw username and password text fields and ask me what test cases I can come up with to ensure that this page works fine. My answers on this for some reason never seem to satisfy them. So what tests can we have to ensure that this page is working fine besides the ones mentioned below?</p>
  
  <p>My answers normally include:</p>
  
  <ul>
  <li>check whether the login works with correct credentials</li>
  <li>check that it doesn't work with wrong credentials</li>
  <li>check text field limits - whether the browser accepts more than the allowed database limits</li>
  <li>check whether password text is hidden</li>
  </ul>