[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...
http://webtest.canoo.com/webtest/manual/clickElement.html
(Under the Syntax Reference - Extension Steps)

Cheers,
Colin.

-----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"/>

</form>


When I apply the following CANOO test:

<clickbutton description="Click button 'Clear'"
         name="reset"/>

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,
Mark


_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest