Share
Go down
gchandrasekaran82
Regular Participant
Regular Participant
Posts : 33
Join date : 2011-02-16

How to install selenium RC

on Thu Feb 17, 2011 2:25 am
Well i got a Zip file namely... "selenium-remote-control-1.0-beta-2-dist.zip", when i unzip it i got 7 items namely as follows:
1. selenium-dotnet-client-driver-1.0-beta-2
2. selenium-java-client-driver-1.0-beta-2
3. selenium-perl-client-driver-1.0-beta-2
4. selenium-php-client-driver-1.0-beta-2
5. selenium-python-client-driver-1.0-beta-2
6. selenium-ruby-client-driver-1.0-beta-2
7. selenium-server-1.0-beta-2


and no any readme file.........................what should i do tell me plz? How to install RC




Thank you very much!!
avatar
marek.dikta
Posts : 2
Join date : 2011-02-19
Age : 40
Location : Poland
http://www.bluejaylab.com

Re: How to install selenium RC

on Sat Feb 19, 2011 6:07 am
Hi,

In order to run Selenium RC Server you have to go to "selenium-server-1.0-beta-2" directory :

Code:
cd selenium-server-1.0-beta-2

and run "jar" file using Java virtual machine:

Code:
java -jar selenium-server-1.0-beta-2.jar

Now your Selenium RC Server is ready to work ! Smile

---
Have a nice automating Wink

Marek Dikta
BlueJayLab Test Automation Service

"...implementing automated tests can create as many problems as it solves..." but, this is the only way to success!!!
auto_ashish1
Active particpant
Active particpant
Posts : 21
Join date : 2011-03-10

Re: How to install selenium RC

on Wed Apr 06, 2011 2:55 pm
Firstly there is nothing known as installing selenium RC.
RC has to be configured in eclipse FOllowing are the steps:

1) Make sure java and eclipse are installed in your machine.
2) Download the selenium jar files from selenium site.
3) Include the class files in the project classpath
4) Make sure junit or TestNg is installed in eclipse.
5) Make a test method in a class. Make sure that the class extends the SeleneseTestCase.java

This is a sample java file code which navigates to google.com:
package tests;
----------------------------------------------------------------
import java.io.FileInputStream;

import org.openqa.selenium.server.SeleniumServer;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.DataProvider;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeSuite;
import org.testng.annotations.AfterSuite;

import com.thoughtworks.selenium.SeleneseTestCase;

public class NewTest extends SeleneseTestCase{
@Test
public void f(Integer n, String s) {
String xpath_table = "xpath=//html/body/div[@id='searchform']/form[@id='tsf']/div/div[2]/table/tbody/tr[1]/td[1]/table[@id='sftab']";

SeleniumServer server=null;

try {
server = new SeleniumServer();
server.boot();
server.start();
setUp("http://www.gmail.com/","*firefox");
selenium.setSpeed("3000");
selenium.open("/");
selenium.windowMaximize();
selenium.windowFocus();




} catch (Exception e) {
System.out.println("SERVER NOT STARTED");
e.printStackTrace();
return;
}


}

}
-------------------------------------

Regards

Ashish
itsthakur@gmail.com
91-9888179981


For online Selenium training go to my website- www.sejsoft.com
Sponsored content

Re: How to install selenium RC

Back to top
Permissions in this forum:
You cannot reply to topics in this forum