Hello Marc,

answer below:

[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
> > Hello Marc,
> >
> > thanks for your reply. Yes, it is really a feature. We use customized 
> > YUI-dialogues like on 
> > http://developer.yahoo.com/yui/examples/container/dialog-quickstart.html.
>
> I don't see there anything about malformed html as a "feature". Are you
> really sure that this button outside the form is not from you?

Yes. Therefore I posted the link above. You can verify it by clicking on "Show 
dialog1" in the YUI example. Then inspect a nested form input element and the 
button called "Submit"with firebug. You will notice that it's really outside 
the form. Not what we call "least surprise"...

>
> > I will work around with a custom ant webtest tag so far. It clicks the 
> > button right with this code line:
> >
> > HtmlPage page = (HtmlPage) ((HtmlButton) 
> > page.getDocumentElement().getHtmlElementsByTagName("button").get(0)).click();
> >
> > That means that the current version of HtmlUnit does it already but not in 
> > conjunction with WebTest...
>
> which version do you mean?

Version of WebTest I use is: R_1551
Version of HtmlUnit in the WebTest distibution is 1.11.

Cheers,
Christoph
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066

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

Reply via email to