I have written a test in Selenium RC to check field validations for an application.
The scenario is that when we enter an invalid value for a field, an alert messgae will be displayed. I am able to capture the alert and check if this is the expected. But the alert message itself is not being displayed.
Is there anyway in Selenium we can display the alert message and automatically simulate the click of OK button in that?
I am using NUnit for running the Selenium tests.