2 messages in com.canoo.lists.webtestRe: [Webtest] Help with script error
FromSent OnAttachments
Cynthia A Reece12 Apr 2006 13:06 
Marc Guillemot12 Apr 2006 13:24 
Subject:Re: [Webtest] Help with script error
From:Marc Guillemot (mgui@yahoo.fr)
Date:04/12/2006 01:24:58 PM
List:com.canoo.lists.webtest

Hi Cynthia,

for some reason webtest doesn't found any function named "anchor_submit_form". Can you fix the html code? It is quite badly formed and I can imagine that it is the cause of the problem.

Marc.

Cynthia A Reece wrote:

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.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------