[Webtest] How to test style attributes.
Abhin Udupa
Abhin Udupa" <udupaha@gmail.com
Tue, 10 Oct 2006 18:53:16 +0530
------=_Part_5185_14494157.1160486596446
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,
I have a piece of javascript code on the site that does this :-
document.getElementById ( "elementid" ).style.display = "none" ;
I want to check if the syle is actually set to "none", that is the
element has become invisible.
I tried using the XPath for searching @style="display:none", but it
seems to be failing.
Thanks,
Abhin H
------=_Part_5185_14494157.1160486596446
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,<br><br> I have a piece of javascript code on the site that does this :-<br> <br> document.getElementById ( "elementid" ).style.display = "none" ;<br><br> I want to check if the syle is actually set to "none", that is the element has become invisible.
<br><br> I tried using the XPath for searching @style="display:none", but it seems to be failing.<br><br>Thanks,<br>Abhin H<br><br><br>
------=_Part_5185_14494157.1160486596446--