Sorry if I am repeating this. On searching this forum for the infamous "Timed out waiting for profile to be created" error I came across a thread which had the same issues as mine at https://groups.google.com/d/topic/selenium-users/zmUt4h1cths/discussion. Sadly I didn't get any reply there. My friends tell that this is an issue related to Firefox version. On a thread at the Spring Forum (for a similar issue on Spring Roo) someone replied I know that Selenium only works with Forefox 4 or 5. And I am terribly confused here. Does it mean that Selenium doesn't work with the newer versions of Firefox (my Windows system has V 16.0.2 installed at the time of writing, I am not sure what's the highest version of Firefox Selenium supported for Firefox on Solaris/Linux). Can anyone please guide me on this? My problem is that with the Selenium standalone jar I am able to run the tests on Firefox without any issues, but not on Solaris. The Firefox version on Solaris is 10.x.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/8X1scxF8g28J.
For more options, visit https://groups.google.com/groups/opt_out.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/qbpXNsz8HcsJ.
DISPLAY=:99 java -jar /opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/selenium-server-standalone-2.26.0.jar -singleWindow -htmlSuite "*firefox /usr/lib/firefox/firefox-bin" "http://superuser:superu...@xx.xxx.xxx.xx:xxxx" "/opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/myapp.smoke.test/src/test/functionalTest/HUDSON_TestSuite.html" "/opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/myapp.smoke.test/test-reports/results_dc.html" -firefoxProfileTemplate "/opt/weblogic/.mozilla/firefox/2or1q91p.copis-selenium"
14:42:13 + java -jar /opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/selenium-server-standalone-2.26.0.jar -singleWindow -htmlSuite *firefox /usr/lib/firefox/firefox-bin http://superuser:superu...@xx.xxx.xxx.xx:xxxx /opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/myapp.smoke.test/src/test/functionalTest/HUDSON_TestSuite.html /opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/myapp.smoke.test/test-reports/results_dc.html
14:42:13 DISPLAY=:99
14:42:13 Nov 29, 2012 2:42:13 PM org.openqa.grid.selenium.GridLauncher main
14:42:13 INFO: Launching a standalone server
14:42:14 14:42:14.146 INFO - Java: Sun Microsystems Inc. 10.0-b19
14:42:14 14:42:14.148 INFO - OS: SunOS 5.10 sparc
14:42:14 14:42:14.167 INFO - v2.26.0, with Core v2.26.0. Built from revision 18041
14:42:14 14:42:14.445 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
14:42:14 14:42:14.447 INFO - Version Jetty/5.1.x
14:42:14 14:42:14.447 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
14:42:14 14:42:14.448 INFO - Started HttpContext[/selenium-server,/selenium-server]
14:42:14 14:42:14.449 INFO - Started HttpContext[/,/]
14:42:14 14:42:14.704 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@19b04e2
14:42:14 14:42:14.705 INFO - Started HttpContext[/wd,/wd]
14:42:14 14:42:14.709 INFO - Started SocketListener on 0.0.0.0:4444
14:42:14 14:42:14.709 INFO - Started org.openqa.jetty.jetty.Server@bfc8e0
14:42:14 jar:file:/opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/selenium-server-standalone-2.26.0.jar!/customProfileDirCUSTFFCHROME
14:42:15 14:42:14.936 INFO - Preparing Firefox profile...
14:42:35 HTML suite exception seen:
14:42:35 java.lang.RuntimeException: Timed out waiting for profile to be created!
14:42:35 at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.waitForFullProfileToBeCreated(FirefoxChromeLauncher.java:308)
14:42:35 at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.populateCustomProfileDirectory(FirefoxChromeLauncher.java:120)
14:42:35 at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launch(FirefoxChromeLauncher.java:90)
14:42:35 at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launchHTMLSuite(FirefoxChromeLauncher.java:340)
14:42:35 at org.openqa.selenium.server.browserlaunchers.FirefoxLauncher.launchHTMLSuite(FirefoxLauncher.java:110)
14:42:35 at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:145)
14:42:35 at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:196)
14:42:35 at org.openqa.selenium.server.SeleniumServer.runHtmlSuite(SeleniumServer.java:612)
14:42:35 at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:286)
14:42:35 at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:244)
14:42:35 at org.openqa.grid.selenium.GridLauncher.main(GridLauncher.java:54)
14:42:35 14:42:35.399 INFO - Shutting down...
14:42:36 Publishing Selenium report...
14:42:44 [DEBUG] Skipping watched dependency update for build: xx.xxx.xxx.xx_tests.selenium.new #9 due to result: FAILURE
14:42:44 Finished: FAILURE
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/F2NbJ2awjTkJ.
echo "Start...";
java -jar /opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/selenium-server-standalone-2.26.0.jar
echo "Done...";
09:07:44 Started by user HUDSON.USER
09:07:44 Building remotely on xxxx-xxxx-xxx - xx.xxx.xxx.xx
09:07:44 appied 1 artifact from xx.xxx.xxx.xx_deploy.revision #56
09:07:45 [xx.xxx.xxx.xx_tests.selenium.new] $ /bin/sh -xe /var/tmp/hudson15949.sh
09:07:45 + echo Start...
09:07:45 Start...
09:07:45 + java -jar /opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/selenium-server-standalone-2.26.0.jar
09:07:45 Nov 30, 2012 9:07:45 AM org.openqa.grid.selenium.GridLauncher main
09:07:45 INFO: Launching a standalone server
09:07:45 09:07:45.822 INFO - Java: Sun Microsystems Inc. 10.0-b19
09:07:45 09:07:45.825 INFO - OS: SunOS 5.10 sparc
09:07:45 09:07:45.841 INFO - v2.26.0, with Core v2.26.0. Built from revision 18041
09:07:46 09:07:46.022 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
09:07:46 09:07:46.024 INFO - Version Jetty/5.1.x
09:07:46 09:07:46.025 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
09:07:46 09:07:46.026 INFO - Started HttpContext[/selenium-server,/selenium-server]
09:07:46 09:07:46.026 INFO - Started HttpContext[/,/]
09:07:46 09:07:46.281 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@1acd47
09:07:46 09:07:46.282 INFO - Started HttpContext[/wd,/wd]
09:07:46 09:07:46.286 INFO - Started SocketListener on 0.0.0.0:4444
09:07:46 09:07:46.286 INFO - Started org.openqa.jetty.jetty.Server@bfc8e0
Looks like you are working with the jenkins selenium plugin jar. I dont know what all does it do internally, but can you please just start the selenium server usingjava -jar selenium-server-standalone-2.26.0.jar (after you download it from the selenium downloads page) ?
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
On Thu, Nov 29, 2012 at 6:47 PM, dchucks <deba...@gmail.com> wrote:
Hi again,
About passing the firefoxProfileTemplate parameter, I was earlier passing it as follows:
DISPLAY=:99 java -jar /opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/selenium-server-standalone-2.26.0.jar -singleWindow -htmlSuite "*firefox /usr/lib/firefox/firefox-bin" "http://superuser:superu...@xx.xxx.xxx.xx:xxxx" "/opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/myapp.smoke.test/src/test/functionalTest/HUDSON_TestSuite.html" "/opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/myapp.smoke.test/test-reports/results_dc.html" -firefoxProfileTemplate "/opt/weblogic/.mozilla/firefox/2or1q91p.copis-selenium"
Deleting all Firefox profiles (including the Default didn't work) and I get the same error, note that I didn't pass the firefoxProfileTemplate parameter now:(
14:42:13 + java -jar /opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/selenium-server-standalone-2.26.0.jar -singleWindow -htmlSuite *firefox /usr/lib/firefox/firefox-bin http://superuser:superuser123@xx.xxx.xxx.xx:xxxx /opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/myapp.smoke.test/src/test/functionalTest/HUDSON_TestSuite.html /opt/weblogic/hudson.slave/workspace/xx.xxx.xxx.xx_tests.selenium/myapp.smoke.test/test-reports/results_dc.html