What error? I see a warning, but no error. Of course your script tests nothing, there are no validations in the script, no assertions. Just an if statement which itself really has no condition because nothing is being checked. Your if amounts to ' if object' where your object is a textfield. You could just about as well say " if 'fred' "
You need some kind of conditional, like asking if the text_field exists, or if the value of the text field matches some expected value. Better yet, since you are trying to use minutest, learn how to do assertions and use that, and let minutest keep track of passes and failures. -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
