Tell me more ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

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

share|improve this question
1  
TheMarkofZero, welcome to SQA. Did you know that your link to Virtuous Programmer already describes how to solve those two problems? – user246 Feb 24 '12 at 13:43
@user246, I think I did not state my question properly. I will not have a control on when the application will throw one of the 2 messages mentioned. I am executing multiple test cases which test for unsuccessful log on. So one of the test case might encounter the 2nd kind of message instead of 1st. Still the test case should pass. I don't seem to understand from that link, how this can be achieved using Robot Framework. – TheMaskOfZero Mar 6 '12 at 8:12
You might have better luck posting your question to the RF users group: groups.google.com/group/robotframework-users – David Jan 20 at 6:14

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.