• rich:fileUpload (JSFUNIT-190 progress?)

    Hey Stan,   Out of curiosity have you made any progress on testing rich:fileUpload components yet? I went to write a test (which failed) only to find out you had written one almost exactly the same (which you c...
    Profile Photo
    last modified by kragoth
  • Getting Started Doco - issues

    I have been meaning to write something about the doco located http://www.jboss.org/jsfunit/gettingstarted.html   The list of libraries given do not seem to actually be compatable.   The version of cactus t...
    Profile Photo
    last modified by kragoth
  • Parameterizing JSFUnit Tests

    Some developers find the need to pass parameters to the test environment.  Since JSFUnit is running "in-container", this can be a bit of a challenge.   With JSFUnit running on top of Cactus, the suggestions...
    Profile Photo
    last modified by ssilvert
  • JSFUnitPerformanceAnalysis

    Introduction JSFUnit provides a JSFTimer class that tracks the time spent in each phase of the JSF lifecycle.  It also allows you to see the total lifecycle time.  The JSFTimer remains accurate, even when JS...
    Profile Photo
    last modified by ssilvert
  • Testing a4j with JSFUnit

      I have 2 selectOneMenu. the second one becomes acrtive and gets <option>s after user select any option from first one. the fulfillment of options is being done by a4j. here is the code:   <h:s...
    Profile Photo
    last modified by marti
  • Testing https pages with JSFUnit

    Hi. whenever I try to test any "https" page i face an error. i have xml file that defines which pages should be in https scheme. once i turn it to http the problem is solved. a part of the xml  file : <page ...
    Profile Photo
    last modified by marti
  • old page in jsfClientSession

    Hi,   when running a jsfUnit testsuite we are occasionally facing the problem, that some ComponentIDs aren't found in jsfClientSession when trying to set some value or click a button.   After some debuggin...
    Profile Photo
    last modified by martinkurz
  • Incompatibility among related classes?

    Dear colleagues, please help me with this problem: I had already put a small JSFUnit test to work, following the instructions in http://labs.jboss.com/jsfunit/gettingstarted.html. I did it in the middle of July/2010, ...
    Profile Photo
    last modified by exosys
  • Testing backing beans

    Hi all!   We want to test our backing beans "directly", without calling it through a JSF page. Is that possible?   I haven't found any tutorial about this case.   Perhaps someone has an example. ...
    Profile Photo
    last modified by fr4ggle
  • Debugging embedded server interaction

    I am using Arquillian 1.0.0.Alpha4 with Tomcat embedded 6 and JSFUnit 1.3.0.Final.     Arquillian deploys my application to the embedded container, my application starts up and it gets to the test case wher...
    Profile Photo
    last modified by trungie
  • Using JSFUnit's RequestListener

    Spying on HtmlUnit The JSFUnit JSFClientSession is a wrapper for HtmlUnit.  The nice thing about HtmlUnit is that it is a true headless browser and it takes care of a lot of things automatically such as handling ...
    Profile Photo
    last modified by ssilvert
  • JSFUnit and Spring-Security problem

    Hello, we have a JSF web app using spring security for authentication. We wrote a JSFUnit test for testing the authentication. Following the (pretty good) documentation on the website the test looks like: WebClie...
    Profile Photo
    last modified by wumbrath
  • java.lang.IllegalStateException: FacesContext already releas

    Hi All, I am getting the above exception when I try to execute the following Test Case JSFClientSession client = new JSFClientSession("/faces/logon.jsp"); client.setParameter("userID", "SimMan"); client.setParamet...
    Profile Photo
    last modified by prode
  • Websphere 6.0 : FacesContextBridge.getCurrentInstance() rais

    We currently still work with the jtidy-4aug2000r7-dev_fixed version, as the newer version brought troubles with it (nosuchmethod exceptions). In Websphere there was an exception raised due to mismatch of saxparseexce...
    Profile Photo
    last modified by thesid
  • NewEntryNotAllowedException happened when accessing Managed Bean property.

    I got this exception when I tried to get the selectionString property of TBean backing bean (its scope is session). My test case looks like this:       public class ScrollableDataTableTest extends Serv...
    Profile Photo
    last modified by ruado
  • 500 Internal Server Error

    Hallo Stan, i have followed zour advice and tried to start the test from the brawser, but when i run it i get this error         500 Internal Server Error for http://localhost:8585/Working_with_J...
    Profile Photo
    last modified by hugirat
  • JSFUnit with Apache Myfaces Orchestra

    Over the last few days, I have tried to use JSFUnit to test a Orchestra-based web application. It worked fine when I tested pages which only used Conversation Manual Scope Bean. However, things went wrong when I teste...
    Profile Photo
    created by ruado
  • UsingComponentIDs

    Assigning Component ID's The first thing to know about writing a JSFUnit test is that you should get into the habit of assigning component ID's to your components on a JSF page.  For every JSF component (except &...
    Profile Photo
    last modified by ssilvert
  • Help with JSFUnit flagging errors of duplicate ids with components that share same suffix...

    Hi Everyone,   It seems JSFUnit thinks there are duplicaite ids; if two components share the same suffix. For example component 1 <h:inputText id="password" /> And example component 2 <h:outputText id=...
    Profile Photo
    last modified by qdog1028
  • Not a valid response [302 Moved Temporarily]

    I am getting the above error when running my JSFUnit test. My application does indeed send a redirect. Can I get the client to follow it?
    Profile Photo
    last modified by panayk