[Wtr-general] How to verify if SPAN is visible

Brad forum-watir-users at openqa.org
Thu Jan 4 11:01:27 EST 2007


Thanks Charley for the further explanation...<br><br>

This worked when adding 'watir_ext' as explained and the following:<br>
visi_span=$browser.span(:id, "MainLogin_UserNameRequired")<br>
if visi_span.visible?<br>
puts "Span is visible"<br>
else<br>
puts "Span is _not_ visible"<br>
end<br>
<br>

~Brad
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5879&messageID=16812#16812


More information about the Wtr-general mailing list