4 Replies Latest reply on Jun 1, 2010 8:46 AM by Stan Silvert

    JSFUnit and ADF

    Martin R. Newbie

      Hi,

       

      I try to evaluate automatic testing by using JSFUnit.

       

      I tried a simple TestCase and called

      JSFSession jsfSession = new JSFSession("/start.page");

       

      But the test fails and I get the following exception:

       

      com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 403 Access to the requested resource has been denied for http://hudson:8081/framework-demo-web/error.xhtml?cid=44

       

      The testapp can be accessed by browser and is fully functional.

       

      Is it possible to use JSFUnit with ADF in a non-static way (I only found this website regarding ADF/JSFUnit)

       

       

      Thanks in advance

       

      Martin