Instead of pulling the window path to compare against, we should pull the windows class which for ie should be 'IEFrame', not sure if that that's changed with ie7, but will work with older versions of ie.

btw, Bill, if you're posted the exact line from your scripts, then it makes sense, you've misspelled Internet Explorer, so it's looking through every window but that, which should catch your ie windows if they have different titles.

-Charley

On 8/2/06, Bret Pettichord <[EMAIL PROTECTED]> wrote:
Bill, Marco --

Thanks for the updates. Very helpful.

Attebery, Bill wrote:
> This is where I had issues too -- I actually changed the line to
> window.path != /Interent Explorer/ and had luck, although after
> reading closer I realized that I had misinterpreted the logic, so that
> wasn't really a good fix.  I'd have to setup the environment again to
> retry -- but I seem to recall C:\WINDOWS\ also when I had similar puts
> in there.
>
>     def self._find(how, what)
>      ...
>           #next unless (window.path =~ /Internet Explorer/ rescue false)
>           next unless (window.path =~ /WINDOWS/ rescue false) # this works
>
>     window.path on my machine is putting out C:\WINDOWS\ and not
>     matching on /Internet Explorer/
>
>
>

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to