hi, sorry if this is a duplicate msg, i sent this earlier right after i
subscribed so i'm not sure if it made it or not.

when i run a simple login test for youtube.com like this:
...
<invoke url="http://www.youtube.com/login"; description=""/>
<verifyText text="Sign in to YouTube!" />
<setInputField name="Email" value="[email protected]"/>
<setInputField name="Passwd" value="mypassword"/>
<clickButton label="Sign in"/>
...

i get the following error when i run the test:
...
ERROR (com.gargoylesoftware.htmlunit.JavaScriptBackgroundJob) - Caught
exception in Window.setTimeout().
======= EXCEPTION START ========
EcmaError: lineNumber=[0] column=[0] lineSource=[<no source>]
name=[TypeError] sourceName=[null] message=[TypeError: Cannot find function
inRange in object [object].]
com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find
function inRange in object [object].
    at
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:513)
...
BUILD FAILED
/home/nick/eclipseLocalWorkspace/webtest/build/webtest.xml:234: The
following error occurred while executing this line:
/home/nick/eclipseLocalWorkspace/webtest/build/youtube/tests/allTests.xml:5:
The following error occurred while executing this line:
/home/nick/eclipseLocalWorkspace/webtest/build/youtube/tests/youtubeWebTest.xml:9:
com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot set
property "visibility" of undefined to "hidden" (
http://s.ytimg.com/yt/js/base_all_with_bidi-vfl89846.js#2280)

is htmlunit just not good enough? can anyone else log in using my script
text?

Nick


-- 
My sites:
http://nickleus.com
http://worldphrasebook.net
http://youtube.com/user/nickleus1977
http://myspace.com/sirnickleus
http://nickleus.blogspot.com
http://nick.c.humphrey.googlepages.com
http://nickhumphrey.net

Favorite sites:
http://scriptures.lds.org
http://lds.org
http://jesukristikirke.no
http://flickr.com
http://youtube.com
http://facebook.com
http://del.icio.us
http://ccmixter.org
http://google.com
http://nationmaster.com
http://nicetranslator.com

Reply via email to