Re: [JWebUnit-users] JWebUnit2.2: Locale change

2009-05-21 Thread Ahmed Ashour
Dear Parham, Since HtmlUnit 2.5, "Accept-Language" header is automatically set to "en", instead of not being defined, you should be able to change it to anything needed. Yours, Ahmed Parham, Clinton wrote: > Hello, >   > In the 2.2 release, I’m noticing that the server-side locale is no

Re: [JWebUnit-users] [Htmlunit-user] NPE in HtmlUnit

2009-07-27 Thread Ahmed Ashour
Hello Julien, Can we have a test case please? As the below gives 'StackOverflowError' with SVN version (to be tackled soon).     WebClient webClient = new WebClient();     HtmlPage page = webClient.getPage("http://www.google.com";);     page.getElementByName("q").setValueAttribute("h

Re: [JWebUnit-users] Re : [Htmlunit-user] NPE in HtmlUnit

2009-07-27 Thread Ahmed Ashour
    webClient.closeAllWindows(); Please note this is the latest stable release of HtmlUnit that is used. Best regards, Julien De : Ahmed Ashour À : htmlunit-u...@lists.sourceforge.net Cc : jwebunit-users@lists.sourceforge.net Envoyé le : Lundi, 27 Juillet 2009, 13h35mn

Re: [JWebUnit-users] Re : Is browser backbutton and browser refresh supported by jwebunit?

2009-08-15 Thread Ahmed Ashour
Hi all, HtmlUnit supports both:     - htmlPage.refresh() since 2.5     - webWindow.getHistory().back() in 2.6-SNAPSHOT Yours, Ahmed Blog: http://asashour.blogspot.com From: Julien HENRY To: Usage problems for JWebUnit Sent: Thursday, August 13, 2009 11:31