title: How to check mandatory field whether it is empty or not in Selenium WebDriver using Java?
body: <p>I am working on "add new user form" . In this form, there are several mandatory fields. Form will not be submitted when any mandatory field is empty and it will show a validation message like : "Value is required and can't be empty". How can I check/automate the form whether field is empty or not?</p>