Hi Sebastian,
snippet from your foo.html:
---------------
<title>Foo</title>
<!--[if gte mso 9]><xml>
---------------
It seems to be a parse-error.
the HtmlUnit-Parser reaches the "if gte mso 9" and trys to parse it as
JavaScript - but is isn't.
Is that legal Html? I don't know. Ahmed, do you?
The ClassCastexception is caused by this parse error.
Yours,
Michael Habbert
S. Sanitz schrieb:
Hello,
Michael Habbert-4 wrote:
it might be a bug. But how can we know?
Html-page out of MS-word -> there a usually a lot of strange characters in
it. Possible source of errors like you got.
In this case i would expect something like an "unknown / invalid character
error", not a ClassCastException.
Michael Habbert-4 wrote:
What do you think about sharing your webtest code?
Here is the simple code:
<webtest name="WebTest does not like HTML generated from Word">
<config host="${app.serverHost}" port="${app.serverPort}"
autorefresh="false" browser="Firefox3"/>
<invoke url="foo.html" />
</webtest>
And here is simple document foo.html
http://www.nabble.com/file/p21414464/foo.html foo.html
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest