ReferenceError: "validateForm" is not defined. error when executing a clickbutton event.
Hitesh Gupta <[email protected]>
| Newsgroups | gmane.comp.web.canoo.webtest |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am getting a very strange Javascript issue while executing one of my test.
This error appears on clickButton event.
*Error:-*
JavaScript error loading page
http://10.208.7.175:8080/IDMProv/getAFResourceList.do?apwaLeftNavItem=JSP_MENU_RESOURCE_REQUEST_CLASSIC&apwaActionScope=user&apwaNewSearch=true:
ReferenceError: "validateForm" is not defined.
*Error Details:-*
Details
*javascript error * ReferenceError: "validateForm" is not
defined.
*line * 0
*javascript source* function () { [native code, arity=0] }
*failing line * function () {
*javascript call stack* ReferenceError: "validateForm" is not
defined. at (onclick event for HtmlButtonInput[<input type="button"
onclick="validateForm()" value="Continue">] in
http://10.208.7.175:8080/IDMProv/getAFResourceList.do?apwaLeftNavItem=JSP_MENU_RESOURCE_REQUEST_CLASSIC&apwaActionScope=user&apwaNewSearch=true
)
I checked the html page and the javscript function "validateForm" is defined
in the page itself.
When I manually opens the page in browser it opens without any error. I
tried this test with the latest webtest build.
Would appreciate if any one could suggest me a way to resolve the issue.
Thanks & Regards,
Hitesh