java - Selenium standalone starts Firefox, which stays blank -


i'm using firefox 23.0 , selenium standalone server 2.35.0 on windows 7 64-bit. have simple test case file: open google, enter "ohai", , search it.

i'm trying run using .jar file:

java -jar "c:\selenium scripts\selenium.jar" -htmlsuite *firefox "http://www.google.com" "c:\selenium scripts\automated tests\testing.htm" "c:\selenium scripts\automated tests\results\testing.results.htm"

it start firefox browser. however, nothing happens. firefox remains blank, , no errors display in selenium output.

aug 15, 2013 6:20:13 pm org.openqa.grid.selenium.gridlauncher main info: launching standalone server 18:20:14.008 info - java: oracle corporation 23.25-b01 18:20:14.009 info - os: windows 7 6.1 amd64 18:20:14.018 info - v2.35.0, core v2.35.0. built revision c916b9d 18:20:14.126 info - remotewebdriver instances should connect to: http://127.0.0. 1:4444/wd/hub 18:20:14.128 info - version jetty/5.1.x 18:20:14.128 info - started httpcontext[/selenium-server/driver,/selenium-server /driver] 18:20:14.129 info - started httpcontext[/selenium-server,/selenium-server] 18:20:14.130 info - started httpcontext[/,/] 18:20:14.176 info - started org.openqa.jetty.jetty.servlet.servlethandler@c07014 18:20:14.177 info - started httpcontext[/wd,/wd] 18:20:14.194 info - started socketlistener on 0.0.0.0:4444 18:20:14.194 info - started org.openqa.jetty.jetty.server@16db3bc jar:file:/c:/kiln/qascripts/selenium%20scripts/selenium.jar!/customprofiledircus tffchrome 18:20:14.352 info - preparing firefox profile... 18:20:15.554 info - launching firefox... 

but nothing happens! no unusual errors in error console (only known ones, aurl issues , chrome.manifest , like), no errors in logging, nothing unusual when run -debug... sits here.

and worked me last week...

what should do?

i had similar problem: test opened firefox window, nothing happened (it stayed blank time).

i had error:

org.openqa.selenium.webdriverexception: unable bind locking port 7054 within 45000 ms 

solution: try download , include in project latest version of selenium driver. helped me , can execute tests - works fine latest firefox (33.0) , selenium driver java in version 2.43.1 (i had problems version 2.42.x).


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -