At 07:11 PM 9/19/2005, Keith Kaminski wrote: >Anyway, I am having a problem right now with window focus. I m writing >test scripts and executing them from the cmd console by invoking the >appropriate .rb file. The problem is that the focus of window doesn t >shift from the command prompt to the new IE window. This isn t a problem >for most of the tests I ve written so far, but it does screw up Javascript >dialog boxes. The WindowHelper doesn t seem to know that my javascript >dialog boxes exist unless the focus is on the IE window. If I manually >click on the window prior to the point where I need to click OK in my >javascript dialog box, it works fine. I can t count on the ability to do >this during automated testing, however. Any help would be appreciated.
Did you try ie.focus? _____________________ Bret Pettichord www.pettichord.com _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
