Created
May 12, 2009 03:28
-
-
Save c4milo/110285 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
camilo@levitas:~/Development/ruby/cucumber/examples/selenium_webrat$ rake features | |
(in /home/camilo/Development/ruby/cucumber/examples/selenium_webrat) | |
/usr/bin/ruby1.8 -I "/home/camilo/Development/ruby/cucumber/lib:lib" "/home/camilo/Development/ruby/cucumber/bin/cucumber" --format pretty --require features/step_definitons/search_steps.rb --require features/support/env.rb features/search.feature | |
Feature: Search | |
In order to learn more | |
As an information seeker | |
I want to find more information | |
Scenario: Find what I'm looking for # features/search.feature:6 | |
==> Waiting for Selenium RC server on port 4444... . | |
22:26:26.796 INFO - Java: IBM Corporation 2.3 | |
22:26:26.799 INFO - OS: Linux 2.6.28-11-generic amd64 | |
22:26:26.802 INFO - v1.0-SNAPSHOT [1123], with Core v@VERSION@ [@REVISION@] | |
22:26:26.961 INFO - Version Jetty/5.1.x | |
22:26:26.964 INFO - Started HttpContext[/,/] | |
22:26:26.966 INFO - Started HttpContext[/selenium-server,/selenium-server] | |
22:26:26.966 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver] | |
22:26:27.006 INFO - Started SocketListener on 0.0.0.0:4444 | |
22:26:27.007 INFO - Started org.mortbay.jetty.Server@712a712a | |
Ready! | |
Starting app server | |
22:26:28.498 INFO - Checking Resource aliases | |
22:26:28.514 INFO - Command request: setSpeed[0, ] on session null | |
22:26:28.523 INFO - Got result: OK on session null | |
22:26:28.555 INFO - Command request: getNewBrowserSession[*firefox, http://localhost:3001, ] on session null | |
22:26:28.558 INFO - creating new remote session | |
22:26:29.504 INFO - Allocated session a21b33aa086e45b285b10ce3526f9772 for http://localhost:3001, launching... | |
22:26:29.578 INFO - Preparing Firefox profile... | |
22:26:33.346 INFO - Launching Firefox... | |
22:26:38.602 ERROR - Failed to start new browser session, shutdown browser an clear all session data | |
org.openqa.selenium.server.RemoteCommandException: timed out waiting for window 'null' to appear | |
at org.openqa.selenium.server.FrameGroupCommandQueueSet.waitForLoad(FrameGroupCommandQueueSet.java:565) | |
at org.openqa.selenium.server.FrameGroupCommandQueueSet.waitForLoad(FrameGroupCommandQueueSet.java:522) | |
at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(BrowserSessionFactory.java:324) | |
at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:118) | |
at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:81) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:658) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:392) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:368) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:129) | |
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) | |
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) | |
at org.mortbay.http.HttpServer.service(HttpServer.java:909) | |
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) | |
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982) | |
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) | |
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) | |
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) | |
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) | |
22:26:38.606 INFO - Killing Firefox... | |
22:26:38.797 INFO - Got result: Failed to start new browser session: Error while launching browser on session null | |
Given I am on the Google search page # features/step_definitons/search_steps.rb:1 | |
led to start new browser session: Error while launching browser (Selenium::CommandError) | |
/usr/lib/ruby/1.8/timeout.rb:62:in `timeout' | |
/usr/lib/ruby/1.8/timeout.rb:93:in `timeout' | |
(eval):2:in `/^I am on the Google search page$/' | |
features/search.feature:7:in `Given I am on the Google search page' | |
When I search for "rspec" # features/step_definitons/search_steps.rb:5 | |
Then I should see a link to RSpec-1.2.4: Home # features/step_definitons/search_steps.rb:11 | |
1 scenario (1 failed) | |
3 steps (1 failed, 2 skipped) | |
22:26:38.818 INFO - Command request: shutDown[, ] on session null | |
22:26:38.819 INFO - Shutdown command received | |
22:26:38.847 INFO - initiating shutdown | |
22:26:38.848 INFO - Got result: null on session null | |
rake aborted! | |
Command failed with status (1): [/usr/bin/ruby1.8 -I "/home/camilo/Developm...] | |
(See full trace by running task with --trace) | |
camilo@levitas:~/Development/ruby/cucumber/examples/selenium_webrat$ 22:26:39.350 INFO - Shutting down... | |
22:26:39.353 INFO - Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=4444] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment