I want to test the server side validation of my php application.so I am running automatic tests with phpUnit and selenium 2.The selenium webdrive fills the form with invalid data to check if the server return a error message but the problem is that the inputs has html5 validation attributes like required = "required" and type = "email" and so the form is never submitted.There is a way to ignore these attributes validators?
Asked
Active
Viewed 133 times
0
-
You need to post some code examples, I don't think anyone will be able to help you without more details. – Jon Jul 10 '15 at 20:31
1 Answers
1
Disable validation of HTML5 form elements
The "novalidate" attribute on the form element should do the trick.