5 messages in com.canoo.lists.webtestRE: [Webtest] FW: Script - clickbutt...
FromSent OnAttachments
Barbara Schwartz08 Apr 2002 06:17 
Carsten Seibert04 May 2002 02:51 
Barbara Schwartz06 May 2002 11:53 
Eric Pugh06 May 2002 14:25 
Eric Pugh24 Jun 2002 02:22 
Subject:RE: [Webtest] FW: Script - clickbutton issue
From:Carsten Seibert (seib@acm.org)
Date:05/04/2002 02:51:17 AM
List:com.canoo.lists.webtest

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

-----Original Message----- From: Barbara Schwartz [mailto:barb@newnetco.com] Sent: Montag, 8. April 2002 15:18 To: webt@gate.canoo.com Subject: [Webtest] FW: Script - clickbutton issue

-----Original Message----- From: Barbara Schwartz [mailto:barb@newnetco.com] Sent: April 5, 2002 3:26 PM To: webt@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