Zeljko Filipin wrote
>Try to change
>if assert(ie.contains_text("Watir"))
>to
>if ie.contains_text("Watir")

That certainly works, but I want to use unit test assertions so I can
produce a report summary.

It is described in the user-guide as thus:
if assert(ie.contains_text("Test verification point."))   puts("TEST
PASSED. Found test string: 'Test verification point.' ")
else   puts("TEST FAILED.")
end

Cheers

Aidy



---------------------------------------------------------------------------------------------------------------
This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. 
If you are not the intended recipient, please telephone or email the sender and 
delete this message and any attachment from your system.  
If you are not the intended recipient you must not copy this message or 
attachment or disclose the contents to any other person.
---------------------------------------------------------------------------------------------------------------
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to