- automateQA
- Posts : 2
Join date : 2011-02-16
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.
Thanks!
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.
Thanks!
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
"...implementing automated tests can create as many problems as it solves..." but, this is the only way to success!!!
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
"...implementing automated tests can create as many problems as it solves..." but, this is the only way to success!!!
- automateQA
- Posts : 2
Join date : 2011-02-16
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!
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!
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
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!!!
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
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!!!
Permissions in this forum:
You cannot reply to topics in this forum