Hi Marc,
see my comments below ...
Siegfried Goeschl
Marc Guillemot wrote:
Siegfried Goeschl <[EMAIL PROTECTED]> writes:
...
+) the CVS HEAD of HtmlUnit does not compile with Canoo WebTest due to
"The method getStateForUrl(URL) is undefined for the type WebConnection"
in StoreCookie.java
seems that your last update was not complete. In my commit from yesterday,
StoreCookie has been adapted and htmlunit-..0131.jar removed. This compiles
correctly, else the server would not have produced build 1192.
arghhhh ...... I got caught somewhere between you commits
What I would like to investigate is to have the same handling of
"application/vnd.wap.xhtml+xml" as for "application/xhtml+xml". This
seems much simpler than adding a WMLPage or MobileXMLPage to HtmlUnit.
Since you seem the link between Canoo WebTest and HtmlUnit you might
know more about my problems ...
Responses of content type "application/xhtml+xml" are currently parsed as
HtmlPage. I don't think that it would work for WML content due to the different
tags that don't exist in html. If you want to try it, you can set your own
PageCreator on the WebClient contained in Context (extending DefaultPageCreator
and overriding determinePageType should be the easiest way). You can do this in
Context or in a custom step or in a Groovy step directly in your test script
without any change in the Webtest code base.
AFAIK some handsets support XHTML albeit a simplified version of it -
this is different from WAP which I will ignore for my testing. I will
have a look at during the next week
Marc.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest