have you tried using;

$browser = Watir::IE.attach(:url, "http://www.google.com";)
$browser = Watir::IE.attach(:title, "Google")

of course thats the *nix command, windows would be

irb:> ie = Watir::IE.attach(:url, "http://www.google.com";)
irb:> ie = Watir::IE.attach(:title, "Google")

Let me know,
Eric



On Wed, Jan 13, 2010 at 1:54 PM, Darcoli <darcol...@gmail.com> wrote:

>
> Note that the iexplore process is created, I can see iexplore
> processes getting created from the task manager - but I think the
> "link" is not made with it... here is part of my code just in case you
> need...
>
> require 'rubygems'
>
> def valid_User?(user)
>   ie=Watir::IE.new_process()
>
>   ie.visible = false
>   ie.speed = :zippy
>
>   ,,, some code which is never reached...
> end
>
>
>
>
>
>
> On Jan 13, 10:32 pm, Darcoli <darcol...@gmail.com> wrote:
> > Hi
> > I need to use ie.new_process ... but I also need to run ruby as a
> > service (since I am using ruby/rails actually and want to have the
> > webserver as a service). However when I call new_process, and ruby is
> > a service, I get a method not found error.
> >
> > Is there any workaround for this?
> >
> > I need this for a school assignment which needs to do automatic
> > logins, on users behalf, on other websites  anyway check it
> outwww.sendmalta.com (currently I am not running ruby as a service
> > because of the problem I mentioned)
> >
> > Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To post to this group, send email to watir-general@googlegroups.com
> Before posting, please read the following guidelines:
> http://wiki.openqa.org/display/WTR/Support
> To unsubscribe from this group, send email to
> watir-general-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/watir-general
>
-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to