This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Testing and the fly likes java script issue on httpunit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » Testing
Bookmark "java script issue on httpunit" Watch "java script issue on httpunit" New topic

java script issue on httpunit

Sonu Jaiswal

Joined: Feb 26, 2012
Posts: 2

i am testing a web page using httpUnit and i am getting some problem with java script in that site

Can anyone tell me how to resolve this "The undefined value has no properties" issue

i am using tapestry for front end page creation.

Stack Trace :
dojo.provide("dojo.tlocale");' failed: undefined: The undefined value has no properties.
at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.handleScriptException(
at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.executeScript(
at com.meterware.httpunit.scripting.ScriptableDelegate.runScript(
at com.meterware.httpunit.parsing.ScriptFilter.getTranslatedScript(
at com.meterware.httpunit.parsing.ScriptFilter.endElement(
at org.cyberneko.html.filters.DefaultFilter.endElement(
at org.cyberneko.html.filters.NamespaceBinder.endElement(
at org.cyberneko.html.HTMLTagBalancer.callEndElement(
at org.cyberneko.html.HTMLTagBalancer.endElement(
at org.cyberneko.html.HTMLScanner$SpecialScanner.scan(
at org.cyberneko.html.HTMLScanner.scanDocument(
at org.cyberneko.html.HTMLConfiguration.parse(
at org.cyberneko.html.HTMLConfiguration.parse(
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at com.meterware.httpunit.parsing.NekoHTMLParser.parse(
at com.meterware.httpunit.HTMLPage.parse(
at com.meterware.httpunit.WebResponse.getReceivedPage(
at com.meterware.httpunit.WebResponse.getFrames(
at com.meterware.httpunit.WebResponse.getFrameRequests(
at com.meterware.httpunit.FrameHolder.updateFrames(
at com.meterware.httpunit.WebWindow.updateFrameContents(
at com.meterware.httpunit.WebClient.updateFrameContents(
at com.meterware.httpunit.WebWindow.updateWindow(
at com.meterware.httpunit.WebWindow.getSubframeResponse(
at com.meterware.httpunit.WebWindow.getResponse(
at com.meterware.httpunit.WebWindow.getResponse(
at com.meterware.httpunit.WebClient.getResponse(
I agree. Here's the link:
subject: java script issue on httpunit