Hi Marc,

I investigate how to patch Canoo WebTest to support my "application/vnd.wap.xhtml+xml" but I'm somehow stuck ...

+) I'm finally able to run and debug Canoo WebTest and my script through Eclipse

+) 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

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 ... :-)

Thanks in advance

Siegfried Goeschl


Marc Guillemot wrote:
Siegfried Goeschl <[EMAIL PROTECTED]> writes:

Hi Paul,

I think I completely missed the point - sou you say my real problem is not the WAP support but the implementation of the <clickLink> step ...
Siegfried Goeschl


I don't know WAP at all but I guess that the smartest way would be to build a
"WMLPage" object (like htmlunit's HtmlPage and XmlPage) and to have
functionalities on it. I can imagine that it could be integrated directly in
htmlunit, otherwise htmlunit could give the possibility to register "page
builders" (it's already possible but could be improved). This would allow
webtest to concentrate on the real actions: for instance for clickLink webtest
would identify a link and click it and the responsible "page" would execute the
click logic according to its "type".

If you're motivated to implement the "WMLPage"...

Marc.

PS: in fact it could be interesting to have the same strategy for pdf files.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to