I am using Robot Framework-Selenium Library to automate testing of a website. I am trying to check if proper message is displayed when incorrect credentials are provided during login.
The site throws 2 kind of messages.
- The username or password is incorrect
- You have exceeded the number of incorrect log in attempts, please try after 15 minutes.
The test case should Pass on both these situations. How should my automated test case be.
You can see some sample test cases of Robot Framework at Virtuous Programmer