If testing my webapp using Selenium. All the form validation in the webapp is done using HTML5 form validations. Is there any way to assert if a form/input validation was tr
In addition to the answer from @Slanec: add also the following row (using C#, but it should be the same in Java or other languages):
Assert.IsTrue(true,"",elem1);
This is in case you want to check if the message is visible.