!!

Welcome to Selenium Webdriver Forum

As a web user you can read and search through forum content. Once you have registered and signed you can post topics, post replies, set up watch lists, modify forum settings, and use private messaging.

Author Topic: RemoteWebDriverServer question?  (Read 900 times)

Roger F

  • Web User
RemoteWebDriverServer question?
« on: April 11, 2012, 01:56:27 PM »
Sorry that I couldn't understand the concept of RemoteWebDriverServer.
 I've refered to the Server and Client code here:
 http://groups.google.com/group/webdriver/browse_thread/thread/24eb1be...
 Where should I run the server code ? If I run it on my machine, it
 starts the server on my localhost.
 But I want it to start the remote selenium server automatically on
 remote machine.
 (and want to avoid manual start of java –jar selenium-
 standalone*.jar).
 
So, in both server code and client code above, nowhere we are
 mentioning the IP Address of remote machine ?
 How will the server automatically run on remote machine?
 
This might be a basic question.again rephrasing the requirement:
 1) Currently I run the test code on my Mac and execute tests on
 Windows machine - ie8
 2) on my windows machine, I need to start the server manually: java –
 jar selenium-server-standalone-2.0b3.jar
 I want to automate step 2) such that whenever I start tests on my Mac,
 my remote Windows machine starts the server automatically by using
 some code on Local machine (Mac) .

darrell

  • Web User
Re: RemoteWebDriverServer question?
« Reply #1 on: April 11, 2012, 01:56:45 PM »
For you to run any program on a remote computer you need some form of
 communication. If the Selenium Server is running on the Windows
 computer the RemoteWebDriver can communicate with the Selenium Server.
 However, if the Selenium Server is not running something has to
 communicate with the remote computer to start it. RemoteWebDriver was
 designed to communicate with a Selenium Server.
 What I would recommend is using the concept of remotely running a
 program on a remote computer. With UNIX/Linux you can always use ssh
 or rexec to run an application on a remote computer. With Windows
 there is no secure communications. You'll either have to install ssh
 or something similar. You can then use that remote communication to
 execute the command "java -jar selenium-server-standalone.jar".
 
Personally, I set up my Windows machine such that when I start it up
 it automatically runs a script to start the Selenium Server. I
 actually have a Windows image I run with VirtualBox. When I start the
 image it is set to automatically log me in and my Startup folder has a
 script to run the Selenium Server. When I want to test with IE I just
 start the Windows image then run my tests from my Mac.
 
On May 16, 6:59 pm, Roger F <vgi...@gmail.com> wrote:
 

- Show quoted text -

Roger F

  • Web User
Re: RemoteWebDriverServer question?
« Reply #2 on: April 11, 2012, 01:56:58 PM »
Thanks for the response, Darrell.
 That clears my understanding that RemoteWebDriverServer automatically
 starts selenium server on remote machine.
 -Roger
 
On May 17, 6:29 pm, darrell <darrell.grain...@gmail.com> wrote:
 

- Show quoted text -

Selenium Webdriver

Re: RemoteWebDriverServer question?
« Reply #2 on: April 11, 2012, 01:56:58 PM »

 

Related Topics

  Subject / Started by Replies Last post
8 Replies
959 Views
Last post March 28, 2012, 03:34:32 PM
by Ir@
2 Replies
710 Views
Last post March 28, 2012, 04:06:37 PM
by Danny Leblond
2 Replies
804 Views
Last post April 11, 2012, 03:03:11 PM
by Nilesh
4 Replies
1214 Views
Last post May 17, 2012, 07:57:30 PM
by Moises Siles
2 Replies
1112 Views
Last post July 24, 2012, 10:40:43 PM
by dlai
0 Replies
9 Views
Last post April 14, 2014, 05:23:50 PM
by LMJG
0 Replies
9 Views
Last post April 14, 2014, 07:18:40 PM
by SRiddick