[wtr-general] Watir as a service - any workaround?

2010-01-13 Thread Darcoli
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 out
www.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

[wtr-general] Re: Watir as a service - any workaround?

2010-01-13 Thread Darcoli

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