[Webtest] Please unsubscribe me...
Anil Kumar Das
Anil Kumar Das" <anil.kumar.das@gmail.com
Fri, 17 Aug 2007 15:22:00 +0530
------=_Part_63606_12156707.1187344320019
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 8/16/07, wit@atrada.net <wit@atrada.net> 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 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
>
>
>
> mguillemot@yahoo.fr 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
>
> wit@atrada.net 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
> WebTest@lists.canoo.com 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
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>
--
-----------------------------------------------------------------
Diamond was also an ordinary coal before it passed burning tests..!
Some goals are so worthy it's glorious even to fail...!!
--------------------------------------------------------------------
Regards,
Anil Kumar Das
------=_Part_63606_12156707.1187344320019
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<br><br>
<div><span class="gmail_quote">On 8/16/07, <b class="gmail_sendername"><a href="mailto:wit@atrada.net">wit@atrada.net</a></b> <<a href="mailto:wit@atrada.net">wit@atrada.net</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello Marc,<br><br>thanks for your reply. Yes, it is really a feature. We use customized YUI-dialogues like on
<a href="http://developer.yahoo.com/yui/examples/container/dialog-quickstart.html">http://developer.yahoo.com/yui/examples/container/dialog-quickstart.html</a>.<br><br>I will work around with a custom ant webtest tag so far. It clicks the button right with this code line:
<br><br>HtmlPage page = (HtmlPage) ((HtmlButton) page.getDocumentElement().getHtmlElementsByTagName("button").get(0)).click();<br><br>That means that the current version of HtmlUnit does it already but not in conjunction with WebTest...
<br><br>Cheers,<br>Christoph<br><br><br><br><a href="mailto:mguillemot@yahoo.fr">mguillemot@yahoo.fr</a> wrote:<br>> Hallo Cristoph<br>><br>> I guess that WebTest doesn't fully support YUI currently (this will probably come with HtmlUnit
1.13).<br>><br>> Is the button outside the <form> really a YUI "feature" or does it rather from an incorrect usage?<br>><br>> Marc.<br>> --<br>> Blog: <a href="http://mguillem.wordpress.com">
http://mguillem.wordpress.com</a><br><br><a href="mailto:wit@atrada.net">wit@atrada.net</a> wrote:<br>> Hello,<br>><br>> has anybody solved the problem submitting YUI-Forms with WebTest?<br>> The buttton is found via xpath, but clicking it neither generates a
<br>new response<br>><br>( 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<br>><br>> Html-source (Note that the button is *outside* the form):
<br>><br>> <form><br>> [ ]<br>> </form><br>> <button type="button" class="default">Send</button><br>><br>> Any idea?<br>><br>><br>> Thanks for your tips in advance,
<br>> Christoph<br><br>_______________________________________________<br>WebTest mailing list<br><a href="mailto:WebTest@lists.canoo.com">WebTest@lists.canoo.com</a> <a href="http://lists.canoo.com/mailman/listinfo/webtest">
http://lists.canoo.com/mailman/listinfo/webtest</a><br><br>_____________________________________________________________________<br>Der <a href="http://WEB.DE">WEB.DE</a> SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
<br><a href="http://smartsurfer.web.de/?mc=100071&distributionid=000000000066">http://smartsurfer.web.de/?mc=100071&distributionid=000000000066</a><br><br>_______________________________________________<br>WebTest mailing list
<br><a href="mailto:WebTest@lists.canoo.com">WebTest@lists.canoo.com</a><br><a href="http://lists.canoo.com/mailman/listinfo/webtest">http://lists.canoo.com/mailman/listinfo/webtest</a><br></blockquote></div><br><br clear="all">
<br>-- <br>-----------------------------------------------------------------<br>Diamond was also an ordinary coal before it passed burning tests..!<br>Some goals are so worthy it's glorious even to fail...!!<br>--------------------------------------------------------------------
<br>Regards,<br>Anil Kumar Das<br>
------=_Part_63606_12156707.1187344320019--