Bill Agee wrote:
> I believe in most cases, your script will run fine if no Windows user
> is logged in.
>
> However, in my experience, there can be problems with the
> Watir::IE.attach method if no one is logged in to the machine.  I
> believe this is because IE.attach uses the Shell.Application OLE
> object, which behaves differently if it's not run from an interactive
> user session.  Specifically, what I've seen is that attach isn't able
> to get a list of open IE windows belonging to the shell unless it's
> running as a logged-in user.
>
> Anyway, as far as I know, all the other Watir methods should work fine
> in this case.
>   
This is correct. The IE.attach, IE.new_process, IE.each and 
ie.modal_dialog methods won't work if run as a service. However, IE.new 
will. I've updated the rdocs to reflect this.

Bret
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to