[prev in list] [next in list] [prev in thread] [next in thread] 

List:       htmlunit-user
Subject:    Re: [Htmlunit-user] htmlunit and rich:autocomplete
From:       lathil <lathil.dev () gmail ! com>
Date:       2012-01-19 20:30:52
Message-ID: 33170471.post () talk ! nabble ! com
[Download RAW message or body]


Hi Bernard

Thanks for your reply. I totaly forgot the queues in RichFaces....
unfortunately that does not seems to be the problem, as the number of js
jobs is always 0. I keep you solution at hand anyway as I have other
problems ( f:ajax this time ... ). I'll post back if I find something.

JSFUnit + HtmlUnit + arquillian pretty awsome .... I bump the code coverage
in sonar by 20% just by setting 5 tests scenarios !

laurent

Bernard Łabno wrote:
> 
> Ajax problems are so common, and hard to debug in HtmlUnit/JSFUnit.
> Read this: https://community.jboss.org/thread/18699
> 
> 2012/1/17 lathil <lathil.dev@gmail.com>
> 
> > 
> > I am using htmlunit throught jsfunit to test an application with
> > richfaces
> > 4
> > components. htmlunit version is 2.8.
> > 
> > I am having problems sending an xhttp request when the onchange event is
> > triggered on the rich:autocomplete component. I traced the code unrolling
> > up
> > to EventListenersContainer.executeEventListeners, to this line:  "final
> > ScriptResult result = page.executeJavaScriptFunctionIfPossible(listener,
> > jsNode_, args, node);", but the xhttp request does not seems to be
> > executed.
> > ( I put breakpoint in the jsf servlet .. )  The function is returning
> > 'undefined'.
> > 
> > Does anybody had this problem ?
> > 
> > Laurent
> > --
> > View this message in context:
> > http://old.nabble.com/htmlunit-and-rich%3Aautocomplete-tp33155812p33155812.html
> > Sent from the HtmlUnit - General mailing list archive at Nabble.com.
> > 
> > 
> > 
> > ------------------------------------------------------------------------------
> > Keep Your Developer Skills Current with LearnDevNow!
> > The most comprehensive online learning library for Microsoft developers
> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > Metro Style Apps, more. Free future releases when you subscribe now!
> > http://p.sf.net/sfu/learndevnow-d2d
> > _______________________________________________
> > Htmlunit-user mailing list
> > Htmlunit-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/htmlunit-user
> > 
> 
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Htmlunit-user mailing list
> Htmlunit-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/htmlunit-user
> 
> 

-- 
View this message in context: \
http://old.nabble.com/htmlunit-and-rich%3Aautocomplete-tp33155812p33170471.html Sent \
from the HtmlUnit - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic