Professional Documents
Culture Documents
Watir Cheat Sheet
Watir Cheat Sheet
Assertions
assert_equal(expected, test_method) Test whether the expected value
matches the actual value returned by
the test method
assert_match(regexp, test_method) Test whether the regular expression
matches the actual value returned by
the test method.
assert(expression) Test whether the expression is true.
Scripting Web Tests