Yes, that worked Zeljko, thank you.
I found the example here- http://www.openqa.org/watir/watir_user_guide.html
Go to the heading titled Validating Test Results and you'll see this snippet of
code:if
ie.contains_text("Reached test verification point.")
puts: "Test passed. Page contains the text: Reached test verification point."
else
puts: "Test failed! Page didn't contain text: Reached test verification
point."
end
This is the what I was basing my test off of, with the addition of an assert.
I guess conditional logic with asserts cannot be used?
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6663&messageID=19147#19147
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general