[Webtest] clickButton

David Mooney webtest@lists.canoo.com
Wed, 8 Jun 2005 16:01:20 +0100


Hi All,

Another newbie question. I am trying to locate a button which is wrapped in
java script which looks like this:-

<input id = "progressbutton" class="buttonStyle" type = "submit" value =
"Next" onclick = "document.dataSourceForm['progress'].value =
'progress';"/>

As the id present is unique to the page I have tried this method to locate
it-

<clickButton
stepid="Click Next Button"
htmlid="progressbutton"/>

However, it does not work. Any help appreciated.

Dave.