On Mon, 2008-05-19 at 10:04 +0200, Marc Guillemot wrote:
> The usual question: which version of WebTest do you use?
The latest (R_1706).
>
> HtmlUnit evaluates more and more CSS settings nevertheless I think that
> testing for the string "display: none" may be adventurous: what is with
> for instance with "display:none"?
OK, I suppose I could do:
contains(@style, 'display:none') or contains(@style, 'display: none')
>
> Nevertheless I'm quite surprise that you don't get the same results on
> each run. Is some background js task involved?
An event gets bound to a radio bt on load of a page. It sets the display
property of the style. Looks something like:
bindEvent(radioBtObj, 'click', function(evt) {
toggle({
refid: 'container',
display: false
});
});
var toggle = function(opts) {
var obj = document.getELementById(opts.refid);
obj.style.display = opts.display;
}
>
> Cheers,
> Marc.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest