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

Cheers,
Christoph



[EMAIL PROTECTED] wrote:
> Hallo Cristoph
> 
> I guess that WebTest doesn't fully support YUI currently (this will probably 
> come with HtmlUnit 1.13).
> 
> Is the button outside the <form> really a YUI "feature" or does it rather 
> from an incorrect usage?
> 
> Marc.
> -- 
> Blog: http://mguillem.wordpress.com

[EMAIL PROTECTED] wrote:
> Hello,
> 
> has anybody solved the problem submitting YUI-Forms with WebTest?
> The buttton is found via xpath, but clicking it neither generates a
new response
>
( Resulting page  in generated Testreport) nor I am able to click anything on 
the  new  page (because we didn t navigate to it). Doing the same in HtmlUnit 
worked form me 
> 
> Html-source (Note that the button is *outside* the form):
> 
> <form>
> [ ]
> </form>
> <button type="button" class="default">Send</button>
> 
> Any idea?
> 
> 
> Thanks for your tips in advance,
> Christoph

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

_____________________________________________________________________
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