Start Selenium RC server using Java

sunram_ram at 11h32
15
Jul
2010
Start Selenium RC server using Java

Hi All,
I am able to do my tests when my Selenium RC Server is started. I am currently using command shell to start my Selenium RC Server as: java -jar selenium-server.jar.

But I want to handle this part in my coding.I am using Eclipse tool. Please let me know how can I start my Selenium Server programatically and how to call it in my test....

Thanks a lot in advance....!
About
This topic belongs to the forum
  • Numbers of topics : 1155
  • Numbers of messages : 3119
  • Numbers of users : 2125
  • Numbers of points : 1359
Similar topics
Hi Friends, I am trying to run the selenium server from c# (Visual studio), without manually running the server from command prompt. Help me in this regard.
Hi, I am trying to start Selenium Server from CMD using "java -jar selenium-server-standalone-2.5.0.jar" The error i get is "Error: Invalid or corrupt jarfile selenium-server-standalone-2.5.0.jar" I am using 64bit Windows 7 I type
I am running my selenium server in background with the help of nssm service. I am running the server at a particular port (11111). I wrote some unit test in VS 2010 and when I am trying to invoke the selenium service with Code:selenium = new
I am new to this tool and also not a techie. But can understand things if explained in plain language. Anyways I went to download page of Selenium RC and downloaded file "selenium-server-standalone-2.0b2.jar". Copied it to C: and then ran below
I am getting mentioned below error when i am executing script in eclipse.java.lang.RuntimeException: Could not start Selenium session: Internal Server Error at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:89) at
Forums from same category
See also
more_less
Informations

2 Replies For the topic :
"Start Selenium RC server using Java"

This topic has been viewed 4116 times.

Last message :
15/07/2010 at 11h32 by "sunram_ram"