Paul, > I tried placing this line of code in my test, just to see what it would > show: > > puts "Button 1: [EMAIL PROTECTED]"
The buttons array starts at index 1, not zero. ie.buttons[0] doesn't exist, hence your error. You will also see similar behavior in the many other object arrays such at links, divs, ect. Try the code again with [1] and you should be fine. As much of a pain in the back side the AJAX modals are, at least they aren't IE javascript modals which aren't actually on the page itself and require you to fire an outside script to deal with them since your testscript itself can't touch them. Hope this helps, ~Vince --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5830&messageID=16496#16496 _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
