can watir-webdriver support remote control ?

224 views
Skip to first unread message

damon

unread,
Apr 10, 2012, 10:43:53 PM4/10/12
to Cukes, 3988...@qq.com
Hi All

I have some questions about my automated testing.
I am using cucumber+watir-webdriver+ruby. I have to test in firefox,
chrome, safari, and ie7/8/9. But my notebook is mac. Therefore, I want
to test my script in ie7/8/9 by remote control.

1. Can the watir-webdriver support remote control? If it can, how can
I achieve that? Or which I can find the informations? I have searched
but found nothing useful for me.
2. Can selenium remote control solve my problem? I have install
selenium rc in the PC that have ie, and also install selenium client
in my macbook, but I don't know how to connect to the ie PC. I want to
create two environment variables in my env.rb, such as LOCALHOST and
PORT, which I can change it in my command line in order to choice
which PC to run my script.

I really hope that watir-webdriver can achieve it.


Regards

Damon Chen

aslak hellesoy

unread,
Apr 11, 2012, 4:50:44 AM4/11/12
to cu...@googlegroups.com, 3988...@qq.com
On Wed, Apr 11, 2012 at 3:43 AM, damon <chenzif...@gmail.com> wrote:
> Hi All
>
> I have some questions about my automated testing.
> I am using cucumber+watir-webdriver+ruby. I have to test in firefox,
> chrome, safari, and ie7/8/9. But my notebook is mac. Therefore, I want
> to test my script in ie7/8/9 by remote control.
>

Have you considered asking on the WebDriver list about this?
https://groups.google.com/forum/?fromgroups#!forum/webdriver

Aslak

> 1. Can the watir-webdriver support remote control? If it can, how can
> I achieve that? Or which I can find the informations? I have searched
> but found nothing useful for me.
> 2. Can selenium remote control  solve my problem? I have install
> selenium rc in the PC that have ie, and also install selenium client
> in my macbook, but I don't know how to connect to the ie PC. I want to
> create two environment variables in my env.rb, such as LOCALHOST and
> PORT, which I can change it in my command line in order to choice
> which PC to run my script.
>
> I really hope that watir-webdriver can achieve it.
>
>
> Regards
>
> Damon Chen
>

> --
> You received this message because you are subscribed to the Google Groups "Cukes" group.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
>

Jeff Morgan

unread,
Apr 11, 2012, 12:30:11 PM4/11/12
to cu...@googlegroups.com
You can use selenium grid 2 (http://code.google.com/p/selenium/wiki/Grid2) to
run your watir-webdriver tests remotely across several nodes.

Reply all
Reply to author
Forward
0 new messages