Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

How to install selenium RC Empty How to install selenium RC

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!!
marek.dikta
marek.dikta
Posts : 2
Join date : 2011-02-19
Age : 47
Location : Poland
http://www.bluejaylab.com

How to install selenium RC Empty Re: How to install selenium RC

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!!!
avatar
auto_ashish1
Active particpant
Active particpant
Posts : 21
Join date : 2011-03-10

How to install selenium RC Empty Re: How to install selenium RC

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

How to install selenium RC Empty Re: How to install selenium RC

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