[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> &lt;<a href="mailto:wit@atrada.net">wit@atrada.net</a>&gt; 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(&quot;button&quot;).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>&gt; Hallo Cristoph<br>&gt;<br>&gt; I guess that WebTest doesn&#39;t fully support YUI currently (this will probably come with HtmlUnit 
1.13).<br>&gt;<br>&gt; Is the button outside the &lt;form&gt; really a YUI &quot;feature&quot; or does it rather from an incorrect usage?<br>&gt;<br>&gt; Marc.<br>&gt; --<br>&gt; 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>&gt; Hello,<br>&gt;<br>&gt; has anybody solved the problem submitting YUI-Forms with WebTest?<br>&gt; The buttton is found via xpath, but clicking it neither generates a
<br>new response<br>&gt;<br>( Resulting page&nbsp;&nbsp;in generated Testreport) nor I am able to click anything on the&nbsp;&nbsp;new&nbsp;&nbsp;page (because we didn t navigate to it). Doing the same in HtmlUnit worked form me<br>&gt;<br>&gt; Html-source (Note that the button is *outside* the form):
<br>&gt;<br>&gt; &lt;form&gt;<br>&gt; [ ]<br>&gt; &lt;/form&gt;<br>&gt; &lt;button type=&quot;button&quot; class=&quot;default&quot;&gt;Send&lt;/button&gt;<br>&gt;<br>&gt; Any idea?<br>&gt;<br>&gt;<br>&gt; Thanks for your tips in advance,
<br>&gt; 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&amp;distributionid=000000000066">http://smartsurfer.web.de/?mc=100071&amp;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&nbsp;&nbsp;fail...!!<br>--------------------------------------------------------------------
<br>Regards,<br>Anil Kumar Das<br>

------=_Part_63606_12156707.1187344320019--