RE: com.gargoylesoftware.htmlunit.ScriptException [SEC=UNCLASSIFIED]

View: New views
6 Messages — Rating Filter:   Alert me  

RE: com.gargoylesoftware.htmlunit.ScriptException [SEC=UNCLASSIFIED]

by spenserkao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Previously I sent through my work email that was not what I registered into webtest maillist, which may cause permission issue, my apologies!

I am re-sending it again.

Spenser

> Spenser Kao <S.Kao@...> wrote:
>
> Correction: The binary htmlunit-2.6-SNAPSHOT.jar, rather than
> htmlunit-2.6-SNAPSHOT-sources.jar, should be the one to be downloaded
> and placed into right directory.
>
> Spenser
>
> ________________________________
> From: Spenser Kao
> Sent: Wednesday, 17 June 2009 4:05 PM
> To: 'Ahmed Ashour'; webtest@...
> Cc: Spenser Kao
> Subject: RE: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
> [SEC=UNCLASSIFIED]
>
> Hi Ahmed,
>
> Thanks for the clue.
>
> I just downloaded the latest htmlunit-2.6-SNAPSHOT-sources.jar from the
> link you pointed to.
> One novice question: should I just drop it into webtest/lib? Or is there
> something I should be aware of for the patch installation?
>
> Regards,
>
> Spenser
>
> ________________________________
> From: Ahmed Ashour [mailto:asashour@...]
> Sent: Wednesday, 17 June 2009 12:12 AM
> To: webtest@...; Spenser Kao
> Subject: Re: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
>
> Hi Spenser,
>
> Actually, Marc has fixed this yesterday in latest 2.6 snapshot, you get
> it it from http://build.canoo.com/htmlunit/artifacts
>
> Yours,
> Ahmed
> ----
> Blog: http://asashour.blogspot.com
> ________________________________
> From: Spenser Kao <SpenserKao@...>
> To: webtest@...
> Sent: Tuesday, June 16, 2009 3:33:09 PM
> Subject: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
>
> Hi WebTest Gurus,
>
> I regarded myself as an experienced ANT / JUnit / XMLUnit user, but I
> found I am struggling with WebTest.
>
> Since a week ago, I've started playing with WebTest latest build 1766
> and 3.0. When I executed a simple googleWebTest.xml as shown below:
> <invoke url="http://www.google.com/ncr" description="Go to Google (in
> English)"/>
> <verifyTitle text="Google" />
> <setInputField name="q" value="WebTest" />
> <clickButton label="I'm Feeling Lucky" />
> <verifyTitle text="Canoo WebTest" />
>
> Pointed to location of the very first "Invoke" step, I immediate
> received following error message
> JavaScript error loading page http://www.google.com/: Wrapped
> com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find
> function inRange in object [object].
>
> By looking into the maillist, a similar error has been reported around
> April this year, some suggested using HtmlUnit-2.5, does it work? If
> yes, where do I download HtmlUnit-2.5?
>
> Best Regards,
>
> Spenser Kao
>
>
> _______________________________________________
> WebTest mailing list
> WebTest@...<mailto:WebTest@...>
> http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest

Re: com.gargoylesoftware.htmlunit.ScriptException

by Ahmed Ashour :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Spenser,
 
Rename the .jar to .zip, extract all .jars inside the '/lib' folder, and put them in your webtest project "/lib" folder.
 
Yours,
Ahmed
----
Blog: http://asashour.blogspot.com

From: "spenserkao@..." <spenserkao@...>
To: Ahmed Ashour <asashour@...>; "webtest @ gate4 . canoo . com" <webtest@...>
Sent: Wednesday, June 17, 2009 9:35:33 AM
Subject: RE: [Webtest] com.gargoylesoftware.htmlunit.ScriptException [SEC=UNCLASSIFIED]

Previously I sent through my work email that was not what I registered into webtest maillist, which may cause permission issue, my apologies!

I am re-sending it again.

Spenser

