2 Replies Latest reply on Mar 19, 2010 3:42 AM by Kto ToTaki

    Exception running JSFUnitTest with RichFacesClient

    Kto ToTaki Newbie
      Problem running JSFUnitTest with RichFacesClient

      Using : JSFUnit 1.2 JSF.20 RF 3.3.3CR1

       

      Sets up easily test :

       

          JSFSession jsfSession = new JSFSession("pageToTest");
          JSFClientSession client = jsfSession.getJSFClientSession();
          org.jboss.jsfunit.richclient.RichFacesClient rfClient = new RichFacesClient(client);
          rfClient.clickTab("bodyForm:tab3");

       

      The entire test is performed correctly, but after the test is completed comes the one exception :
      Cannot read property "_listeners" from undefined (http://localhost/MineJsfunit/a4j/g/3_3_3.CR1/org/richfaces/ui.pack.js.xhtml#2800)

       

         
      The whole exception is enclosed.
      What can this result?

       

      Regards
      Mirek