2 Replies Latest reply on Nov 20, 2008 9:45 AM by manuel kallenbach

    TestNG and page.xml: action not called

    manuel kallenbach Newbie

      I have the following test:


      String cid = new NonFacesRequest("requestFriendship.xhtml") {
                     protected void beforeRequest() {
                          setParameter("username", "userb");


      in requestFriendship.page.xml I have

      <action execute="#{requestFriendship.init}"/>

      When debugging the test in eclipse, I see that requestFriendship.init is never called.

      What am I doing wrong?