[Wtr-general] How to verify if SPAN is visible
Brad
forum-watir-users at openqa.org
Wed Dec 20 18:29:14 EST 2006
I'm a newbie and have been searching on how to verify if a SPAN element is visible. I tried different things without success. Here is the HTML code for when visible.
<td><input type="password" id="MainLogin_Password" name="MainLogin$Password"/><span style="color: Red; visibility: visible;" title="Password is required." id="MainLogin_PasswordRequired">*</span></td>
Here it is when hidden.
<td><input type="password" id="MainLogin_Password" name="MainLogin$Password"/><span style="color: Red; visibility: hidden;" title="Password is required." id="MainLogin_PasswordRequired">*</span></td>
How do you check the 'visibility' parameter of 'style'?
Thanks,
Brad
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5879&messageID=16440#16440
More information about the Wtr-general
mailing list