[Webtest] How to verify existence of a submit button?

John Sisk webtest@lists.canoo.com
Sat, 31 Aug 2002 10:03:53 -0700


Hi there,

I'm trying to verify the existence of a submit button on a page and I'm
getting the following failure...
Failure: Test "myTest" failed at step "Checks for the existence of a SUBMIT
button" with message "No element of type "submit" found!

<clickbutton> works though.

I'm using this in my buildfile:

<verifyelement
                    stepid="Checks for the existence of a SUBMIT button"
                    type="submit"
                    text="test"
/>

and this in my page:
<input type="submit" name="test" value="test">