Log in to follow, share, and participate in this community.
Thread experiencing Timing problems
experiencing Timing problemsHallo, i do have some problems with my JSFunit script. Here is the snippet: {code} -1- client1.click("1:contractEdit"); -2- assertEquals("/fong/contract/contract_ed...
deploy ear before testingHello, out package is packaged using an ear file. I didn't really find some usefull informations on how to solve this. The integration tests in the webmodule tries to execute before the ear module is ...
Thread JSFUnit fails to set back value for backing bean List property
JSFUnit fails to set back value for backing bean List propertyMy JSF xhtml page has a radio button <h:selectOneRadio> which connects directly to a first item of the backing bean List property: <h:selectOneRadio id="coverRequired_0" options="#{jsfHelper.yesNoOptio...
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...
Getting Started Doco - issuesI 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...
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...
Testing https pages with JSFUnitHi. 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 ...
old page in jsfClientSessionHi, 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...
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, ...
Testing backing beansHi 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. ...
Debugging embedded server interactionI 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...
JSFUnit and Spring-Security problemHello, 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...
java.lang.IllegalStateException: FacesContext already releasHi 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...
Thread Websphere 6.0 : FacesContextBridge.getCurrentInstance() rais
Websphere 6.0 : FacesContextBridge.getCurrentInstance() raisWe 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...
500 Internal Server ErrorHallo 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...
JSFUnit with Apache Myfaces OrchestraOver 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...
Thread Not a valid response [302 Moved Temporarily]
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?
JSFUnit with MavenAfter reading wiki article on JSFUnit with Maven, I understand, that I need to have exact copy of original application, am I right? My spring project has lots of faces-config* and applicationContext-* files, that are...