2 Replies Latest reply on Sep 13, 2007 6:12 AM by Pete Muir

    SeamTest and JSF validation

    Alexander Mashtakov Newbie

      Hi All,

      I have a web page with the following code:

      <h:inputSecret id="login"
      validator="#{pcUserProfile.loginValidate}" />

      I noticed that loginValidate() method of pcUserProfile doesn't invoked
      in my testcase:

      new FacesRequest("/profile.xhtml") {
      protected void processValidations() {
      validateValue("#{pcUserProfile.login}", "xyz");
      assert isValidationFailure();

      Seems that SeamTest mock doesn't support this.

      Any ideas/workarounds, probably suggestions about other
      JSF testing framework wich can co-exist with Seam ?

      Thank you in advance,