I'm doing some UI automation testing at work and I'm not quite sure how to do this
I have a form that asks for a user's name and date of birth before they can click a button to the next page. If they enter anything with invalid characters (a name of '1111' or a DOB in the future) the input boxes are highlighted in red and an error message appears. How can I test that the 'continue' button is clickable only once valid input is entered?