[Webtest] clickButton

Colin O'Brien webtest@lists.canoo.com
Fri, 5 May 2006 18:23:21 +0100

Hi Mark,

As Brian has mentioned reset is an unsupported input element type
attribute value, if you don't have the opportunity to alter the source
of the page then perhaps the clickElement step may be of some use...
(Under the Syntax Reference - Extension Steps)


-----Original Message-----
From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com] On Behalf Of Mark McKeown
Sent: 05 May 2006 18:10
To: webtest@lists.canoo.com
Subject: [Webtest] clickButton

Hi Folks,

I have a fragment of html code:

<form method="post">

<input type="text"/>
<input type="reset" value="Clear" name="reset"/>


When I apply the following CANOO test:

<clickbutton description="Click button 'Clear'"

I get the following error:

Test failed.
Test step clickbutton (/product/AddSub.xml:15: )  named "Click button
'Clear'" failed with message "No button found"

Does anyone have any suggestions as to why this is the case and how I
can fix it?

Thanks in advance,

WebTest mailing list