Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

How to install Selenium RC

View previous topic View next topic Go down

How to install Selenium RC

Post by automateQA on 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!

automateQA

Posts : 2
Join date : 2011-02-16

Back to top Go down

Re: How to install Selenium RC

Post by turion64 on 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!!!

turion64

Posts : 2
Join date : 2011-02-15
Location : Poland

http://www.bluejaylab.com

Back to top Go down

Re: How to install Selenium RC

Post by automateQA on 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!

automateQA

Posts : 2
Join date : 2011-02-16

Back to top Go down

Re: How to install Selenium RC

Post by marek.dikta on 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!!!

marek.dikta

Posts : 2
Join date : 2011-02-19
Age : 39
Location : Poland

http://www.bluejaylab.com

Back to top Go down

Re: How to install Selenium RC

Post by Sponsored content Today at 1:01 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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