Thread: Canoo Webtest
View Single Post
Old Apr 7th, 2006, 8:27 AM   #2
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
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.
Arevos is offline   Reply With Quote