Hi Sebastian, 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. What do you think about sharing your webtest code? Yours, Michael -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von S. Sanitz Gesendet: Montag, 12. Januar 2009 12:20 An: [email protected] Betreff: Re: [Webtest] WebTest does not like HTML generated from Word Hello, i still have no solution for my problem. Webtest is a great tool and i use it a lot for testing our app. Webtest ist working great with the HTML and JavaScript produced by our application. Now I want to check a simple page generated with ms-word from our customer. I only want verify all links inside the document. To get rid of the "RuntimeException: Unexpected condition: gte mso 9 " - I tried to set the browser with: browser="Firefox3". With this new setting i get a different exception at the step "invoke": java.lang.ClassCastException: com.gargoylesoftware.htmlunit.html.HtmlUnknownElement at com.gargoylesoftware.htmlunit.html.HtmlPage.getMetaTags(HtmlPage.java:1915) at com.gargoylesoftware.htmlunit.html.HtmlPage.getRefreshStringOrNull(HtmlPage.java:1340) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeRefreshIfNeeded(HtmlPage.java:1263) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:187) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:445) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:327) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:400) at com.canoo.webtest.steps.request.TargetHelper.getResponse(TargetHelper.java:69) at com.canoo.webtest.steps.request.AbstractTargetAction.getResponse(AbstractTargetAction.java:66) at com.canoo.webtest.steps.request.InvokePage.findTarget(InvokePage.java:160) at com.canoo.webtest.steps.request.AbstractTargetAction.doExecute(AbstractTargetAction.java:72) at com.canoo.webtest.steps.Step.execute(Step.java:103) Is this a bug in WebTest or HtmlUnit? Regards, Sebastian -- View this message in context: http://www.nabble.com/WebTest-does-not-like-HTML-generated-from-Word-tp21375347p21412660.html Sent from the WebTest mailing list archive at Nabble.com. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest Michael Habbert Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany | www.key-work.de Fon: +49-721-78203-269 | E-Mail: [email protected] | Fax: +49-721-78203-10 Key-Work Consulting GmbH Karlsruhe, HRB 108695, HRG Mannheim Geschäftsführer: Andreas Stappert, Tobin Wotring _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

