title: Automation script for change password in selenium
body: <p>I am working on automation script for change password functionality. I am getting test data from excel file. I have created test csript for positive scenario but now I have to verify if I enter wrong input, system is displaying excepted error messages or not for example: </p>
  
  <ul>
  <li>Enter wrong old password </li>
  <li>New password must be 6 character long </li>
  <li>New password and confirm new password must be same.</li>
  </ul>
  
  <p>How I can verify these error messages in selenium. Do I need to create separate test case for each rule and use separate excel spreadsheet for each test case.  </p>