Share
Go down
nobel
Active particpant
Active particpant
Posts : 18
Join date : 2011-03-25
Age : 29

[Help] how to run the recorded google pages

on Tue Mar 29, 2011 7:58 pm
Hi,
I used Selenium IDE and recorded one google search. This is created as Testcase.
But i am unable to run the test case of the recorded google search in java eclipse ide using junit, selenium-java-client-driver.jar and selenium-server.jar (server).

can anybody help me?

it shows something in the console as follows:

18:07:52.343 INFO - Java: Sun Microsystems Inc. 11.2-b01
18:07:52.359 INFO - OS: Windows XP 5.1 x86
18:07:52.359 INFO - v2.0 [b2], with Core v2.0 [b2]
18:07:52.531 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
18:07:52.531 INFO - Version Jetty/5.1.x
18:07:52.531 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
18:07:52.531 INFO - Started HttpContext[/selenium-server,/selenium-server]
18:07:52.531 INFO - Started HttpContext[/,/]
18:07:52.562 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@60420f
18:07:52.562 INFO - Started HttpContext[/wd,/wd]
18:07:52.562 WARN - Failed to start: SocketListener0@0.0.0.0:4444
18:07:52.562 INFO - Java: Sun Microsystems Inc. 11.2-b01
18:07:52.562 INFO - OS: Windows XP 5.1 x86
18:07:52.562 INFO - v2.0 [b2], with Core v2.0 [b2]
18:07:52.578 WARN - Failed to start: SocketListener1@0.0.0.0:4444
18:07:52.578 WARN - Failed to start: SocketListener2@0.0.0.0:4444

18:07:52.578 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
18:07:52.578 INFO - Version Jetty/5.1.x
18:07:52.578 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
18:07:52.578 INFO - Started HttpContext[/selenium-server,/selenium-server]
18:07:52.578 INFO - Started HttpContext[/,/]
18:07:52.578 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@2808b3
18:07:52.578 INFO - Started HttpContext[/wd,/wd]
18:07:52.578 INFO - Java: Sun Microsystems Inc. 11.2-b01
18:07:52.578 INFO - OS: Windows XP 5.1 x86
18:07:52.578 INFO - v2.0 [b2], with Core v2.0 [b2]
18:07:52.578 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
18:07:52.578 INFO - Version Jetty/5.1.x
18:07:52.578 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
18:07:52.578 INFO - Started HttpContext[/selenium-server,/selenium-server]
18:07:52.578 INFO - Started HttpContext[/,/]
18:07:52.578 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@b42cbf
18:07:52.578 INFO - Started HttpContext[/wd,/wd]
ashish_techie
Amateur
Amateur
Posts : 73
Join date : 2011-08-09

Re: [Help] how to run the recorded google pages

on Tue Aug 09, 2011 2:07 pm
Have you started selenium server? - if using RC
OR
When Selenium runs, it runs on port number 4444.
Most probably, you are having an application that is blocking that port. Sometimes skype blocks that port. Close that application or You can use defaultselenium class to change the port number on which selenium server is running.

Regards
Ashish

For learning selenium visit:
qtpselenium.com/samplevideos/selenium/seleniumvideos.php
Back to top
Permissions in this forum:
You cannot reply to topics in this forum