> Spenser Kao <S.Kao@...> wrote:
>
> Correction: The binary htmlunit-2.6-SNAPSHOT.jar, rather than
> htmlunit-2.6-SNAPSHOT-sources.jar, should be the one to be downloaded
> and placed into right directory.
>
> Spenser
>
> ________________________________
> From: Spenser Kao
> Sent: Wednesday, 17 June 2009 4:05 PM
> To: 'Ahmed Ashour'; webtest@...
> Cc: Spenser Kao
> Subject: RE: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
> [SEC=UNCLASSIFIED]
>
> Hi Ahmed,
>
> Thanks for the clue.
>
> I just downloaded the latest htmlunit-2.6-SNAPSHOT-sources.jar from the
> link you pointed to.
> One novice question: should I just drop it into webtest/lib? Or is there
> something I should be aware of for the patch installation?
>
> Regards,
>
> Spenser
>
> ________________________________
> From: Ahmed Ashour [mailto:asashour@...]
> Sent: Wednesday, 17 June 2009 12:12 AM
> To: webtest@...; Spenser Kao
> Subject: Re: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
>
> Hi Spenser,
>
> Actually, Marc has fixed this yesterday in latest 2.6 snapshot, you get
> it it from http://build.canoo.com/htmlunit/artifacts
>
> Yours,
> Ahmed
> ----
> Blog: http://asashour.blogspot.com
> ________________________________
> From: Spenser Kao <SpenserKao@...>
> To: webtest@...
> Sent: Tuesday, June 16, 2009 3:33:09 PM
> Subject: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
>
> Hi WebTest Gurus,
>
> I regarded myself as an experienced ANT / JUnit / XMLUnit user, but I
> found I am struggling with WebTest.
>
> Since a week ago, I've started playing with WebTest latest build 1766
> and 3.0. When I executed a simple googleWebTest.xml as shown below:
> <invoke url="http://www.google.com/ncr" description="Go to Google (in
> English)"/>
> <verifyTitle text="Google" />
> <setInputField name="q" value="WebTest" />
> <clickButton label="I'm Feeling Lucky" />
> <verifyTitle text="Canoo WebTest" />
>
> Pointed to location of the very first "Invoke" step, I immediate
> received following error message
> JavaScript error loading page http://www.google.com/: Wrapped
> com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find
> function inRange in object [object].
>
> By looking into the maillist, a similar error has been reported around
> April this year, some suggested using HtmlUnit-2.5, does it work? If
> yes, where do I download HtmlUnit-2.5?
>
> Best Regards,
>
> Spenser Kao
>
>
> _______________________________________________
> WebTest mailing list
> WebTest@...<mailto:WebTest@...>
> http://lists.canoo.com/mailman/listinfo/webtest


Parent Message unknown Re: Re: com.gargoylesoftware.htmlunit.ScriptException

by spenserkao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Amhed,

There are all class files inside htmlunit-2.6-SNAPSHOT, or java source inside htmlunit-2.6-SNAPSHOT-sources, but no jars; am I downloading the right files?

Regards,

Spenser


> Ahmed Ashour <asashour@...> wrote:
>
> Hi Spenser,
>
> Rename the .jar to .zip, extract all .jars inside the '/lib' folder,
> and put them in your webtest project "/lib" folder.
>
>
> Yours,
> Ahmed----
> Blog: http://asashour.blogspot.com
>
> ________________________________
> From: "spenserkao@..." <spenserkao@...>
> To: Ahmed Ashour <asashour@...>; "webtest @ gate4 . canoo . com"
> <webtest@...>
> Sent: Wednesday, June 17, 2009 9:35:33 AM
> Subject: RE: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
> [SEC=UNCLASSIFIED]
>
> Previously I sent through my work email that was not what I registered
> into webtest maillist, which may cause permission issue, my apologies!
>
> I am re-sending it again.
>
> Spenser
>
> > Spenser Kao <S.Kao@...> wrote:
> >
> > Correction: The binary htmlunit-2.6-SNAPSHOT.jar, rather than
> > htmlunit-2.6-SNAPSHOT-sources.jar, should be the one to be downloaded
> > and placed into right directory.
> >
> > Spenser
> >
> > ________________________________
> > From: Spenser Kao
> > Sent: Wednesday, 17 June 2009 4:05 PM
> > To: 'Ahmed Ashour'; webtest@...
> > Cc: Spenser Kao
> > Subject: RE: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
> > [SEC=UNCLASSIFIED]
> >
> > Hi Ahmed,
> >
> > Thanks for the clue.
> >
> > I just downloaded the latest htmlunit-2.6-SNAPSHOT-sources.jar from
> the
> > link you pointed to.
> > One novice question: should I just drop it into webtest/lib? Or is
> there
> > something I should be aware of for the patch installation?
> >
> > Regards,
> >
> > Spenser
> >
> > ________________________________
> > From: Ahmed Ashour [mailto:asashour@...]
> > Sent: Wednesday, 17 June 2009 12:12 AM
> > To: webtest@...; Spenser Kao
> > Subject: Re: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
> >
> > Hi Spenser,
> >
> > Actually, Marc has fixed this yesterday in latest 2.6 snapshot, you
> get
> > it it from http://build.canoo.com/htmlunit/artifacts
> >
> > Yours,
> > Ahmed
> > ----
> > Blog: http://asashour.blogspot.com
> > ________________________________
> > From: Spenser Kao <SpenserKao@...>
> > To: webtest@...
> > Sent: Tuesday, June 16, 2009 3:33:09 PM
> > Subject: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
> >
> > Hi WebTest Gurus,
> >
> > I regarded myself as an experienced ANT / JUnit / XMLUnit user, but I
> > found I am struggling with WebTest.
> >
> > Since a week ago, I've started playing with WebTest latest build 1766
> > and 3.0. When I executed a simple googleWebTest.xml as shown below:
> > <invoke url="http://www.google.com/ncr" description="Go to Google (in
> > English)"/>
> > <verifyTitle text="Google" />
> > <setInputField name="q" value="WebTest" />
> > <clickButton label="I'm Feeling Lucky" />
> > <verifyTitle text="Canoo WebTest" />
> >
> > Pointed to location of the very first "Invoke" step, I immediate
> > received following error message
> > JavaScript error loading page http://www.google.com/: Wrapped
> > com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find
> > function inRange in object [object].
> >
> > By looking into the maillist, a similar error has been reported around
> > April this year, some suggested using HtmlUnit-2.5, does it work? If
> > yes, where do I download HtmlUnit-2.5?
> >
> > Best Regards,
> >
> > Spenser Kao
> >
> >
> > _______________________________________________
> > WebTest mailing list
> > WebTest@...<mailto:WebTest@...>
> > http://lists.canoo.com/mailman/listinfo/webtest
>
>
>
>
_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest

