|
First off, I just wanted to say that I’ve been pretty
impressed with Watir so far. I’ve only been playing around with it for
about 30 minutes and I’ve already got a few comprehensive tests running.
I’m very excited about the prospect of integrating Watir with NUnit and
having it be a part of our automated build process. 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. Thanks! - Keith |
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
