Skip to content

Instantly share code, notes, and snippets.

@AutomatedTester
Created December 13, 2010 16:28
Show Gist options
  • Select an option

  • Save AutomatedTester/739178 to your computer and use it in GitHub Desktop.

Select an option

Save AutomatedTester/739178 to your computer and use it in GitHub Desktop.
Ruby tests output
David-Burnss-MacBook-Pro:selenium davidburns$ ./go //rb:firefox-test:jruby
(in /development/selenium)
No Gecko sdk detected. Install xulrunner-dev to compile 64-bit Firefox extension.No srcs specified for selenium-core
Using iPhoneSDK: 'iphonesimulator4.1'
Preparing: //rb:common in build/rb
Preparing: //rb:remote in build/rb
Falling back to copy of: firefox/prebuilt/Win32/Release/webdriver-firefox.dll
Preparing: //firefox:webdriver as build/firefox/webdriver.xpi
Preparing: //rb:firefox in build/rb
Running: firefox ruby tests (jruby)
ruby -I rb/spec/integration:build/rb/lib:rb/spec -rthird_party/jruby/json-jruby.jar -rthird_party/jruby/rubyzip.jar -rthird_party/jruby/childprocess.jar -rthird_party/jruby/ci_reporter.jar -rthird_party/jruby/rack.jar -S spec --format CI::Reporter::RSpec rb/spec/integration/selenium/webdriver/driver_spec.rb rb/spec/integration/selenium/webdriver/element_spec.rb rb/spec/integration/selenium/webdriver/error_spec.rb rb/spec/integration/selenium/webdriver/navigation_spec.rb rb/spec/integration/selenium/webdriver/options_spec.rb rb/spec/integration/selenium/webdriver/target_locator_spec.rb rb/spec/integration/selenium/webdriver/timeout_spec.rb rb/spec/integration/selenium/webdriver/firefox/driver_spec.rb rb/spec/integration/selenium/webdriver/firefox/profile_spec.rb
creating test env :: jruby 1.6.0.dev (ruby 1.8.7 patchlevel 249) (2010-12-08 3510d85) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_22) [darwin-x86_64-java]
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
...........F...........F.........FFFF....................................F...................
1)
Selenium::WebDriver::Error::ObsoleteElementError in 'Driver one element should find by css selector'
Element is no longer attached to the DOM
[remote server] resource:/fxdriver/modules/utils.js:7057:in `'
[remote server] file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-1bl1ph0/extensions/fxdriver@googlecode.com/components/driver-component.js -> file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-1bl1ph0/extensions/fxdriver@googlecode.com/components/wrappedElement.js:233:in `'
[remote server] file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-1bl1ph0/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:299:in `'
[remote server] file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-1bl1ph0/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:313:in `'
[remote server] file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-1bl1ph0/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:190:in `'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:45:in `assert_ok'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:15:in `initialize'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:54:in `create_response'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/default.rb:51:in `request'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:35:in `call'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:429:in `raw_execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:407:in `execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:300:in `getElementAttribute'
/development/selenium/build/rb/lib/selenium/webdriver/common/element.rb:86:in `attribute'
./rb/spec/integration/selenium/webdriver/driver_spec.rb:81:in `(root)'
org/jruby/RubyProc.java:275:in `call'
2)
Selenium::WebDriver::Error::ObsoleteElementError in 'Driver execute script should return elements'
Element is no longer attached to the DOM
[remote server] resource:/fxdriver/modules/utils.js:7057:in `'
[remote server] file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-1bl1ph0/extensions/fxdriver@googlecode.com/components/driver-component.js -> file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-1bl1ph0/extensions/fxdriver@googlecode.com/components/wrappedElement.js:125:in `'
[remote server] file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-1bl1ph0/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:299:in `'
[remote server] file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-1bl1ph0/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:313:in `'
[remote server] file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-1bl1ph0/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:190:in `'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:45:in `assert_ok'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:15:in `initialize'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:54:in `create_response'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/default.rb:51:in `request'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:35:in `call'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:429:in `raw_execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:407:in `execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:308:in `getElementText'
/development/selenium/build/rb/lib/selenium/webdriver/common/element.rb:96:in `text'
./rb/spec/integration/selenium/webdriver/driver_spec.rb:159:in `(root)'
org/jruby/RubyProc.java:275:in `call'
3)
Selenium::WebDriver::Error::UnhandledError in 'Driver alerts allows the user to accept an alert'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:45:in `assert_ok'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:15:in `initialize'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:54:in `create_response'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/default.rb:51:in `request'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:35:in `call'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:429:in `raw_execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:407:in `execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:112:in `acceptAlert'
/development/selenium/build/rb/lib/selenium/webdriver/common/alert.rb:10:in `accept'
./rb/spec/integration/selenium/webdriver/driver_spec.rb:216:in `(root)'
org/jruby/RubyProc.java:275:in `call'
4)
Selenium::WebDriver::Error::UnhandledError in 'Driver alerts allows the user to dismiss an alert'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:45:in `assert_ok'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:15:in `initialize'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:54:in `create_response'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/default.rb:51:in `request'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:35:in `call'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:429:in `raw_execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:407:in `execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:116:in `dismissAlert'
/development/selenium/build/rb/lib/selenium/webdriver/common/alert.rb:14:in `dismiss'
./rb/spec/integration/selenium/webdriver/driver_spec.rb:225:in `(root)'
org/jruby/RubyProc.java:275:in `call'
5)
Selenium::WebDriver::Error::UnhandledError in 'Driver alerts allows the user to set the value of a prompt'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:45:in `assert_ok'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:15:in `initialize'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:54:in `create_response'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/default.rb:51:in `request'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:35:in `call'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:429:in `raw_execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:407:in `execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:120:in `setAlertValue'
/development/selenium/build/rb/lib/selenium/webdriver/common/alert.rb:18:in `send_keys'
./rb/spec/integration/selenium/webdriver/driver_spec.rb:235:in `(root)'
org/jruby/RubyProc.java:275:in `call'
6)
Selenium::WebDriver::Error::UnhandledError in 'Driver alerts allows the user to get the text of an alert'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:45:in `assert_ok'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:15:in `initialize'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:54:in `create_response'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/default.rb:51:in `request'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:35:in `call'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:429:in `raw_execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:407:in `execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:112:in `acceptAlert'
/development/selenium/build/rb/lib/selenium/webdriver/common/alert.rb:10:in `accept'
./rb/spec/integration/selenium/webdriver/driver_spec.rb:248:in `(root)'
org/jruby/RubyProc.java:275:in `call'
7)
Selenium::WebDriver::Error::NoSuchFrameError in 'WebDriver::TargetLocator should switch to default content'
Unable to locate frame: 0
[remote server] file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-21190a/extensions/fxdriver@googlecode.com/components/driver-component.js -> file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-21190a/extensions/fxdriver@googlecode.com/components/firefoxDriver.js:699:in `'
[remote server] file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-21190a/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:299:in `'
[remote server] file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-21190a/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:313:in `'
[remote server] file://var/folders/pv/pvsvi3U3HcOHl9KR48n5SU+++TI/-Tmp-/webdriver-profile20101213-16493-21190a/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:190:in `'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:45:in `assert_ok'
/development/selenium/build/rb/lib/selenium/webdriver/remote/response.rb:15:in `initialize'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:54:in `create_response'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/default.rb:51:in `request'
/development/selenium/build/rb/lib/selenium/webdriver/remote/http/common.rb:35:in `call'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:429:in `raw_execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:407:in `execute'
/development/selenium/build/rb/lib/selenium/webdriver/remote/bridge.rb:160:in `switchToFrame'
/development/selenium/build/rb/lib/selenium/webdriver/common/target_locator.rb:18:in `frame'
./rb/spec/integration/selenium/webdriver/target_locator_spec.rb:85:in `(root)'
org/jruby/RubyProc.java:275:in `call'
Finished in 44.63 seconds
93 examples, 7 failures
Spec guards for this implementation:
compliant_on : {:file=>"./rb/spec/integration/selenium/webdriver/driver_spec.rb:210:in `(root)'"}
not_compliant : {:file=>"./rb/spec/integration/selenium/webdriver/firefox/profile_spec.rb:112:in `(class Firefox)'"}
go aborted!
Command failed with status (1): [ruby -I rb/spec/integration:build/rb/lib:r...]
(See full trace by running task with --trace)
David-Burnss-MacBook-Pro:selenium davidburns$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment