I could be using the wrong structure but my purpose is actually construct a class that passing an object to perform the assertion check and i am using rspec for reporting in html.
objToValidate = ff.link(:text,'Login').exist? val = SomeTest.new() val.Validate(objToValidate) Please advice on what is the best or correct way to do this Thanks Ivan -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com