did you install the 2.0 version over an existing one?

Dierk 

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Nguyen, Son (EDS)
> Sent: Mittwoch, 2. August 2006 15:27
> To: [email protected]
> Subject: [Webtest] RE: WebTest digest, Vol 1 #1501 - 3 msgs
> 
> 
> After updating canoo to 2.0, I ran into problems with scriptstep.  My
> resolution was to copy and paste the old bsf-20051215.jar to webtest/lib
> it was able to work again.   
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Wednesday, August 02, 2006 6:01 AM
> To: [email protected]
> Subject: WebTest digest, Vol 1 #1501 - 3 msgs
> 
> Send WebTest mailing list submissions to
>       [email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.canoo.com/mailman/listinfo/webtest
> or, via email, send a message with subject or body 'help' to
>       [EMAIL PROTECTED]
> 
> You can reach the person managing the list at
>       [EMAIL PROTECTED]
> 
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of WebTest digest..."
> 
> 
> Today's Topics:
> 
>    1. AW: AW: AW: [Webtest] submit forms using the enter key (Zoth,
> Jochen)
>    2. AW: AW: AW: [Webtest] submit forms using the enter key (Zoth,
> Jochen)
>    3. RE: Is there an option in htmlunit or webtest to allow HTTP 302 to
> be tr (Craig Copeland)
> 
> --__--__--
> 
> Message: 1
> Subject: AW: AW: AW: [Webtest] submit forms using the enter key
> Date: Tue, 1 Aug 2006 12:39:53 +0200
> From: "Zoth, Jochen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Reply-To: [email protected]
> 
> I edited log4j.properties and also tried =
> "-DlogLevel.httpclientWire=3Ddebug -DlogLevel.htmlunit=3Ddebug" and =
> still get no debug messages.
> 
> Maybe something to do with the problem of the development version =
> showing no step logging? I'm using R_1368.
> 
> So I tried the 2.0 release (R_1217) and got htmlunit logging working!
> 
> But with this version the scriptStep doesn't work. I always get:
> java.lang.ClassNotFoundException: =
> org.apache.bsf.engines.javascript.JavaScriptEngine
> 
> Is there someone who doesn't want me to get this working? ;-)
> 
> 
> -----Urspr=FCngliche Nachricht-----
> Von: [EMAIL PROTECTED] =
> [mailto:[EMAIL PROTECTED] Im Auftrag von Marc Guillemot
> Gesendet: Dienstag, 1. August 2006 11:56
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: AW: [Webtest] submit forms using the enter key
> 
> WebTest uses log4j. If you uses the classic WebTest classpath, you
> can=20 edit log4j.properties in Webtest's lib dir.
> 
> Marc.
> 
> Zoth, Jochen wrote:
> > OK, how do I change the debug level for htmlunit?
> > webtest -d shows no htmlunit debug messages...
> >=20
> > -----Urspr=FCngliche Nachricht-----
> > Von: [EMAIL PROTECTED] =
> [mailto:[EMAIL PROTECTED] Im Auftrag von Marc Guillemot
> > Gesendet: Dienstag, 1. August 2006 11:18
> > An: [EMAIL PROTECTED]
> > Betreff: Re: AW: [Webtest] submit forms using the enter key =20  Hi 
> >Jochen, =20  try to set the log level to debug (in particulary for what
> 
> >concerns=20
> > htmlunit) to see what happens.
> >=20
> > Marc.
> >=20
> > Zoth, Jochen wrote:
> >> Hi Marc,
> >>
> >> Thanks for your suggestion, I tried it on a login form
> >>
> >> <setInputField name=3D"Pass" value=3D"aaa" /> <setInputField 
> >> name=3D"User" value=3D"bbb" />
> >>
> >> <scriptStep language=3D"javascript">
> >>    item =3D document.getOneHtmlElementByAttribute('input', 'name',
> =
> 'Pass');
> >>    item.keyDown(13);
> >> </scriptStep>
> >>
> >> to simulate a user pressing enter after entering username and pass, =
> but nothing happened. The input fields are filled with aaa / bbb and the
> = scriptStep is executed, but it doesn't fire the form.
> >>
> >> I also tried some key codes of "normal" characters, nothing is =
> entered into the input field.
> >>
> >> Jochen.
> >>
> >>
> >> -----Urspr=FCngliche Nachricht-----
> >> Von: [EMAIL PROTECTED] =
> [mailto:[EMAIL PROTECTED] Im Auftrag von Marc Guillemot
> >> Gesendet: Montag, 31. Juli 2006 15:28
> >> An: [EMAIL PROTECTED]
> >> Betreff: Re: [Webtest] submit forms using the enter key
> >>
> >> Hi Jochen,
> >>
> >> there is currently no WebTest step doing this, but you can use a =
> script=20
> >> for instance Groovy to call directly keyDown on the element you want:
> >> =
> http://htmlunit.sourceforge.net/apidocs/com/gargoylesoftware/htmlunit/ht
> m=
> l/HtmlElement.html#keyDown(int)
> >>
> >> Marc.
> >>
> >> Zoth, Jochen wrote:
> >>> Hi,
> >>>
> >>> I'm looking for a way to submit form data like pressing the enter =
> key
> >>> after filling an input field, instead of using the <clickButton 
> >>> value=3D"OK"/> way.
> >>>
> >>> I need this because of a buggy application behaving different on =
> some
> >>> forms submitted by pressing enter, instead of using the submit =
> button.
> >>>
> >>> Any ideas?
> >>>
> >>> Jochen.
> >>> _______________________________________________
> >>> WebTest mailing list
> >>> [email protected]
> >>> http://lists.canoo.com/mailman/listinfo/webtest
> >>>
> >> _______________________________________________
> >> WebTest mailing list
> >> [email protected]
> >> http://lists.canoo.com/mailman/listinfo/webtest
> >> _______________________________________________
> >> WebTest mailing list
> >> [email protected]
> >> http://lists.canoo.com/mailman/listinfo/webtest
> >>
> >=20
> > _______________________________________________
> > WebTest mailing list
> > [email protected]
> > http://lists.canoo.com/mailman/listinfo/webtest
> > _______________________________________________
> > WebTest mailing list
> > [email protected]
> > http://lists.canoo.com/mailman/listinfo/webtest
> >=20
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 
> --__--__--
> 
> Message: 2
> Subject: AW: AW: AW: [Webtest] submit forms using the enter key
> Date: Tue, 1 Aug 2006 13:49:01 +0200
> From: "Zoth, Jochen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Reply-To: [email protected]
> 
> Hey Marc,
> 
> don't ask how, but I got it!
> 
>   [java] DEBUG (com.canoo.webtest.ant.TestStepSequence) - Executing step
> = ScriptStep at D:\projects\WebtestSI\webtests\test.xml:39:  with =
> (language=3D"javascript", script=3D"
> 
>   [java]                                     item =3D =
> document.getOneHtmlElementByAttribute('input', 'name', 'Pass');
> 
>   [java]                                     item.keyDown(13);
> 
>   [java]                             ", taskName=3D"scriptStep")
>   [java] [scriptStep] DEBUG (com.canoo.webtest.steps.Step) - Expanding =
> properties for scriptStep (7/7)
>   [java] [scriptStep]  INFO (com.canoo.webtest.steps.Step) - >>>> Start
> =
> Step: scriptStep (7/7)
>   [java] [scriptStep] DEBUG (com.canoo.webtest.steps.Step) - Executing =
> scriptStep (7/7)
>   [java] [scriptStep] DEBUG (com.canoo.webtest.extension.ScriptStep) - =
> Creating new Script Runner with language: javascript
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:declareBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:registerBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:declareBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:registerBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:declareBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:registerBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:declareBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:registerBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:declareBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:registerBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:declareBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:registerBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:declareBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:registerBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:declareBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:registerBean
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:exec
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:loadScriptingEngine
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:getClassPath
>   [java] [scriptStep] DEBUG (org.apache.bsf.BSFManager) - =
> BSFManager:getClassLoader
>   [java] [scriptStep] DEBUG (com.canoo.webtest.steps.Step) - Finished =
> scriptStep (7/7)
>   [java] [scriptStep] DEBUG (com.canoo.webtest.steps.Step) - Completed =
> Step: scriptStep (7/7)
>   [java] [scriptStep] DEBUG (com.canoo.webtest.steps.Step) - <<<< =
> Successful Step: scriptStep (7/7)
>   [java] DEBUG (com.canoo.webtest.ant.TestStepSequence) - Step execution
> = finished
> 
> 
> But no htmlunit debug messages in there.
> Other steps show htmlunit debug messages, so logging seems to work.
> 
> 
> -----Urspr=FCngliche Nachricht-----
> Von: [EMAIL PROTECTED] =
> [mailto:[EMAIL PROTECTED] Im Auftrag von Zoth, Jochen
> Gesendet: Dienstag, 1. August 2006 12:40
> An: [EMAIL PROTECTED]
> Betreff: AW: AW: AW: [Webtest] submit forms using the enter key
> 
> I edited log4j.properties and also tried =
> "-DlogLevel.httpclientWire=3Ddebug -DlogLevel.htmlunit=3Ddebug" and =
> still get no debug messages.
> 
> Maybe something to do with the problem of the development version =
> showing no step logging? I'm using R_1368.
> 
> So I tried the 2.0 release (R_1217) and got htmlunit logging working!
> 
> But with this version the scriptStep doesn't work. I always get:
> java.lang.ClassNotFoundException: =
> org.apache.bsf.engines.javascript.JavaScriptEngine
> 
> Is there someone who doesn't want me to get this working? ;-)
> 
> 
> -----Urspr=FCngliche Nachricht-----
> Von: [EMAIL PROTECTED] =
> [mailto:[EMAIL PROTECTED] Im Auftrag von Marc Guillemot
> Gesendet: Dienstag, 1. August 2006 11:56
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: AW: [Webtest] submit forms using the enter key
> 
> WebTest uses log4j. If you uses the classic WebTest classpath, you
> can=20 edit log4j.properties in Webtest's lib dir.
> 
> Marc.
> 
> Zoth, Jochen wrote:
> > OK, how do I change the debug level for htmlunit?
> > webtest -d shows no htmlunit debug messages...
> >=20
> > -----Urspr=FCngliche Nachricht-----
> > Von: [EMAIL PROTECTED] =
> [mailto:[EMAIL PROTECTED] Im Auftrag von Marc Guillemot
> > Gesendet: Dienstag, 1. August 2006 11:18
> > An: [EMAIL PROTECTED]
> > Betreff: Re: AW: [Webtest] submit forms using the enter key =20  Hi 
> >Jochen, =20  try to set the log level to debug (in particulary for what
> 
> >concerns=20
> > htmlunit) to see what happens.
> >=20
> > Marc.
> >=20
> > Zoth, Jochen wrote:
> >> Hi Marc,
> >>
> >> Thanks for your suggestion, I tried it on a login form
> >>
> >> <setInputField name=3D"Pass" value=3D"aaa" /> <setInputField 
> >> name=3D"User" value=3D"bbb" />
> >>
> >> <scriptStep language=3D"javascript">
> >>    item =3D document.getOneHtmlElementByAttribute('input', 'name',
> =
> 'Pass');
> >>    item.keyDown(13);
> >> </scriptStep>
> >>
> >> to simulate a user pressing enter after entering username and pass, =
> but nothing happened. The input fields are filled with aaa / bbb and the
> = scriptStep is executed, but it doesn't fire the form.
> >>
> >> I also tried some key codes of "normal" characters, nothing is =
> entered into the input field.
> >>
> >> Jochen.
> >>
> >>
> >> -----Urspr=FCngliche Nachricht-----
> >> Von: [EMAIL PROTECTED] =
> [mailto:[EMAIL PROTECTED] Im Auftrag von Marc Guillemot
> >> Gesendet: Montag, 31. Juli 2006 15:28
> >> An: [EMAIL PROTECTED]
> >> Betreff: Re: [Webtest] submit forms using the enter key
> >>
> >> Hi Jochen,
> >>
> >> there is currently no WebTest step doing this, but you can use a =
> script=20
> >> for instance Groovy to call directly keyDown on the element you want:
> >> =
> http://htmlunit.sourceforge.net/apidocs/com/gargoylesoftware/htmlunit/ht
> m=
> l/HtmlElement.html#keyDown(int)
> >>
> >> Marc.
> >>
> >> Zoth, Jochen wrote:
> >>> Hi,
> >>>
> >>> I'm looking for a way to submit form data like pressing the enter =
> key
> >>> after filling an input field, instead of using the <clickButton 
> >>> value=3D"OK"/> way.
> >>>
> >>> I need this because of a buggy application behaving different on =
> some
> >>> forms submitted by pressing enter, instead of using the submit =
> button.
> >>>
> >>> Any ideas?
> >>>
> >>> Jochen.
> >>> _______________________________________________
> >>> WebTest mailing list
> >>> [email protected]
> >>> http://lists.canoo.com/mailman/listinfo/webtest
> >>>
> >> _______________________________________________
> >> WebTest mailing list
> >> [email protected]
> >> http://lists.canoo.com/mailman/listinfo/webtest
> >> _______________________________________________
> >> WebTest mailing list
> >> [email protected]
> >> http://lists.canoo.com/mailman/listinfo/webtest
> >>
> >=20
> > _______________________________________________
> > WebTest mailing list
> > [email protected]
> > http://lists.canoo.com/mailman/listinfo/webtest
> > _______________________________________________
> > WebTest mailing list
> > [email protected]
> > http://lists.canoo.com/mailman/listinfo/webtest
> >=20
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 
> --__--__--
> 
> Message: 3
> Date: Tue, 1 Aug 2006 09:40:06 -0700 (PDT)
> From: Craig Copeland <[EMAIL PROTECTED]>
> To: [email protected]
> Subject: [Webtest] RE: Is there an option in htmlunit or webtest to
> allow HTTP 302 to be tr
> Reply-To: [email protected]
> 
> Done.  There was an older bug on this opened late last year, but was
> closed out by yourgod due to no response from the requester.  I just
> opened a new one:
> https://sourceforge.net/tracker/index.php?func=detail&aid=1531821&group_
> id=47038&atid=448266
> 
> Thanks!
> Craig
> 
> > Hi Craig,
> > 
> > perhaps could you open an issue / add this comment to an existing one 
> > by htmlunit?
> > 
> > Marc.
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com 
> 
> 
> --__--__--
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 
> 
> End of WebTest Digest
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to