RE: Re: com.gargoylesoftware.htmlunit.ScriptException

by spenserkao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Amhed,

I meant that htmlunit-2.6-SNAPSHOT.jar appears to be a pure java package
of com.gargoylesoftware.htmlunit, rather than composited, nested jars.

Spenser
-----Original Message-----
From: spenserkao@... [mailto:spenserkao@...]
Sent: Wednesday, 17 June 2009 5:17 PM
To: Ahmed Ashour
Cc: spenserkao@...; webtest @ gate4 . canoo . com
Subject: Re: Re: [Webtest] com.gargoylesoftware.htmlunit.ScriptException


Hi Amhed,

There are all class files inside htmlunit-2.6-SNAPSHOT, or java source
inside htmlunit-2.6-SNAPSHOT-sources, but no jars; am I downloading the
right files?

Regards,

Spenser


> Ahmed Ashour <asashour@...> wrote:
>
> Hi Spenser,
>
> Rename the .jar to .zip, extract all .jars inside the '/lib' folder,

> and put them in your webtest project "/lib" folder.
>
>
> Yours,
> Ahmed----
> Blog: http://asashour.blogspot.com
>
> ________________________________
> From: "spenserkao@..." <spenserkao@...>
> To: Ahmed Ashour <asashour@...>; "webtest @ gate4 . canoo . com"

> <webtest@...>
> Sent: Wednesday, June 17, 2009 9:35:33 AM
> Subject: RE: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
> [SEC=UNCLASSIFIED]
>
> Previously I sent through my work email that was not what I registered

> into webtest maillist, which may cause permission issue, my apologies!
>
> I am re-sending it again.
>
> Spenser
>
> > Spenser Kao <S.Kao@...> wrote:
> >
> > Correction: The binary htmlunit-2.6-SNAPSHOT.jar, rather than
> > htmlunit-2.6-SNAPSHOT-sources.jar, should be the one to be
downloaded

> > and placed into right directory.
> >
> > Spenser
> >
> > ________________________________
> > From: Spenser Kao
> > Sent: Wednesday, 17 June 2009 4:05 PM
> > To: 'Ahmed Ashour'; webtest@...
> > Cc: Spenser Kao
> > Subject: RE: [Webtest] com.gargoylesoftware.htmlunit.ScriptException

