problem with start selenium-server.jar

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

problem with start selenium-server.jar

include85
Hi.

I can not start the selenium-server and do not understand why!

I write on terminal:
cd folder_with_selenium_server/jars/
java-jar selenium-server.jar

11:13:42.496 INFO - Java: Apple Inc. 20.4-b02-402
11:13:42.497 INFO - OS: Mac OS X 10.7.3 x86_64
11:13:42.506 INFO - v2.0 [a2], with Core v2.0 [a2]
11:13:42.596 INFO - Should RemoteWebDriver instances connect to: http://192.168.0.102:4444/wd/hub
11:13:42.597 INFO - Version Jetty/5.1.x
11:13:42.598 INFO - Started HttpContext [/ selenium-server/driver, / selenium-server/driver]
11:13:42.599 INFO - Started HttpContext [/ selenium-server, / selenium-server]
11:13:42.599 INFO - Started HttpContext [/, /]
11:13:42.659 INFO - Started @ org.openqa.jetty.jetty.servlet.ServletHandler 70cb6009
11:13:42.660 INFO - Started HttpContext [/ wd, / wd]
11:13:42.665 INFO - Started SocketListener on 0.0.0.0:4444
11:13:42.665 INFO - Started @ 366025e7 org.openqa.jetty.jetty.Server

When I go on the page  http://localhost:4444/
I have this message:
HTTP ERROR: 403
Forbidden for Proxy
RequestUri = /

And if I launch your own as I open firefox but nothing happens, the browser remains white.

What is wrong?

ps: if I write this in the browser http://localhost:4444/selenium-server/driver?cmd=shutDownSeleniumServer

I view okok and in the terminal:
11:16:26.932 INFO - Command request: shutDownSeleniumServer [,] on session null
11:16:26.934 INFO - Received Shutdown command
11:16:26.935 INFO - initiating shutdown
11:16:26.935 INFO - Got result: OK on session null
11:16:27.449 INFO - Shutting down ...


Thank you.:)

GC
Reply | Threaded
Open this post in threaded view
|

Re: problem with start selenium-server.jar

softwaretestingforum
Administrator
Don't worry about the erros you get on - "http://localhost:4444/"
I did not get the error you described here -
"And if I launch your own as I open firefox but nothing happens, the browser remains white."

Also if you have just begun with selenium then start with Selenium 2 also known as WebDriver -
http://seleniumhq.org/docs/03_webdriver.html

~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: problem with start selenium-server.jar

include85
I start a selenium_test that should open google.it, selenium RC opens browser (firefox), but it doesn't start test, I see only a page blank instead of google.it.

I have this problem only on my Mac, at my company works good!
I would try some scripts to my home. :(


ps:I'm studying webDriver, but now I use selenium RC.

thanks

GC
Reply | Threaded
Open this post in threaded view
|

Re: problem with start selenium-server.jar

softwaretestingforum
Administrator
strange,

which version of selenium and FF are you using?
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: problem with start selenium-server.jar

include85
FF 11.0
selenium.rc.version=2.0
selenium.rc.revision=a2
selenium.core.version=2.0
selenium.core.revision=a2

I think that it's a problem with port on my Mac....
Reply | Threaded
Open this post in threaded view
|

Re: problem with start selenium-server.jar

include85
terminal and eclipse:


firefox:

Reply | Threaded
Open this post in threaded view
|

Re: problem with start selenium-server.jar

softwaretestingforum
Administrator
Can you try using following selenium-jar

http://selenium.googlecode.com/files/selenium-server-standalone-2.21.0.jar

Remove other selenium jar from your project.

Also launch application URL in open method that is -

selenium.open("http://gmail.com/")
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: problem with start selenium-server.jar

include85
Thanks, but doesn't work..only one window of firefox starts and remains blank. :(
Reply | Threaded
Open this post in threaded view
|

Re: problem with start selenium-server.jar

softwaretestingforum
Administrator
Do you encounter any exception eventually or does it remain blank for ever?
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: problem with start selenium-server.jar

include85
Remains blank for ever.
Reply | Threaded
Open this post in threaded view
|

Re: problem with start selenium-server.jar

softwaretestingforum
Administrator
Can you show me more of your test code?
I am groping in dark but yet might click.
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: problem with start selenium-server.jar

include85
My mistake!
I add selenium-server-standalone to my project, and I configure my start_selenium_server, I forgot to updated the file.
Now works!

Thanks and sorry.:)
Reply | Threaded
Open this post in threaded view
|

Re: problem with start selenium-server.jar

include85
java -jar /workspace/RC_Introduction/jars/selenium-server-standalone-2.21.0.jar "*firefox"