Hi Jevon,
thanks for your feedback.
Unfortunately the application is not publicly available (I should have
chosen a different one ... my bad); following your advice I have started
playing with the "extra" stuff of the application and setting
getTestingEngine().setThrowExceptionOnScriptError(false);
seems to prevent the exception (making me suspicious about the what's
actually coming out of the portal).
Going back to my original problem, calling saveAs(File f) is still not
working for me : the content of the file is the page source which makes me
wonder what the click event is actually calling ... where can I find some
examples/documentation of JWebUnit ?
p.s. : I will try to follow up with the HtmlUnit people about the
exception.
Cheers
On Thu, May 15, 2014 at 1:59 AM, Jevon Wright <je...@jevon.org> wrote:
> Hi,
>
> It looks like this could be a bug with HtmlUnit. All clickButtonWithText()
> does is send a click event through to HtmlUnit. Could you follow it up with
> them? Is the URL of the page you are testing publicly available?
>
> Alternatively maybe you can disable your CSS styles and see if there is a
> style that is causing the bug. Maybe the IFrame has some invalid styles or
> content.
>
> Cheers
> Jevon
>
--
--
Marco Ferretti
[image: facebook] <http://facebook.com/marco.ferretti>[image:
twitter]<http://twitter.com/marcoferretti>[image:
Linkedin] <http://it.linkedin.com/in/marcoferretti>[image:
Website]<http://www.fermasoft.com>
[image: public
key]<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3863B939F579CD16>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users