I am using VS2005 and NUnit.
I would like to know if there is a way to test popups using just NUnit.
button1.click();<-Find/Assert if the popup window has been opened->
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are testing whether the popup window has opened or not, then I suppose you are working for the Browser and not your project 🙂
This kind of functionality is tested using NMock or Rhino.Mocks, In which a mock object is created which is in tern equivalent of your UI object, and its ‘mocked’ to have functionality of your UI component, which is used to test the functionality you would expect the UI component/object to pass.