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
automateQA
Posts : 2
Join date : 2011-02-16

How to install Selenium RC Empty How to install Selenium RC

Wed Feb 16, 2011 6:23 am
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 command
java -jar
selenium-server-standalone-2.0b2.jar. What follows some lines with text
INFO and then followed by line having text WARN and "failed to start
socketlistner....exception in thread....."main" java.net.bindexception.
Selenium is already running on port 4444. Or some other service is
at....."

Can anyone help me out here by guiding how to install
Selenium RC. I did already installed the plug-in in FF for Selenium IDE.
Also what should be next once I have RC installed successfully? How do I
verify if RC has been installed properly.
fyi....

when I ran java -version I see 1.6.0_22
My o/s is XP professional.
Rolling Eyes

Thanks!
avatar
turion64
Posts : 2
Join date : 2011-02-15
Location : Poland
http://www.bluejaylab.com

How to install Selenium RC Empty Re: How to install Selenium RC

Wed Feb 16, 2011 4:30 pm
Hi,

I think the information "...Selenium is already running on port 4444..." is key in this case.
Did you try run it more than one time?

To be absolutely sure, restart your machine and try run selenium server once again.

---
Have a nice automating Wink

"...implementing automated tests can create as many problems as it solves..." but, this is the only way to success!!!
avatar
automateQA
Posts : 2
Join date : 2011-02-16

How to install Selenium RC Empty Re: How to install Selenium RC

Wed Feb 16, 2011 7:08 pm
I ran below in my browser and then I was able to re-start Selenium RC

http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer

Now my next goal is to how to create a test script in selenium and make it run 1st in firefox & then in IE. And how do you bring down RC.

Any guidance?
Thanks!
marek.dikta
marek.dikta
Posts : 2
Join date : 2011-02-19
Age : 46
Location : Poland
http://www.bluejaylab.com

How to install Selenium RC Empty Re: How to install Selenium RC

Sun Feb 20, 2011 7:01 am
It depends on this, what programming language do you prefer...

For Selenium RC you can choose : C#, Java, Perl, PHP, Python or Java.

Anyway, at the begining you can use Selenium IDE for record some test case. After that in Selenium IDE tool, go to "File-> Export Test Case As..." and choose your prefer programming language.
Now you can copy gererated code and paste it to your development environment editor.

How make it run strongly depends on your programming language and development environment. You have to make sure, that all needed libraries exist and development environment "knowns" where to find them. For example in case of using Eclipse and Java, you have to set classpath to Selenium and JUnit libraries.

If it comes to running test on different web browsers.
In generated code you will find name of web browser on which test should be performed. You can set *iexplore for Internet Explorer and *firefox for Firefox.

---
Have a nice automating Wink

Marek Dikta
http://www.bluejaylab.com

"...implementing automated tests can create as many problems as it solves..." but, this is the only way to success!!!
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