[Webtest] Submit a form question

Trent Ohannessian webtest@lists.canoo.com
Thu, 25 May 2006 12:29:00 -0500


------=_Part_94371_6286948.1148578140609
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Alternatively, you can try <clickButton name=""/>, it may work for a
button that has no name... if it is the only one (or the first one)
without name in the form.

That worked like a champ.  So simple, yet it makes perfect sense.  Thanks!


On 5/25/06, Marc Guillemot <mguillemot@yahoo.fr> wrote:
>
> the workaround with <clickElement> is not necessary anymore:
> <clickButton> now accepts xpath too.
>
> Alternatively, you can try <clickButton name=""/>, it may work for a
> button that has no name... if it is the only one (or the first one)
> without name in the form.
>
> Marc-
>
> Dierk Koenig wrote:
> > I'm not sure how your button will ever be recognized :-) but if you can
> > locate it with an xpath, use <clickElement>
> >
> > cheers
> > Mittie
> >
> >     -----Original Message-----
> >     *From:* webtest-admin@lists.canoo.com
> >     [mailto:webtest-admin@lists.canoo.com]*On Behalf Of *Trent
> Ohannessian
> >     *Sent:* Donnerstag, 25. Mai 2006 17:10
> >     *To:* webtest@lists.canoo.com
> >     *Subject:* [Webtest] Submit a form question
> >
> >     Hello,
> >
> >     Is it possible to submit a form that has a submit button but no
> >     "NAME" identifier, no label and no HTMLID?  I can't edit the HTML to
> >     add one of these, either.  I looked through the Canoo manual and
> >     couldn't find a way around this.
> >
> >     Thanks!
> >     Trent
> >
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>



-- 
A mother can touch a whole generation just by loving her own child well.

------=_Part_94371_6286948.1148578140609
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Alternatively, you can try &lt;clickButton name=&quot;&quot;/&gt;, it may work for a<br>button that has no name... if it is the only one (or the first one)<br>without name in the form.<br><br>That worked like a champ.&nbsp; So simple, yet it makes perfect sense.&nbsp; Thanks!
<br><br><br><div><span class="gmail_quote">On 5/25/06, <b class="gmail_sendername">Marc Guillemot</b> &lt;<a href="mailto:mguillemot@yahoo.fr">mguillemot@yahoo.fr</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
the workaround with &lt;clickElement&gt; is not necessary anymore:<br>&lt;clickButton&gt; now accepts xpath too.<br><br>Alternatively, you can try &lt;clickButton name=&quot;&quot;/&gt;, it may work for a<br>button that has no name... if it is the only one (or the first one)
<br>without name in the form.<br><br>Marc-<br><br>Dierk Koenig wrote:<br>&gt; I'm not sure how your button will ever be recognized :-) but if you can<br>&gt; locate it with an xpath, use &lt;clickElement&gt;<br>&gt;<br>&gt; cheers
<br>&gt; Mittie<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; -----Original Message-----<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *From:* <a href="mailto:webtest-admin@lists.canoo.com">webtest-admin@lists.canoo.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; [mailto:<a href="mailto:webtest-admin@lists.canoo.com">
webtest-admin@lists.canoo.com</a>]*On Behalf Of *Trent Ohannessian<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *Sent:* Donnerstag, 25. Mai 2006 17:10<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *To:* <a href="mailto:webtest@lists.canoo.com">webtest@lists.canoo.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; *Subject:* [Webtest] Submit a form question
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Hello,<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Is it possible to submit a form that has a submit button but no<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &quot;NAME&quot; identifier, no label and no HTMLID?&nbsp;&nbsp;I can't edit the HTML to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; add one of these, either.&nbsp;&nbsp;I looked through the Canoo manual and
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; couldn't find a way around this.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Thanks!<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Trent<br>&gt;<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>A mother can touch a whole generation just by loving her own child well.

------=_Part_94371_6286948.1148578140609--