Hi all,
Im trying to verify if the correct table is displayed, depending on a
selection from a dropdown list.
All tables (for all categories in the dropdown list) are already present
in the HTML with the attributes :
<table id="someuniqueid" cellspacing="1" cellpadding="2" border="0"
style="{display:none}">
Depending on the selection I make, the attribute style changes to
display: .
function show(id, show) {
var el = getElementById(id);
if (null != el) {
el.style.display = show ? "" : "none";
}
}
The problem is that this change is not shown in the DOM.
This means that my test case will never fail (if I verify if the
correct table is present on the page depending on my dropdown list
selection)
How can I verify that the correct table is displayed?
Any help would be much appreciated.
Ulrike
Ulrike Polle
--------------------------------
mailto: [EMAIL PROTECTED]
phone: 087 7916 771
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general