[Webtest] Help with script error

Cynthia A Reece webtest@lists.canoo.com
Wed, 12 Apr 2006 16:06:49 -0400




Hi All,
I am trying to disnose a script error I am getting from canoo:
<failure message="com.canoo.webtest.engine.StepFailedException:
Step[clickLink "Submit comments form" (4/10)]: Script error loading page
executing webtest at: clickLink TypeError: anchor_submit_form is not a
function, it is null. (event for HtmlAnchor[<a
href="http://eric.ed.gov/ERICWebPortal/Home.portal;jsessionid=G9cGMsqMpK1TJZJvhjy2gmRkPLTkVXCFTQnYy32dMwsvvcc4dj5k!418540710?_nfpb=true&portlet_12_1_actionOverride=%2Fcustom%2Fportlets%2FcontactUs%2FSendEmail&_windowLabel=portlet_12_1"

onclick="anchor_submit_form("portlet_12_1Netui_Form_0","http://eric.ed.gov/ERICWebPortal/Home.portal;jsessionid=G9cGMsqMpK1TJZJvhjy2gmRkPLTkVXCFTQnYy32dMwsvvcc4dj5k!418540710?_nfpb=true&portlet_12_1_actionOverride=%2Fcustom%2Fportlets%2FcontactUs%2FSendEmail&_windowLabel=portlet_12_1");return
 false;" id="submit">]#1) Source code: function () { [native code, arity=0]
} , Step: ClickLink at C:\canoo\ERICTests\ContactERICTest.xml:27: with
(taskName="clickLink", label="Submit", saveResponse="true",
description="Submit comments form", savePrefix="SubmittedForm")" />

The javascript function in question is generated dynamically from BEA, and
I am successfully running other test scripts against other pages that use
the tags that generate this javascript function.  Anyway have any insight
into the cause of this?

Thanks

Cynthia A. Reece



--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------