Hi Julien,
Thank you for your answer, but that still didn´t work out for me.
Best,
Alexandre
________________________________
De: Julien HENRY <henr...@yahoo.fr>
Para: Usage problems for JWebUnit <jwebunit-users@lists.sourceforge.net>
Enviadas: Quarta-feira, 1 de Setembro de 2010 9:28:50
Assunto: [JWebUnit-users] Re : jwebunit with JSF: Dynamic page takes a long
time!
Hi Alexandre,
Sometimes this is beacuse of Javascript that takes too much time to execute
under HtmlUnit. TRy to disable scripting (setScriptingEnabled(false)) to see if
performances are better.
Regards,
Julien
>
>De : Alexandre Gazola <alexandregaz...@yahoo.com.br>
>À : jwebunit-users@lists.sourceforge.net
>Envoyé le : Mer 1 septembre 2010, 2h 12min 52s
>Objet : [JWebUnit-users] jwebunit with JSF: Dynamic page takes a long time!
>
>
>Hi guys!
>
>I started experimenting with jwebunit on my JSF project. My test takes a
>really
>long time to run (it gets stuck for some time at the "beginAt" call). The
>method succeeds, but it is taking a long time to execute. Does anybody know
>what
>is happening ? (this is a JSF 1.2 application).
>
>
>publicclassTesteWebUnit {
> privateWebTester tester;
> @Before
> publicvoidsetUp() throwsException {
> tester= newWebTester();
> tester.setBaseUrl(http://localhost:8180/Test);
> }
> @Test
> publicvoidlogin() {
> tester.beginAt("/login/login.html");
> tester.assertTitleEquals("Login Page");
> }
>}
>
>Thanks!
>
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users