> > [SEC=UNCLASSIFIED]
> >
> > Hi Ahmed,
> >
> > Thanks for the clue.
> >
> > I just downloaded the latest htmlunit-2.6-SNAPSHOT-sources.jar from
> the
> > link you pointed to.
> > One novice question: should I just drop it into webtest/lib? Or is
> there
> > something I should be aware of for the patch installation?
> >
> > Regards,
> >
> > Spenser
> >
> > ________________________________
> > From: Ahmed Ashour [mailto:asashour@...]
> > Sent: Wednesday, 17 June 2009 12:12 AM
> > To: webtest@...; Spenser Kao
> > Subject: Re: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
> >
> > Hi Spenser,
> >
> > Actually, Marc has fixed this yesterday in latest 2.6 snapshot, you
> get
> > it it from http://build.canoo.com/htmlunit/artifacts
> >
> > Yours,
> > Ahmed
> > ----
> > Blog: http://asashour.blogspot.com
> > ________________________________
> > From: Spenser Kao <SpenserKao@...>
> > To: webtest@...
> > Sent: Tuesday, June 16, 2009 3:33:09 PM
> > Subject: [Webtest] com.gargoylesoftware.htmlunit.ScriptException
> >
> > Hi WebTest Gurus,
> >
> > I regarded myself as an experienced ANT / JUnit / XMLUnit user, but
I
> > found I am struggling with WebTest.
> >
> > Since a week ago, I've started playing with WebTest latest build
1766
> > and 3.0. When I executed a simple googleWebTest.xml as shown below:
> > <invoke url="http://www.google.com/ncr" description="Go to Google
(in

> > English)"/>
> > <verifyTitle text="Google" />
> > <setInputField name="q" value="WebTest" />
> > <clickButton label="I'm Feeling Lucky" />
> > <verifyTitle text="Canoo WebTest" />
> >
> > Pointed to location of the very first "Invoke" step, I immediate
> > received following error message
> > JavaScript error loading page http://www.google.com/: Wrapped
> > com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot
find
> > function inRange in object [object].
> >
> > By looking into the maillist, a similar error has been reported
around

> > April this year, some suggested using HtmlUnit-2.5, does it work? If
> > yes, where do I download HtmlUnit-2.5?
> >
> > Best Regards,
> >
> > Spenser Kao
> >
> >
> > _______________________________________________
> > WebTest mailing list
> > WebTest@...<mailto:WebTest@...>
> > http://lists.canoo.com/mailman/listinfo/webtest
>
>
>
>

_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest

Re: com.gargoylesoftware.htmlunit.ScriptException

by Ahmed Ashour :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Spenser,
 
Sorry for not being precise:
 
htmlunit-2.6-SNAPSHOT.jar contains java .classes
 
 
Yours,
Ahmed
----
Blog: http://asashour.blogspot.com

From: Spenser Kao <SpenserKao@...>
To: Ahmed Ashour <asashour@...>; "webtest @ gate4 . canoo . com" <webtest@...>
Cc: spenserkao@...
Sent: Wednesday, June 17, 2009 3:05:00 PM
Subject: RE: Re: [Webtest] com.gargoylesoftware.htmlunit.ScriptException

Hi Amhed,

I meant that htmlunit-2.6-SNAPSHOT.jar appears to be a pure java package
of com.gargoylesoftware.htmlunit, rather than composited, nested jars.

Spenser


RE: com.gargoylesoftware.htmlunit.ScriptException

by spenserkao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi Agmed,

One thing needs to be done to make sure the patch works.

After extracting everything under htmlunit-2.6-SNAPSHOT-with-dependencies.zip into <webtest_install_dir>/webtest/lib, I need to rename htmlunit-2.4.jar to something ineffective, such as htmlunit-2.4.jar.sav, forcing htmlunit-2.6-SNAPSHOT.jar to be the only one to be referenced for the classes which are redundant with those in htmlunit-2.4.jar.

Thanks for the great help!

Spenser

 

-----Original Message-----
From:
Ahmed Ashour [mailto:asashour@...]
Sent
:
Thursday, 18 June 2009 9:32 PM
To:
Spenser Kao; webtest@...
Subject: Re: [Webtest] com.gargoylesoftware.htmlunit.ScriptException

 

Hi Spenser,

 

Sorry for not being precise:

 

htmlunit-2.6-SNAPSHOT.jar contains java .classes

 

 

Yours,

Ahmed

----
Blog: http://asashour.blogspot.com


From: Spenser Kao <SpenserKao@...>
To: Ahmed Ashour <asashour@...>; "webtest @ gate4 . canoo . com" <webtest@...>
Cc: spenserkao@...
Sent: Wednesday, June 17, 2009 3:05:00 PM
Subject: RE: Re: [Webtest] com.gargoylesoftware.htmlunit.ScriptException

Hi Amhed,

I meant that htmlunit-2.6-SNAPSHOT.jar appears to be a pure java package
of com.gargoylesoftware.htmlunit, rather than composited, nested jars.

Spenser