Skip to content

Instantly share code, notes, and snippets.

@wincent
Created June 23, 2010 14:14
Show Gist options
  • Save wincent/449966 to your computer and use it in GitHub Desktop.
Save wincent/449966 to your computer and use it in GitHub Desktop.
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/ruby-debug-base-0.10.3.2-java/lib/ruby-debug-base.rb:214 warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
[2010-06-23 16:13:02] INFO WEBrick 1.3.1
[2010-06-23 16:13:02] INFO ruby 1.8.7 (2010-06-06) [java]
[2010-06-23 16:13:02] INFO WEBrick::HTTPServer#start: pid=80849 port=2000
Browser#credentials=
192.168.1.6 - - [23/Jun/2010:16:13:03 CEST] "GET /authentication HTTP/1.1" 401 22
- -> /authentication
192.168.1.6 - - [23/Jun/2010:16:13:03 CEST] "GET /authentication HTTP/1.1" 401 22
- -> /authentication
192.168.1.6 - - [23/Jun/2010:16:13:03 CEST] "GET /authentication HTTP/1.1" 200 2
- -> /authentication
- sets the basic authentication credentials
Browser#new
- raises TypeError if argument is not a Hash
- raises ArgumentError if given bad arguments for :render key
- raises ArgumentError if given bad arguments for :browser key
- raises ArgumentError if given an unknown option
- should hold the init options
[2010-06-23 16:13:03] INFO WEBrick 1.3.1
[2010-06-23 16:13:03] INFO ruby 1.8.7 (2010-06-06) [java]
[2010-06-23 16:13:03] INFO WEBrick::HTTPProxyServer#start: pid=80849 port=2001
192.168.1.6 - - [23/Jun/2010:16:13:03 CEST] "GET / HTTP/1.1" 200 17
- -> /
obdev.at - - [23/Jun/2010:16:13:03 CEST] "GET http://0.0.0.0:2000/ HTTP/1.1" 200 17
- -> http://0.0.0.0:2000/
- should use the specified proxy
192.168.1.6 - - [23/Jun/2010:16:13:03 CEST] "GET /header_echo HTTP/1.1" 200 835
- -> /header_echo
- should use the specified user agent
- does not try to find a viewer if created with :viewer => false
- tries to find a viewer if created with :viewer => nil
- tries to find a viewer on the specified host/port with :viewer => String
Browser#html
- returns decoded SHIFT_JIS when :charset specified
- returns decoded ISO-2022-JP when :charset specified
- returns decoded EUC-JP when :charset specified
192.168.1.6 - - [23/Jun/2010:16:13:04 CEST] "GET /big HTTP/1.1" 200 307565
- -> /big
Browser#html called on big content page
- does not fail for huge pages (FAILED - 1)
Browser#text
192.168.1.6 - - [23/Jun/2010:16:13:04 CEST] "GET /big HTTP/1.1" 200 307565
- -> /big
- does not fail for huge pages
Browser#response_headers
192.168.1.6 - - [23/Jun/2010:16:13:04 CEST] "GET /non_control_elements.html HTTP/1.1" 200 6890
- -> /non_control_elements.html
192.168.1.6 - - [23/Jun/2010:16:13:04 CEST] "GET /javascript/helpers.js HTTP/1.1" 200 356
Referer -> /javascript/helpers.js
- returns the response headers (as a hash)
Browser#content_type
- returns the content type
Browser#io
- returns the io object of the content
Browser#goto
192.168.1.6 - - [23/Jun/2010:16:13:04 CEST] "GET /octet_stream HTTP/1.1" 200 32
- -> /octet_stream
- raises UnexpectedPageException if the content type is not understood
Browser#cookies
192.168.1.6 - - [23/Jun/2010:16:13:04 CEST] "GET /set_cookie HTTP/1.1" 200 40
- -> /set_cookie
- returns set cookies as a Ruby hash
Browser#clear_cookies
192.168.1.6 - - [23/Jun/2010:16:13:04 CEST] "GET /set_cookie HTTP/1.1" 200 40
- -> /set_cookie
- clears all cookies
Browser add_cookie
- adds a cookie with the given domain, name and value
- adds a cookie with the specified options
Browser remove_cookie
192.168.1.6 - - [23/Jun/2010:16:13:04 CEST] "GET /set_cookie HTTP/1.1" 200 40
- -> /set_cookie
- removes the cookie for the given domain and name
- raises an error if no such cookie exists
Browser#wait
- should wait for javascript timers to finish
Browser#wait_while
- waits until the specified condition becomes false
- returns the value returned from the block
Browser#wait_until
[2010-06-23 16:13:05] INFO going to shutdown ...
[2010-06-23 16:13:05] INFO WEBrick::HTTPProxyServer#start done.
- waits until the condition becomes true
- returns the value returned from the block
Browser#element_by_xpath
- returns usable elements even though they're not supported
Browser#focused_element
- returns the element that currently has the focus
Browser#status_code
192.168.1.6 - - [23/Jun/2010:16:13:06 CEST] "GET /doesnt_exist HTTP/1.1" 404 421
- -> /doesnt_exist
- returns the status code of the last request
Browser#status_code_exceptions
192.168.1.6 - - [23/Jun/2010:16:13:06 CEST] "GET /doesnt_exist HTTP/1.1" 404 421
- -> /doesnt_exist
- raises status code exceptions if set to true
Browser#javascript_exceptions
- raises javascript exceptions if set to true
Browser#add_listener
- should click OK for confirm() calls
Browser#remove_listener
- should remove the given listener Proc
Browser#add_checker
- runs the given block on each page load
Browser#confirm
- clicks 'OK' for a confirm() call
- clicks 'cancel' for a confirm() call
Button#click_and_attach
- returns a new browser instance with the popup page
- returns a new browser with same log_level as original
ClickableElement#click_and_attach
- opens a page in a new browser with the same options
- opens the page in a new browser with the same cookies
ClickableElement#download
- returns a click-opened page as io
DefaultViewer.save
- saves the default image to the given path
Element#identifier_string
- doesn't make the next locate find the wrong element
Element#method_missing
- magically returns the requested attribute if the attribute is defined in the attribute list
- raises NoMethodError if the requested method isn't among the attributes
Element#xpath
- gets the canonical xpath of this element
Element#javascript_object
- should return the JavaScript object representing the receiver
Element#locate
- raises ArgumentError when used with :object and the object given isn't an HtmlElement subclass
Element#focused?
- returns true if the element has focus
Element#==
- returns true if passed the same element
- returns false if passed a different element
FileField#set
- sends content as correct content type for common file types
HtmlUnit bugs
- evaluates <script> tags injected in the DOM through JQuery's replaceWith() - fixed in rev. 3598
- doesn't return the TinyMCE DOM when executing javascript functions
HtmlUnit bugs HtmlUnit bug 1968686: https://sourceforge.net/tracker/index.php?func=detail&aid=1968686&group_id=47038&atid=448266
- does not raise NativeException: java.lang.StackOverflowError when going to a page where Javascripts prints a <body> tag inside another <body> tag
HtmlUnit bugs HtmlUnit bug 1968708: https://sourceforge.net/tracker/index.php?func=detail&aid=1968708&group_id=47038&atid=448266
- only considers the first attribute if there are duplicate attributes
HtmlUnit bugs NekoHtml parser bug: https://sourceforge.net/tracker/?func=detail&aid=2824922&group_id=47038&atid=448266
- does not run out of java heap space
HtmlUnit bugs HtmlUnit bug 2811607: https://sourceforge.net/tracker/?func=detail&aid=2811607&group_id=47038&atid=448266
- correctly prevents default on <form>#submit()
HtmlUnit bugs HtmlUnit bug 2974355: https://sourceforge.net/tracker/index.php?func=detail&aid=2974355&group_id=47038&atid=448266
192.168.1.6 - - [23/Jun/2010:16:13:13 CEST] "GET /encodable_%3Cstuff%3E HTTP/1.1" 200 46
- -> /encodable_%3Cstuff%3E
- accesses pages with characters in URI that need encoding
Link absolute_url
- returns the absolute URL for a link with a relative href attribute
Listener
- implements the StatusHandler interface
- implements the ConfirmHandler interface
- implements the AttachmentHandler interface
- implements the AlertHandler interface
- implements the HTMLParserListener interface
- implements the WebWindowListener interface
- implements the IncorrectnessListener interface
- implements the PromptHandler interface
- handles several invocations of all registered listeners
Listener#add_listener
- adds itself as a listener for the :status type
- adds itself as a listener for the :alert type
- adds itself as a listener for the :confirm type
- adds itself as a listener for the :prompt type
- adds itself as a listener for the :web_window_event type
- adds itself as a listener for the :html_parser type
- adds itself as a listener for the :incorrectness type
- adds itself as a listener for the :attachment type
Listener#remove_listener
- removes the listener at the given index
Table#locate
- is not nil for existing tables
Button#click_no_wait
192.168.1.6 - - [23/Jun/2010:16:13:13 CEST] "GET /forms_with_input_elements.html HTTP/1.1" 200 9350
- -> /forms_with_input_elements.html
192.168.1.6 - - [23/Jun/2010:16:13:13 CEST] "GET /bogus.css HTTP/1.1" 404 418
Referer -> /bogus.css
[2010-06-23 16:13:13] ERROR ArgumentError: negative length -35 given
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:546:in `parse_multipart'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:499:in `loop'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:499:in `parse_multipart'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/request.rb:270:in `parse_multipart'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/request.rb:148:in `POST'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/request.rb:167:in `params'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:408:in `call!'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/content_length.rb:13:in `call'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52:in `service'
/usr/local/jruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/jruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler/webrick.rb:13:in `run'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:41:in `run!'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:9:in `run_async'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:9:in `initialize'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:9:in `new'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:9:in `run_async'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/spec_helper.rb:66:in `start_server'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/spec_helper.rb:23:in `execute'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/spec_helper.rb:16
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/spec_helper.rb:31:in `require'
/usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/browser_authentication_spec.rb:1
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/browser_authentication_spec.rb:15:in `load'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:14:in `each'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:133:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:19:in `load'
/usr/local/jruby/bin/spec:19
192.168.1.6 - - [23/Jun/2010:16:13:13 CEST] "POST /post_to_me HTTP/1.1" 500 303
Referer -> /post_to_me
- behaves like #click (FAILED - 2)
Link#click_no_wait
192.168.1.6 - - [23/Jun/2010:16:13:13 CEST] "GET /bogus.css HTTP/1.1" 404 418
Referer -> /bogus.css
- behaves like #click
Area#exist?
- returns true if the area exists
- returns true if the element exists (default how = :id)
- returns false if the area doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Area#id
- returns the id attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the area doesn't exist
Area#name
- returns the name attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the area doesn't exist
Area#respond_to?
- returns true for all attribute methods
Areas#length
- returns the number of areas
Areas#[]
- returns the area at the given index
Areas#each
- iterates through areas correctly
Browser
192.168.1.6 - - [23/Jun/2010:16:13:13 CEST] "GET /plain_text HTTP/1.1" 200 18
- -> /plain_text
- raises UnknownObjectException when trying to access DOM elements on plain/text-page
Browser#exists?
- returns true if we are at a page
- returns false after IE#close
Browser#html
- returns the downloaed HTML of the page
Browser#title
- returns the current page title
Browser#status
- returns the current value of window.status
Browser#text
- returns the text of the page
192.168.1.6 - - [23/Jun/2010:16:13:13 CEST] "GET /plain_text HTTP/1.1" 200 18
- -> /plain_text
- returns the text also if the content-type is text/plain
Browser#url
- returns the current url
Browser#document
- returns the underlying object
Browser.start
- goes to the given URL and return an instance of itself
Browser#goto
192.168.1.6 - - [23/Jun/2010:16:13:13 CEST] "GET / HTTP/1.1" 200 17
- -> /
- adds http:// to URLs with no URL scheme specified
- goes to the given url without raising errors
- updates the page when location is changed with setTimeout + window.location
Browser#refresh
- refreshes the page
Browser#execute_script
- executes the given JavaScript on the current page
Browser#back and #forward
192.168.1.6 - - [23/Jun/2010:16:13:15 CEST] "GET /tables.html HTTP/1.1" 200 5106
- -> /tables.html
- goes to the previous page
- goes to the next page
192.168.1.6 - - [23/Jun/2010:16:13:15 CEST] "GET /bogus.css HTTP/1.1" 404 418
Referer -> /bogus.css
192.168.1.6 - - [23/Jun/2010:16:13:15 CEST] "GET /definition_lists.html HTTP/1.1" 200 1309
- -> /definition_lists.html
192.168.1.6 - - [23/Jun/2010:16:13:15 CEST] "GET /bogus.css HTTP/1.1" 404 418
Referer -> /bogus.css
192.168.1.6 - - [23/Jun/2010:16:13:15 CEST] "GET /bogus.css HTTP/1.1" 404 418
Referer -> /bogus.css
- navigates between several history items
Browser#contains_text
- raises ArgumentError when called with no arguments
- raises TypeError when called with wrong arguments
- returns the index if the given text exists
- returns nil if the text doesn't exist
- does not raise error on a blank page
Browser#element_by_xpath
- finds submit buttons matching the given xpath
- finds reset buttons matching the given xpath
- finds image buttons matching the given xpath
- finds the element matching the given xpath
- will not find elements that doesn't exist
Browser#elements_by_xpath
- returns an Array of matching elements
- returns an empty Array if there are no matching elements
Browser#add_checker
- raises ArgumentError when not given any arguments
- runs the given proc on each page load
Browser#disable_checker
- removes a previously added checker
Button#exists?
- returns true if the button exists
- returns true if the button exists (how = :caption)
- returns true if the button exists (default how = :value)
- returns false if the button doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Button#class_name
- returns the class name of the button
- returns an empty string if the button has no class name
Button#id
- returns the id if the button exists
- raises UnknownObjectException if button does not exist
Button#name
- returns the name if button exists
- raises UnknownObjectException if the button does not exist
Button#src
- returns the src attribute for the button image
- raises UnknownObjectException if the button does not exist
Button#style
- returns the style attribute if the button exists
- returns an empty string if the element exists and the attribute doesn't exist
- raises UnknownObjectException if the button does not exist
Button#title
- returns the title of the button
- returns an empty string for button without title
Button#type
- returns the type if button exists
- raises UnknownObjectException if button does not exist
Button#value
- returns the value if button exists
- raises UnknownObjectException if button does not exist
Button#respond_to?
- returns true for all attribute methods
Button#enabled?
- returns true if the button is enabled
- returns false if the button is disabled
- raises UnknownObjectException if the button doesn't exist
Button#disabled?
- returns false when button is enabled
- returns true when button is disabled
- raises UnknownObjectException if button does not exist
Button#click
192.168.1.6 - - [23/Jun/2010:16:13:16 CEST] "GET /bogus.css HTTP/1.1" 404 418
Referer -> /bogus.css
[2010-06-23 16:13:16] ERROR ArgumentError: negative length -41 given
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:546:in `parse_multipart'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:499:in `loop'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:499:in `parse_multipart'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/request.rb:270:in `parse_multipart'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/request.rb:148:in `POST'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/request.rb:167:in `params'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:408:in `call!'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/content_length.rb:13:in `call'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52:in `service'
/usr/local/jruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/jruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler/webrick.rb:13:in `run'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:41:in `run!'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:9:in `run_async'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:9:in `initialize'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:9:in `new'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:9:in `run_async'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/spec_helper.rb:66:in `start_server'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/spec_helper.rb:23:in `execute'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/spec_helper.rb:16
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/spec_helper.rb:31:in `require'
/usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/browser_authentication_spec.rb:1
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/browser_authentication_spec.rb:15:in `load'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:14:in `each'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:133:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:19:in `load'
/usr/local/jruby/bin/spec:19
192.168.1.6 - - [23/Jun/2010:16:13:16 CEST] "POST /post_to_me HTTP/1.1" 500 303
Referer -> /post_to_me
- clicks the button if it exists (FAILED - 3)
- fires events
- raises UnknownObjectException when clicking a button that doesn't exist
- raises ObjectDisabledException when clicking a disabled button
Buttons#length
- returns the number of buttons
Buttons#[]
- returns the button at the given index
Buttons#first
- returns the first element in the collection
Buttons#last
- returns the last element in the collection
Buttons#each
- iterates through buttons correctly
CheckBox#exists?
- returns true if the checkbox button exists
- returns true if the element exists (default how = :name)
- returns true if the checkbox button exists (search by name and value)
- returns false if the checkbox button does not exist
- returns false if the checkbox button does not exist (search by name and value)
- returns true for checkboxs with a string value
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
CheckBox#class_name
- returns the class name if the checkbox exists and has an attribute
- returns an emptry string if the checkbox exists and the attribute doesn't
- raises UnknownObjectException if the checkbox doesn't exist
CheckBox#id
- returns the id attribute if the checkbox exists and has an attribute
- returns an emptry string if the checkbox exists and the attribute doesn't
- raises UnknownObjectException if the checkbox doesn't exist
CheckBox#name
- returns the name attribute if the checkbox exists
- returns an empty string if the checkbox exists and the attribute doesn't
- raises UnknownObjectException if the checkbox doesn't exist
CheckBox#title
- returns the title attribute if the checkbox exists
- returns an emptry string if the checkbox exists and the attribute doesn't
- raises UnknownObjectException if the checkbox doesn't exist
CheckBox#type
- returns the type attribute if the checkbox exists
- raises UnknownObjectException if the checkbox doesn't exist
CheckBox#value
- returns the value attribute if the checkbox exists
- raises UnknownObjectException if the checkbox doesn't exist
CheckBox#respond_to?
- returns true for all attribute methods
CheckBox#enabled?
- returns true if the checkbox button is enabled
- returns false if the checkbox button is disabled
- raises UnknownObjectException if the checkbox button doesn't exist
CheckBox#disabled?
- returns true if the checkbox is disabled
- returns false if the checkbox is enabled
- raises UnknownObjectException if the checkbox doesn't exist
CheckBox#clear
- raises ObjectDisabledException if the checkbox is disabled
- clears the checkbox button if it is set
- clears the checkbox button when found by :xpath
- raises UnknownObjectException if the checkbox button doesn't exist
CheckBox#set
- sets the checkbox button
- sets the checkbox button when found by :xpath
- fires the onclick event
- raises UnknownObjectException if the checkbox button doesn't exist
- raises ObjectDisabledException if the checkbox is disabled
CheckBox#set?
- returns true if the checkbox button is set
- returns false if the checkbox button unset
- returns the state for checkboxs with string values
- raises UnknownObjectException if the checkbox button doesn't exist
CheckBoxes#length
- returns the number of checkboxes
CheckBoxes#[]
- returns the checkbox at the given index
CheckBoxes#each
- iterates through checkboxes correctly
Dd#exists?
- returns true if the element exists
- returns false if the element does not exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Dd#class_name
- returns the class attribute if the element exists
- returns an empty string if the element exists but the attribute doesn't
- raises UnknownObjectException if the element does not exist
Dd#id
- returns the id attribute if the element exists
- returns an empty string if the element exists, but the attribute doesn't
- raises UnknownObjectException if the element does not exist
Dd#title
- returns the title of the element
Dd#text
- returns the text of the element
- returns an empty string if the element exists but contains no text
- raises UnknownObjectException if the element does not exist
Dd#respond_to?
- returns true for all attribute methods
Dd#click
- fires events when clicked
- raises UnknownObjectException if the element does not exist
Dd#html
- returns the HTML of the element
Dd#to_s
- returns a human readable representation of the element
Dds#length
- returns the number of dds
Dds#[]
- returns the dd at the given index
Dds#each
- iterates through dds correctly
Div#exists?
- returns true if the element exists
- returns true if the element exists (default how = :id)
- returns false if the element does not exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Div#class_name
- returns the class attribute if the element exists
- returns an empty string if the element exists but the attribute doesn't
- raises UnknownObjectException if the element does not exist
Div#id
- returns the id attribute if the element exists
- returns an empty string if the element exists, but the attribute doesn't
- raises UnknownObjectException if the element does not exist
- should take all conditions into account when locating by id
Div#name
- returns the name attribute if the element exists
- returns an empty string if the element exists but the attribute doesn't
- raises UnknownObjectException if the element does not exist
Div#style
- returns the style attribute if the element exists
- returns an empty string if the element exists but the attribute doesn't
- raises UnknownObjectException if the element does not exist
Div#text
- returns the text of the div
- returns an empty string if the element exists but contains no text
- returns an empty string if the div is hidden
- raises UnknownObjectException if the element does not exist
Div#value
- returns the value attribute if the element exists
- returns an empty string if the element exists but the attribute doesn't
- raises UnknownObjectException if the element does not exist
Div#respond_to?
- returns true for all attribute methods
Div#click
- fires events when clicked
- raises UnknownObjectException if the element does not exist
Div#double_click
- fires the ondblclick event
Div#right_click
- fires the oncontextmenu event
Div#html
- returns the HTML of the element
Div#to_s
- returns a human readable representation of the element
Divs#length
- returns the number of divs
Divs#[]
- returns the div at the given index
Divs#each
- iterates through divs correctly
Dl#exists?
- returns true if the element exists
- returns false if the element does not exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Dl#class_name
- returns the class attribute if the element exists
- returns an empty string if the element exists but the attribute doesn't
- raises UnknownObjectException if the element does not exist
Dl#id
- returns the id attribute if the element exists
- returns an empty string if the element exists, but the attribute doesn't
- raises UnknownObjectException if the element does not exist
Dl#title
- returns the id attribute if the element exists
Dl#text
- returns the text of the element
- returns an empty string if the element exists but contains no text
- raises UnknownObjectException if the element does not exist
Dl#respond_to?
- returns true for all attribute methods
Dl#click
- fires events when clicked
- raises UnknownObjectException if the element does not exist
Dl#html
- returns the HTML of the element
Dl#to_s
- returns a human readable representation of the element
Dls#length
- returns the number of dls
Dls#[]
- returns the dl at the given index
Dls#each
- iterates through dls correctly
Dt#exists?
- returns true if the element exists
- returns false if the element does not exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Dt#class_name
- returns the class attribute if the element exists
- returns an empty string if the element exists but the attribute doesn't
- raises UnknownObjectException if the element does not exist
Dt#id
- returns the id attribute if the element exists
- returns an empty string if the element exists, but the attribute doesn't
- raises UnknownObjectException if the element does not exist
Dt#title
- returns the title of the element
Dt#text
- returns the text of the element
- returns an empty string if the element exists but contains no text
- raises UnknownObjectException if the element does not exist
Dt#respond_to?
- returns true for all attribute methods
Dt#click
- fires events when clicked
- raises UnknownObjectException if the element does not exist
Dt#html
- returns the HTML of the element
Dt#to_s
- returns a human readable representation of the element
Dts#length
- returns the number of dts
Dts#[]
- returns the dt at the given index
Dts#each
- iterates through dts correctly
Element.new
- finds elements matching the conditions when given a hash of :how => 'what' arguments
- raises UnknownObjectException with a sane error message when given a hash of :how => 'what' arguments (non-existing object)
- raises ArgumentError if given the wrong number of arguments
Element#focus
- fires the onfocus event for the given element
Element#fire_event
- should fire the given event
Element#parent
- gets the parent of this element
Element#visible?
- returns true if the element is visible
- returns false if the element is input element where type == 'hidden'
- returns false if the element has style='display: none;'
- returns false if the element has style='visibility: hidden;
- returns false if one of the parent elements is hidden
Element#exist?
- doesn't raise when called on nested elements
Em#exists?
- returns true if the element exists
- returns false if the element does not exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Em#class_name
- returns the class attribute if the element exists
- raises UnknownObjectException if the element does not exist
Em#id
- returns the id attribute if the element exists
- raises UnknownObjectException if the element does not exist
Em#title
- returns the title of the element
Em#text
- returns the text of the element
- raises UnknownObjectException if the element does not exist
Em#respond_to?
- returns true for all attribute methods
Em#click
- raises UnknownObjectException if the element does not exist
Em#to_s
- returns a human readable representation of the element
Ems#length
- returns the number of ems
Ems#[]
- returns the em at the given index
Ems#each
- iterates through ems correctly
FileField#exist?
- returns true if the file field exists
- returns true if the element exists (default how = :name)
- returns false if the file field doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
FileField#class_name
- returns the class attribute if the text field exists
- raises UnknownObjectException if the text field doesn't exist
FileField#id
- returns the id attribute if the text field exists
- raises UnknownObjectException if the text field doesn't exist
FileField#name
- returns the name attribute if the text field exists
- raises UnknownObjectException if the text field doesn't exist
FileField#title
- returns the title attribute if the text field exists
FileField#type
- returns the type attribute if the text field exists
- raises UnknownObjectException if the text field doesn't exist
FileField#respond_to?
- returns true for all attribute methods
FileField#set
192.168.1.6 - - [23/Jun/2010:16:13:18 CEST] "GET /bogus.css HTTP/1.1" 404 418
Referer -> /bogus.css
[2010-06-23 16:13:18] ERROR ArgumentError: negative length -39 given
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:546:in `parse_multipart'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:499:in `loop'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:499:in `parse_multipart'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/request.rb:270:in `parse_multipart'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/request.rb:148:in `POST'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/request.rb:167:in `params'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:408:in `call!'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:399:in `call'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/content_length.rb:13:in `call'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52:in `service'
/usr/local/jruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/jruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/jruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler/webrick.rb:13:in `run'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:41:in `run!'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:9:in `run_async'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:9:in `initialize'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:9:in `new'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/server.rb:9:in `run_async'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/spec_helper.rb:66:in `start_server'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/lib/spec_helper.rb:23:in `execute'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/spec_helper.rb:16
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/spec_helper.rb:31:in `require'
/usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/browser_authentication_spec.rb:1
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/browser_authentication_spec.rb:15:in `load'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:15:in `load_files'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:14:in `each'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:14:in `load_files'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:133:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:19:in `load'
/usr/local/jruby/bin/spec:19
192.168.1.6 - - [23/Jun/2010:16:13:18 CEST] "POST /post_to_me HTTP/1.1" 500 303
Referer -> /post_to_me
- is able to set a file path in the field and click the upload button and fire the onchange event (FAILED - 4)
FileFields#length
- returns the correct number of file fields
FileFields#[]
- returns the file field at the given index
FileFields#each
- iterates through file fields correctly
Form#exists?
- returns true if the form exists
- returns true if the element exists (default how = :name)
- returns false if the form doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Forms#length
- returns the number of forms in the container
Forms#[]n
- provides access to the nth form
Forms#each
- iterates through forms correctly
Frame
- handles crossframe javascript
- raises UnknownFrameException when accessing elements inside non-existing frame
- raises UnknownFrameException when accessing a non-existing frame
- raises UnknownFrameException when accessing a non-existing subframe
- raises UnknownObjectException when accessing a non-existing element inside an existing frame
- raises NoMethodError when trying to access attributes it doesn't have
- is able to send a value to another frame by using Javascript
- is able to set a field
Frame#exist?
- returns true if the frame exists
- returns true if the iframe exists
- returns true if the element exists (default how = :name)
- returns false if the frame doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Frame#contains_text
- finds text in a frame
- raises TypeError when given an invalid argument
Frame#execute_script
- executes the given javascript in the specified frame
Frame#to_s
- returns a human readable representation of the frame
Frame#elements_by_xpath
- returns an Array of matching elements
- returns an empty Array if there are no matching elements
<frame> Frames#length
- returns the correct number of frames
<frame> Frames#[]
- returns the frame at the given index
<frame> Frames#each
- iterates through frames correctly
<iframe> Frames#length
- returns the correct number of frames
<iframe> Frames#[]
- returns the frame at the given index
<iframe> Frames#each
- iterates through frames correctly
Hidden#exists?
- returns true if the element exists
- returns true if the element exists (default how = :name)
- returns false if the element does not exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Hidden#id
- returns the id attribute if the text field exists
- raises UnknownObjectException if the text field doesn't exist
Hidden#name
- returns the name attribute if the text field exists
- raises UnknownObjectException if the text field doesn't exist
Hidden#type
- returns the type attribute if the text field exists
- raises UnknownObjectException if the text field doesn't exist
Hidden#value
- returns the value attribute if the text field exists
- raises UnknownObjectException if the text field doesn't exist
Hidden#respond_to?
- returns true for all attribute methods
Hidden#value=
- sets the value of the element
- raises UnknownObjectException if the text field doesn't exist
Hiddens#length
- returns the number of hiddens
Hiddens#[]
- returns the Hidden at the given index
Hiddens#each
- iterates through hiddens correctly
H1 H2 H3 H4 H5 H6#exist?
- returns true if the element exists
- returns true if the element exists (default how = :id)
- returns true if the element exists
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
H1 H2 H3 H4 H5 H6#class_name
- returns the class attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the p doesn't exist
H1 H2 H3 H4 H5 H6#id
- returns the id attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the p doesn't exist
H1 H2 H3 H4 H5 H6#text
- returns the text of the element
- returns an empty string if the element doesn't contain any text
- raises UnknownObjectException if the p doesn't exist
H1 H2 H3 H4 H5 H6#respond_to?
- returns true for all attribute methods
H1s H2s H3s H4s H5s H6s#length
- returns the number of h1s
H1s H2s H3s H4s H5s H6s#[]
- returns the h1 at the given index
H1s H2s H3s H4s H5s H6s#each
- iterates through header collections correctly
Image
- raises UnknownObjectException if the image doesn't exist
Image#exists?
- returns true when the image exists
- returns true if the element exists (default how = :src)
- returns false when the image doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Image#alt
- returns the alt attribute of the image if the image exists
- returns an empty string if the image exists and the attribute doesn't
- raises UnknownObjectException if the image doesn't exist
Image#id
- returns the id attribute of the image if the image exists
- returns an empty string if the image exists and the attribute doesn't
- raises UnknownObjectException if the image doesn't exist
Image#name
- returns the name attribute of the image if the image exists
- returns an empty string if the image exists and the attribute doesn't
- raises UnknownObjectException if the image doesn't exist
Image#src
- returns the src attribute of the image if the image exists
- returns an empty string if the image exists and the attribute doesn't
- raises UnknownObjectException if the image doesn't exist
Image#title
- returns the title attribute of the image if the image exists
- returns an empty string if the image exists and the attribute doesn't
- raises UnknownObjectException if the image doesn't exist
Image#respond_to?
- returns true for all attribute methods
Image#click
- raises UnknownObjectException when the image doesn't exist
Image#file_created_date
192.168.1.6 - - [23/Jun/2010:16:13:19 CEST] "GET /images.html HTTP/1.1" 200 1408
- -> /images.html
192.168.1.6 - - [23/Jun/2010:16:13:19 CEST] "GET /images/1.gif HTTP/1.1" 200 970
Referer -> /images/1.gif
- returns the date the image was created as reported by the file system
Image#file_size
- returns the file size of the image if the image exists
Image#height
- returns the height of the image if the image exists
- raises UnknownObjectException if the image doesn't exist
Image#width
- returns the width of the image if the image exists
- raises UnknownObjectException if the image doesn't exist
Image#loaded?
- returns true if the image has been loaded
- returns false if the image has not been loaded
- raises UnknownObjectException if the image doesn't exist
Image#save
- saves the image to a file
Images#length
- returns the number of images
Images#[]
- returns the image at the given index
Images#each
- iterates through images correctly
Label#exists?
- returns true if the element exists
- returns true if the element exists (default how = :text)
- returns false if the element does not exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Label click
- fires the onclick event
Label#id
- returns the id attribute if the label exists
- raises UnknownObjectException if the label doesn't exist
Label#for
- returns the 'for' attribute if the label exists
- raises UnknownObjectException if the label doesn't exist
Label#respond_to?
- returns true for all attribute methods
Labels#length
- returns the number of labels
Labels#[]
- returns the pre at the given index
Labels#each
- iterates through labels correctly
Li#exist?
- returns true if the 'li' exists
- returns true if the element exists (default how = :id)
- returns false if the 'li' doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Li#class_name
- returns the class attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the li doesn't exist
Li#id
- returns the id attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the li doesn't exist
Li#title
- returns the title attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the li doesn't exist
Li#text
- returns the text of the p
- returns an empty string if the element doesn't contain any text
- raises UnknownObjectException if the li doesn't exist
Li#respond_to?
- returns true for all attribute methods
Li#to_s
- returns a human readable representation of the element
- raises UnknownObjectException if the li doesn't exist
Link#exist?
- returns true if the link exists
- returns true if the element exists (default how = :href)
- strips spaces from URL attributes when locating elements
- returns false if the link doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Link#class_name
- returns the type attribute if the link exists
- returns an empty string if the link exists and the attribute doesn't
- raises an UnknownObjectException if the link doesn't exist
Link#href
- returns the href attribute if the link exists
- returns an empty string if the link exists and the attribute doesn't
- raises an UnknownObjectException if the link doesn't exist
Link#url
- returns the href attribute
Link#id
- returns the id attribute if the link exists
- returns an empty string if the link exists and the attribute doesn't
- raises an UnknownObjectException if the link doesn't exist
Link#name
- returns the name attribute if the link exists
- returns an empty string if the link exists and the attribute doesn't
- raises an UnknownObjectException if the link doesn't exist
Link#text
- returns the link text
- returns an empty string if the link exists and contains no text
- raises an UnknownObjectException if the link doesn't exist
Link#title
- returns the type attribute if the link exists
- returns an empty string if the link exists and the attribute doesn't
- raises an UnknownObjectException if the link doesn't exist
Link#respond_to?
- returns true for all attribute methods
Link#click
- finds an existing link by (:text, String) and click it
- finds an existing link by (:text, Regexp) and click it
- finds an existing link by (:index, Integer) and click it
- raises an UnknownObjectException if the link doesn't exist
Links#length
- returns the number of links
Links#[]
- returns the link at the given index
- returns a Link object also when the index is out of bounds
Links#each
- iterates through links correctly
Lis#length
- returns the number of lis
Lis#[]
- returns the p at the given index
Lis#each
- iterates through lis correctly
Map#exist?
- returns true if the 'map' exists
- returns true if the element exists (default how = :id)
- returns false if the 'map' doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Map#id
- returns the id attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the p doesn't exist
Map#name
- returns the name attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the p doesn't exist
Map#respond_to?
- returns true for all attribute methods
Map#to_s
- returns a human readable representation of the element
- raises UnknownObjectException if the p doesn't exist
Maps#length
- returns the number of maps
Maps#[]
- returns the p at the given index
Maps#each
- iterates through maps correctly
Meta#exist?
- returns true if the meta tag exists
Meta content
- returns the content attribute of the tag
Metas#length
- returns the number of meta elements
Metas#[]
- returns the meta element at the given index
Metas#each
- iterates through meta elements correctly
Ol#exist?
- returns true if the 'ol' exists
- returns true if the element exists (default how = :id)
- returns false if the 'ol' doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Ol#class_name
- returns the class attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the ol doesn't exist
Ol#id
- returns the id attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the ol doesn't exist
Ol#respond_to?
- returns true for all attribute methods
Ols#length
- returns the number of ols
Ols#[]
- returns the ol at the given index
Ols#each
- iterates through ols correctly
Option#exists?
- returns true if the element exists (page context)
- returns true if the element exists (select_list context)
- returns true if the element exists (default how = :text)
- returns false if the element does not exist (page context)
- returns false if the element does not exist (select_list context)
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Option#select
- selects the chosen option (page context)
- selects the chosen option (select_list context)
- selects the option when found by text (page context)
- selects the option when found by text (select_list context)
- fires the onclick event (page context)
- fires onclick event (select_list context)
- raises UnknownObjectException if the option does not exist (page context)
- raises UnknownObjectException if the option does not exist (select_list context)
- raises MissingWayOfFindingObjectException when given a bad 'how' (page context)
- raises MissingWayOfFindingObjectException when given a bad 'how' (select_list context)
Option#class_name
- is able to get attributes (page context)
- is able to get attributes (select_list context)
Option#respond_to?
- returns true for all attribute methods
P#exist?
- returns true if the 'p' exists
- returns true if the element exists (default how = :id)
- returns false if the 'p' doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
P#class_name
- returns the class attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the p doesn't exist
P#id
- returns the id attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the p doesn't exist
P#name
- returns the name attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the p doesn't exist
P#title
- returns the title attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the p doesn't exist
P#text
- returns the text of the p
- returns an empty string if the element doesn't contain any text
- raises UnknownObjectException if the p doesn't exist
P#value
- returns the value attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the p doesn't exist
P#respond_to?
- returns true for all attribute methods
P#to_s
- returns a human readable representation of the element
- raises UnknownObjectException if the p doesn't exist
Pre#exist?
- returns true if the 'p' exists
- returns true if the element exists (default how = :id)
- returns false if the 'p' doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Pre#class_name
- returns the class attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the p doesn't exist
Pre#id
- returns the id attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the p doesn't exist
Pre#title
- returns the title attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the p doesn't exist
Pre#text
- returns the text of the p
- returns an empty string if the element doesn't contain any text
- raises UnknownObjectException if the p doesn't exist
Pre#respond_to?
- returns true for all attribute methods
Pre#to_s
- returns a human readable representation of the element
- raises UnknownObjectException if the p doesn't exist
Pres#length
- returns the number of pres
Pres#[]
- returns the pre at the given index
Pres#each
- iterates through pres correctly
Ps#length
- returns the number of ps
Ps#[]
- returns the p at the given index
Ps#each
- iterates through ps correctly
Radio#exists?
- returns true if the radio button exists
- returns true if the element exists (default how = :name)
- returns true if the radio button exists (search by name and value)
- returns false if the radio button does not exist
- returns false if the radio button does not exist (search by name and value)
- returns true for radios with a string value
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Radio#class_name
- returns the class name if the radio exists and has an attribute
- returns an emptry string if the radio exists and the attribute doesn't
- raises UnknownObjectException if the radio doesn't exist
Radio#id
- returns the id attribute if the radio exists and has an attribute
- returns an emptry string if the radio exists and the attribute doesn't
- raises UnknownObjectException if the radio doesn't exist
Radio#name
- returns the name attribute if the radio exists
- returns an empty string if the radio exists and the attribute doesn't
- raises UnknownObjectException if the radio doesn't exist
Radio#title
- returns the title attribute if the radio exists
- returns an emptry string if the radio exists and the attribute doesn't
- raises UnknownObjectException if the radio doesn't exist
Radio#type
- returns the type attribute if the radio exists
- raises UnknownObjectException if the radio doesn't exist
Radio#value
- returns the value attribute if the radio exists
- raises UnknownObjectException if the radio doesn't exist
Radio#respond_to?
- returns true for all attribute methods
Radio#enabled?
- returns true if the radio button is enabled
- returns false if the radio button is disabled
- raises UnknownObjectException if the radio button doesn't exist
Radio#disabled?
- returns true if the radio is disabled
- returns false if the radio is enabled
- raises UnknownObjectException if the radio doesn't exist
Radio#clear
- clears the radio button if it is set
- clears the radio button when found by :xpath
- raises UnknownObjectException if the radio button doesn't exist
- raises ObjectDisabledException if the radio is disabled
Radio#set
- sets the radio button
- sets the radio button when found by :xpath
- fires the onclick event
- fires the onchange event
- raises UnknownObjectException if the radio button doesn't exist
- raises ObjectDisabledException if the radio is disabled
Radio#set?
- returns true if the radio button is set
- returns false if the radio button unset
- returns the state for radios with string values
- raises UnknownObjectException if the radio button doesn't exist
Radios#length
- returns the number of radios
Radios#[]
- returns the radio button at the given index
Radios#each
- iterates through radio buttons correctly
SelectList#exists?
- returns true if the select list exists
- returns true if the element exists (default how = :name)
- returns false if the select list doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
SelectList#class_name
- returns the class name of the select list
- raises UnknownObjectException if the select list doesn't exist
SelectList#id
- returns the id of the element
- raises UnknownObjectException if the select list doesn't exist
SelectList#name
- returns the name of the element
- raises UnknownObjectException if the select list doesn't exist
SelectList#type
- returns the type of the element
- raises UnknownObjectException if the select list doesn't exist
SelectList#value
- returns the value of the selected option
- raises UnknownObjectException if the select list doesn't exist
SelectList#respond_to?
- returns true for all attribute methods
SelectList#enabled?
- returns true if the select list is enabled
- returns false if the select list is disabled
- raises UnknownObjectException if the select_list doesn't exist
SelectList#disabled?
- returns true if the select list is disabled
- returns false if the select list is enabled
- shoulds raise UnknownObjectException when the select list does not exist
SelectList#option
- returns an instance of Option
SelectList#options
- shoulds raise UnknownObjectException if the select list doesn't exist
- returns all the options as an Array
SelectList#selected_options
- shoulds raise UnknownObjectException if the select list doesn't exist
- gets the currently selected item(s)
SelectList#clear
- clears the selection when possible
- does not clear selections when not possible
- raises UnknownObjectException if the select list doesn't exist
SelectList#includes?
- returns true if the given option exists
- returns false if the given option doesn't exist
SelectList#selected?
- returns true if the given option is selected
- returns false if the given option is not selected
- raises UnknonwObjectException if the option doesn't exist
SelectList#select
- selects the given item when given a String
- selects options by label
- selects the given item when given a Regexp
- selects the given item when given an Xpath
- selects multiple items using :name and a String
- selects multiple items using :name and a Regexp
- selects multiple items using :xpath
- selects empty options
- returns the value selected
- returns the first matching value if there are multiple matches
- fires onchange event when selecting an item
- doesn't fire onchange event when selecting an already selected item
- raises NoValueFoundException if the option doesn't exist
SelectList#select_value
- selects the item by value string
- selects the items by value regexp
- raises NoValueFoundException if the option doesn't exist
SelectLists#length
- returns the correct number of select lists on the page
SelectLists#[]
- returns the correct item
SelectLists#each
- iterates through the select lists correctly
Span#exist?
- returns true if the 'span' exists
- returns true if the element exists (default how = :id)
- returns false if the element doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Span#class_name
- returns the class attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the span doesn't exist
Span#id
- returns the id attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the span doesn't exist
Span#name
- returns the name attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the span doesn't exist
Span#title
- returns the title attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the span doesn't exist
Span#text
- returns the text of the span
- returns an empty string if the element doesn't contain any text
- raises UnknownObjectException if the span doesn't exist
Span#value
- returns the value attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the span doesn't exist
Span#respond_to?
- returns true for all attribute methods
Span#click
- fires events
- raises UnknownObjectException if the span doesn't exist
Span#to_s
- returns a human readable representation of the element
- raises UnknownObjectException if the p doesn't exist
Spans#length
- returns the number of spans
Spans#[]
- returns the p at the given index
Spans#each
- iterates through spans correctly
Spans#to_s
- returns a human readable representation of the collection
Strong#exist?
- returns true if the element exists
- returns true if the element exists (default how = :id)
- returns false if the element doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Strong#class_name
- returns the class attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the element doesn't exist
Strong#id
- returns the id attribute
- raises UnknownObjectException if the element doesn't exist
Strong#text
- returns the text of the element
- raises UnknownObjectException if the element doesn't exist
Strong#respond_to?
- returns true for all attribute methods
Strongs#length
- returns the number of divs
Strongs#[]
- returns the div at the given index
Strongs#each
- iterates through divs correctly
TableBodies#length
- returns the correct number of table bodies (page context)
- returns the correct number of table bodies (table context)
TableBodies#[]
- returns the row at the given index (page context)
- returns the row at the given index (table context)
TableBodies#each
- iterates through table bodies correctly (table context)
- iterates through table bodies correctly (table context)
TableBody#exists?
- returns true if the table body exists (page context)
- returns true if the table body exists (table context)
- returns true if the element exists (default how = :id)
- returns false if the table body doesn't exist (page context)
- returns false if the table body doesn't exist (table context)
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
TableBody#length
- returns the correct number of table bodies (page context)
- returns the correct number of table bodies (table context)
TableBody#[]
- returns the row at the given index (page context)
- returns the row at the given index (table context)
TableBody#each
- iterates through rows correctly
TableCell#exists?
- returns true when the table cell exists
- returns true if the element exists (default how = :id)
- returns false when the table cell does not exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
TableCell#click
- fires the table's onclick event
TableCell#text
- returns the text inside the table cell
TableCell#colspan
- gets the colspan attribute
TableCell#respond_to?
- returns true for all attribute methods
TableCells#each
- iterates through cells correctly
TableFooter#exists?
- returns true if the table tfoot exists (page context)
- returns true if the table tfoot exists (table context)
- returns true if the element exists (default how = :id)
- returns false if the table tfoot doesn't exist (page context)
- returns false if the table tfoot doesn't exist (table context)
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
TableFooter#length
- returns the correct number of table footers (page context)
- returns the correct number of table footers (table context)
TableFooter#[]
- returns the row at the given index (page context)
- returns the row at the given index (table context)
TableFooter#each
- iterates through rows correctly
TableFooters#length
- returns the correct number of table tfoots (page context)
- returns the correct number of table tfoots (table context)
TableFooters#[]
- returns the row at the given index (page context)
- returns the row at the given index (table context)
TableFooters#each
- iterates through table tfoots correctly (page context)
- iterates through table tfoots correctly (table context)
TableHeader#exists?
- returns true if the table theader exists (page context)
- returns true if the table theader exists (table context)
- returns true if the element exists (default how = :id)
- returns false if the table theader doesn't exist (page context)
- returns false if the table theader doesn't exist (table context)
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
TableHeader#length
- returns the correct number of table bodies (page context)
- returns the correct number of table bodies (table context)
TableHeader#[]
- returns the row at the given index (page context)
- returns the row at the given index (table context)
TableHeader#each
- iterates through rows correctly
TableHeaders#length
- returns the correct number of table theads (page context)
- returns the correct number of table theads (table context)
TableHeaders#[]
- returns the row at the given index (page context)
- returns the row at the given index (table context)
TableHeaders#each
- iterates through table theads correctly (page context)
- iterates through table theads correctly (table context)
TableRow#exists?
- returns true if the table row exists
- returns true if the element exists (default how = :id)
- returns false if the table row doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
TableRow#click
- fires the rows's onclick event
TableRow#column_count
- returns the number of columns (cells) in the row
TableRow#length
- returns the number of rows
TableRow#[]
- returns the nth cell of the parent row
- raises UnknownCellException if the index is out of bounds
TableRow#child_cell
- returns the nth cell of the parent row
- raises UnknownCellException if the index is out of bounds
TableRow#each
- iterates correctly through the cells of the row
TableRows#length
- returns the correct number of cells (table context)
- returns the correct number of cells (page context)
TableRows#[]
- returns the row at the given index (table context)
- returns the row at the given index (page context)
TableRows#each
- iterates through rows correctly
Table#exists?
- returns true if the table exists
- returns true if the element exists (default how = :id)
- returns false if the table does not exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Table#locate
- is not nil for existing tables
Table#to_a
- returns a two-dimensional array representation of the table
Table#click
- fires the table's onclick event
Table#row_count
- counts the number of rows correctly
- raises an UnknownObjectException if the table doesn't exist
Table#row_values
- gets row values
Table#column_count
- counts the number of columns correctly
- raises an UnknownObjectException if the table doesn't exist
Table#column_values
- gets column values
- raises UnknownCellException when trying to locate non-existing cell
Table#[]
- returns the nth child row
- raises UnknownRowException if the index is out of bounds
Table#child_row
- returns the nth child row
- raises UnknownRowException if the index is out of bounds
Table#child_cell
- returns the nth child row
- raises UnknownCellException if the index is out of bounds
Table#each
- iterates through the table's rows
Table#body
- returns the correct instance of TableBody
Table#bodies
- returns the correct instance of TableBodies
Tables#length
- returns the number of tables
Tables#[]
- returns the p at the given index
Tables#each
- iterates through tables correctly
TextField#exists?
- returns true if the element exists
- returns true if the element exists (default how = :name)
- returns true if the element exists (no type attribute)
- returns true if the element exists (invalid type attribute)
- returns false if the element does not exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
TextField#id
- returns the id attribute if the text field exists
- raises UnknownObjectException if the text field doesn't exist
TextField#name
- returns the name attribute if the text field exists
- raises UnknownObjectException if the text field doesn't exist
TextField#title
- returns the title attribute if the text field exists
- raises UnknownObjectException if the text field doesn't exist
TextField#type
- returns the type attribute if the text field exists
- returns 'text' if the type attribute is invalid
- returns 'text' if the type attribute does not exist
- raises UnknownObjectException if the text field doesn't exist
TextField#value
- returns the value attribute if the text field exists
- raises UnknownObjectException if the text field doesn't exist
TextField#respond_to?
- returns true for all attribute methods
TextField#enabled?
- returns true for enabled text fields
- returns false for disabled text fields
- raises UnknownObjectException if the text field doesn't exist
TextField#disabled?
- returns true if the text field is disabled
- returns false if the text field is enabled
- raises UnknownObjectException if the text field doesn't exist
TextField#readonly?
- returns true for read-only text fields
- returns false for writeable text fields
- raises UnknownObjectException if the text field doesn't exist
TextField#append
- appends the text to the text field
- appends multi-byte characters
- raises ObjectReadOnlyException if the object is read only
- raises ObjectDisabledException if the object is disabled
- raises UnknownObjectException if the object doesn't exist
TextField#clear
- removes all text from the text field
- raises UnknownObjectException if the text field doesn't exist
TextField#drag_contents_to
- drags contents to another text field
- raises UnknownObjectException if either of the text fields doesn't exist
TextField#value=
- sets the value of the element
- is able to set multi-byte characters
- sets the value of a textarea element
- raises UnknownObjectException if the text field doesn't exist
TextField#set
- sets the value of the element
- sets the value of a textarea element
- fires events
- sets the value of a password field
- sets the value when accessed through the enclosing Form
- is able to set multi-byte characters
- raises UnknownObjectException if the text field doesn't exist
TextField#verify_contains
- verifys that a text field contains its value
- doesn't verify that a text field contains a non-existing value
- raises UnknownObjectException if the text field doesn't exist
TextFields#length
- returns the number of text fields
TextFields#[]
- returns the text field at the given index
TextFields#each
- iterates through text fields correctly
Ul#exist?
- returns true if the 'ul' exists
- returns true if the element exists (default how = :id)
- returns false if the 'ul' doesn't exist
- raises TypeError when 'what' argument is invalid
- raises MissingWayOfFindingObjectException when 'how' argument is invalid
Ul#class_name
- returns the class attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the ul doesn't exist
Ul#id
- returns the id attribute
- returns an empty string if the element exists and the attribute doesn't
- raises UnknownObjectException if the ul doesn't exist
Ul#respond_to?
- returns true for all attribute methods
Uls#length
- returns the number of uls
Uls#[]
- returns the ul at the given index
Uls#each
- iterates through uls correctly
IE
- responds to .speed
- responds to .speed=
- responds to .attach_timeout
- responds to .attach_timeout=
- responds to .visible
- responds to .each
- responds to .start
- responds to #visible
- responds to #visible=
- responds to #wait
IE#bring_to_front
- returns true
IE#checkBox
- behaves like #checkbox
Image#hasLoaded?
- behaves like #loaded?
Image#fileSize
- behaves like #file_size
Image#fileCreatedDate
- behaves like #file_created_date
RadioCheckCommon#isSet?
- behaves like #set?
RadioCheckCommon#getState
- behaves like #set?
SelectList#getSelectedItems
- behaves like #selected_options
SelectList#getAllContents
- behaves like #options
SelectList#clearSelection
- behaves like #clear
TextField#dragContentsTo
- behaves like #drag_contents_to
TextField#getContents
- behaves like #get_contents
TextField#requires_typing
- responds to the method
1)
'Browser#html does not fail for huge pages' FAILED
expected "" to include "hello</body>"
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/expectations/handler.rb:21:in `handle_matcher'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/expectations/extensions/kernel.rb:27:in `should'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/browser_spec.rb:83:
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in `each'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:19:in `load'
/usr/local/jruby/bin/spec:19:
2)
Celerity::Exception::NavigationException in 'Button#click_no_wait behaves like #click'
com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Internal Server Error for http://0.0.0.0:2000/post_to_me
/Users/wincent/trabajo/vendor/celerity/celerity.git/lib/celerity/clickable_element.rb:10:in `click'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watir_compatibility_spec.rb:11:
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in `each'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:19:in `load'
/usr/local/jruby/bin/spec:19:
3)
Celerity::Exception::NavigationException in 'Button#click clicks the button if it exists'
com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Internal Server Error for http://0.0.0.0:2000/post_to_me
/Users/wincent/trabajo/vendor/celerity/celerity.git/lib/celerity/clickable_element.rb:10:in `click'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/button_spec.rb:226:
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in `each'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:19:in `load'
/usr/local/jruby/bin/spec:19:
4)
Celerity::Exception::NavigationException in 'FileField#set is able to set a file path in the field and click the upload button and fire the onchange event'
com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 Internal Server Error for http://0.0.0.0:2000/post_to_me
/Users/wincent/trabajo/vendor/celerity/celerity.git/lib/celerity/clickable_element.rb:10:in `click'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/filefield_spec.rb:117:
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in `each'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in `run_examples'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in `run'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:19:in `load'
/usr/local/jruby/bin/spec:19:
Finished in 22.656 seconds
1009 examples, 4 failures
WatirSpec guards for this implementation:
deviates : {:file=>"/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/div_spec.rb:148"}
not_compliant : {:file=>"/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/watirspec/form_spec.rb:61"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment