|
Coincidentally, I was playing around with Webtest a few days ago. In the end I plumped for JWebUnit, however, as the XML for my Webtests was getting too messy.
Returning to the subject at hand, the verification fails because you're using the wrong command. The verifyText command looks for a text string in the HTML of the document being tested. When you enter in a value into an input field, you do not change the underlying HTML, and thus verifyText will not detect your changes.
verifyInputField, on the other hand, may do what you require.
|