Hi Julien,
I am using the latest version as you suggested JWebUnit (1.4-rc4).I added
all the jars into my project's classpath.When I am trying to import
WebTestCase Class in the following package
import *net.sourceforge.jwebunit.junit.WebTestCase*;
It is always throwing the following error .
package net.sourceforge.jwebunit.junit does not exist
[*javac*] import net.sourceforge.jwebunit.junit.WebTestCase;
But When I tried to *import net.sourceforge.jwebunit.WebTestCase*;
There are no problems with that.May I know why and please let me know the
solution for this problem.
Thanks in Advance,
Viswa,
On 3/6/07, Julien HENRY <[EMAIL PROTECTED]> wrote:
Hi Viswa,
I don't provide support for old versions of JWebUnit, especially those
using HttpUnit. Please upgrade to the latest release of JWebUnit (1.4-rc4
).
++
Julien
----- Message d'origine ----
De : vbreddy k <[EMAIL PROTECTED]>
À : Usage problems for JWebUnit <[email protected]>
Envoyé le : Lundi, 5 Mars 2007, 22h16mn 26s
Objet : Re: [JWebUnit-users] Unexpected end of ZLIB input stream
Hi Henry ,
I am desabled the scripting by using
HttpUnitOptions.*setScriptingEnabled*(
*false*);I am using httpunit-1.5.5-d-29Apr.jar .Please help me ASAP.
Even thought i am getting folowing error . Can you pelase have a look at
this
Testcase: testBusinessServiceList(com.hp.bse.login.BSELoginTest): Caused
an ERROR
*junit*] Error loading included script: *java.io.EOFException* :
Unexpected end of ZLIB input stream
[
*junit*] *java.lang.RuntimeException* : Error loading included script: *
java.io.EOFException*: Unexpected end of ZLIB input stream
[
*junit*] at com.meterware.httpunit.ParsedHTML.getScript(*ParsedHTML.java:341
*)
[
*junit*] at com.meterware.httpunit.ParsedHTML.interpretScriptElement(*
ParsedHTML.java :319*)
[
*junit*] at com.meterware.httpunit.ParsedHTML.access$700(*ParsedHTML.java:37
*)
[
*junit *] at com.meterware.httpunit.ParsedHTML$ScriptFactory.recordElement
(* ParsedHTML.java :489*)
[
*junit*] at com.meterware.httpunit.ParsedHTML$2.processElement(*
ParsedHTML.java :702*)
[
*junit*] at com.meterware.httpunit.NodeUtils$PreOrderTraversal.perform(*
NodeUtils.java :195*)
[
*junit*] at com.meterware.httpunit.ParsedHTML.loadElements(*
ParsedHTML.java :718 *)
[
*junit*] at com.meterware.httpunit.ParsedHTML.getForms(*ParsedHTML.java:106
*)
[
*junit*] at com.meterware.httpunit.WebResponse.getForms(*WebResponse.java:360
*)
[
*junit*] at net.sourceforge.jwebunit.HttpUnitDialog.hasForm(*
HttpUnitDialog.java :257*)
[
*junit*] at net.sourceforge.jwebunit.WebTester.assertFormPresent(*
WebTester.java :353*)
[
*junit*] at net.sourceforge.jwebunit.WebTester.assertFormElementPresent(*
WebTester.java :306*)
[
*junit*] at net.sourceforge.jwebunit.WebTestCase.assertFormElementPresent(
* WebTestCase.java :132*)
[
*junit*] at com.hp.bse.login.BSELoginTest.testBusinessServiceList(Unknown
Source)
Regards
Viswa.
On 3/4/07, Julien HENRY <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> A new release of JWebUnit was uploaded. I hope it will be the latest
> before final 1.4, but feel free to report bugs.
>
> ++
>
> Julien
>
>
>
>
>
>
>
>
>
> ___________________________________________________________________________
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
> questions !
> Profitez des connaissances, des opinions et des expériences des
> internautes sur Yahoo! Questions/Réponses
> http://fr.answers.yahoo.com
>
> -------------------------------------------------------------------------
>
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> JWebUnit-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
>
--
Regards
Viswa Bharat Reddy
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
------------------------------
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
! Profitez des connaissances, des opinions et des expériences des
internautes sur Yahoo!
Questions/Réponses<http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>
.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
--
Regards
Viswa Bharat Reddy
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users