Hi,
I tried to use Verification methods
verify <file:///C:/watir1145/rdoc/classes/Watir/Assertions.html#M000186>
verify_equal <file:///C:/watir1145/rdoc/classes/Watir/Assertions.html#M000187>
verify_match
<file:///C:/watir1145/rdoc/classes/Watir/Assertions.html#M000188>
Included Modules (Test::Unit::Assertions )
The script as follow,
-------------------------------------------------------
require 'watir'
require 'test/unit/assertions'
$ie = Watir::IE.new
......
verify_match($ie.text_field(:name, "user").set("admin").to_s, "admin")
......
-------------------------------------------------------
when run the above script, it will return the following error,
undefined method `verify_match' for #<Object:0x294fa3c> (NoMethodError)
I also tried above other methods, will return error too.
I found that these methods are defined in watir/assertions.rb.
Did I miss anything when use those methods?
Regards,
Jason
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general