I have this snippet of code that I have modeled after the 'Printing Results 
When Using Assertions' in the WATIR User Guide.  My assert is working, in the 
assertion count, but the  puts message is always Test Failed.  The 'You have 
been signed in' text is verbatim what is on the IE page.  Can anyone offer 
advice as to why I am always receiving 'Test failed!'? Thanks in advance, Jason

      if assert(ie.contains_text("You have been signed in"))
        puts("Test passed.")
      else
        puts("Test failed!")
      end
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6663&messageID=19107#19107
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to