[Webtest] FW: Script - clickbutton issue
Carsten Seibert
webtest@lists.canoo.com
Sat, 4 May 2002 11:51:39 +0200
Hi Barbara,
Currently you need to specify either name or label for clickbutton. The idea
behind that is that you want to clearly identify your button.
But if the button happens to be the only one on the page, it should work
like this:
<clickbutton label="" />
This specifies the label as emtpy string and that is exactly what it is in
this case. And you dont have to modify any HTML code.
Hope that helps, even this late ...
Carsten
Carsten Seibert
seiberTEC GmbH Switzerland
mailto:seibert@seibertec.ch / phone: +41 79 636 4317
> -----Original Message-----
> From: Barbara Schwartz [mailto:barbara@newnetco.com]
> Sent: Montag, 8. April 2002 15:18
> To: webtest@gate.canoo.com
> Subject: [Webtest] FW: Script - clickbutton issue
>
>
>
>
> -----Original Message-----
> From: Barbara Schwartz [mailto:barbara@newnetco.com]
> Sent: April 5, 2002 3:26 PM
> To: webtest-request@gate.canoo.com
> Cc: Michael Lecza (NewNetCo)
> Subject: Script - clickbutton issue
>
>
> Hi,
>
>
> This HTML code was used with the clickbutton in a script:
>
> <INPUT TYPE="submit"></FORM></TD>
>
> The build failed with this message:
>
> Failure: Test "login Test" failed at step "Click the submit button"
> "Button with name <<not specified>> and value <submit> not found!"
>
> My Script was:
>
> <clickbutton
>
> stepid="Click the submit button"
> label="submit"/>
>
>
>
> If the HTML code was changed to:
>
> <INPUT TYPE="submit" Value="Submit Kwery">
>
> and my script changed to:
>
>
> <clickbutton
>
> stepid="Click the submit button"
> label="Submit Kwery"/>
>
>
> The build was successful.
>
> It appears that the Input Type="submit" requires a value.
>
>
> What are your thoughts on this?
>
>
> Thanks.
>
>
> Barbara Schwartz
> Newnetco
> 203.488.4775
>
>
>
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>