[Webtest] Getting error Wrapped com.gargoylesoftware.htmlunit.ScriptException:
TypeError: Cannot set property "value" of undefined to "null"
Marc Guillemot
Marc Guillemot <mguillemot@yahoo.fr>
Mon, 01 Oct 2007 10:52:39 +0200
Hi,
have you looked at the source in
http://localhost/learnity/servlet/cms.assignment.AssignmentCollectionManagement?prmAddmodify=0&course_id=1724752378&assignment_id=ass1&student_id=mahuya
line ~69?
Which WebTest build do you use? A recent one should provide a js call
stack in the report error informations.
Marc.
--
Blog: http://mguillem.wordpress.com
Mahuya wrote:
> Hi,
> I have generated a test script.But when I want to run the script from
> command line the following error has occured.
> INFO (com.canoo.webtest.steps.Step) - Running with: Canoo Webtest: R_1590.
> INFO (com.canoo.webtest.steps.Step) - Exception thrown from this class:
> com.can
> oo.webtest.engine.StepExecutionException
> INFO (com.canoo.webtest.steps.Step) - Message was: Unexpected exception
> caught:
> com.gargoylesoftware.htmlunit.ScriptException: Wrapped
> com.gargoylesoftware.htm
> lunit.ScriptException: TypeError: Cannot set property "value" of undefined
> to "n
> ull" (Embedded script in
> http://localhost/learnity/servlet/cms.assignment.Assign
> mentCollectionManagement?prmAddmodify=0&student_id=mahuya&row_no=1&assignment_id
> =ass1&course_id=1724752378&checkbox=3 from (9, 40) to (0, 0)#93) (Embedded
> scrip
> t in
> http://localhost/learnity/servlet/cms.assignment.AssignmentCollectionManage
> ment?prmAddmodify=0&course_id=1724752378&assignment_id=ass1&student_id=mahuya
> fr
> om (9, 40) to (0, 0)#60)
> INFO (com.canoo.webtest.ant.WebtestTask) - Finished executing webtest
> "myTest"
> (C:\mahuya\sample\assignset.xml:10: )
> INFO (com.canoo.webtest.ant.WebtestTask) - Test report successfully
> created.
>
> I cann't find out the reason. Is anyone can help me out.......
>
> thanks in advance................. Mahuya