ElementInspector dateChooserMessage = element("testForm:dchOnSubmitInput");
dateChooserMessage.assertContainsText("Value is required.");
ElementInspector doubleRangeMessage = element("testForm:ValidDROnSubmitMessage");
doubleRangeMessage.assertContainsText("Validation Error");
ElementInspector urlMessage = element("testForm:UrlOnSubmitMessage");
urlMessage.assertText("Validation error occurs Entered value is not url");
ElementInspector inputOffMessage = element("testForm:inputOffMessage");
inputOffMessage.assertText("");
ElementInspector dateChooserOffMessage = element("testForm:dchOffInput");
dateChooserOffMessage.assertText("");
ElementInspector dateRangeOffMessage = element("testForm:ValidDROffMessage");