3 messages in com.canoo.lists.webtestRe: [Webtest] htmlunit.ScriptExceptio...
FromSent OnAttachments
Chang Su16 Feb 2007 17:52 
Paul King16 Feb 2007 18:04 
Chang Su17 Feb 2007 18:34 
Subject:Re: [Webtest] htmlunit.ScriptException: null is not a function, it is null
From:Chang Su (chan@yahoo.com)
Date:02/17/2007 06:34:52 PM
List:com.canoo.lists.webtest

It magically fixed my problem. Thanks a lot!!

--- Paul King <pau@asert.com.au> wrote:

You might need to disable javascript on the page. It's not getting to the verifyContent step.

See <enableJavaScript>.

Paul.

Chang Su wrote:

Hello,

I was trying to use <verifyContent> to verify my BUI page, <verifyContent referenceFile="baseline.html"> </verifyContent>

however I got following exception,

Exception raised: com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: com.gargoylesoftware.htmlunit.ScriptException: TypeError: null is not a function, it is null.

(http:/console/theme/com/sun/web/ui/suntheme/javascript/formElements.js#1),

Step: VerifyContent at /home/testsuites/src/SimpleHTTPS.xml:89: with (taskName="verifyContent")

seems there is some components on the page cannot be recognized by htmiUnit??

how to work around this problem? Can someone help??

thanks,

Chang


____________________________________________________________________________________

Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games.

http://videogames.yahoo.com/platform?platform=120121