[Webtest] Re: ClickButton problems
Roberto Corda
webtest@lists.canoo.com
Wed, 6 Apr 2005 18:58:52 +0200
On Wednesday 06 April 2005 18:36, Marc Guillemot wrote:
> Roberto Corda wrote:
> > version 1.7
> >
> > ClickButton doesn't find "Invia" button on my html, If any one have any
> > clue thanks.
>
> neither do I. I see a button with value "Invia" but without a name
> attribute.
That's true thank you again, your "human html parsing" is better than mine...
anyway (reading http://webtest.canoo.com/manual/syntax.html#clickButton)
clickButton 1
<FORM method="POST" action="formTest">
<BR/>Text:
<INPUT type="text" name="field1" value="" />
<INPUT type="submit" value="doIt" />
</FORM>
<clickButton stepid="Submit the simple form"
name="doIt" />
Seems like ClickButton find buttons also by value. (Usually submit buttons
dosn't have name)
Thank you again R.