Index
A
- addEventListener function / Test pages – behold the power!
- Ajax
- about / Ajax and asynchronous JavaScript
- all method / Multiple matches, Refining finders and matchers
- all_cookies method / Accessing driver methods using browser.manage
- alt tag / Clicking on links or buttons
- app.rb file / Sinatra application file – app.rb
- assertion / Asserting and querying
- asynchronous JavaScript
- about / Ajax and asynchronous JavaScript, Capybara and asynchronous JavaScript
- methods / Methods that handle asynchronous JavaScript
- finders / Finders
- matchers / Matchers
- gotchas / Gotchas
- attribute values
- checking / Checking attribute values
- audioDebug object / Testing components "in situ"
- audio element / Exposing a testable API, Test pages – behold the power!
B
- browser.manage
- used, for accessing driver methods / Accessing driver methods using browser.manage
- Bundler
- about / Installing gems with Bundler
- gems, installing with / Installing gems with Bundler
- URL / Installing gems with Bundler
- used, for installing Capybara / Using Bundler
C
- Capybara
- installing / Installing Capybara
- installing, RubyGems used / Using RubyGems
- installing, Bundler used / Using Bundler
- CSS, using / Default selector in Capybara
- about / Capybara and Rack::Test, Capybara and asynchronous JavaScript
- using / Using Capybara outside of Cucumber
- used, modules included / Including the modules
- session, using / Using the session directly
- URL / Capybara and popular test frameworks
- Capybara-Celerity
- about / Capybara-Celerity
- URL / Capybara-Celerity
- Capybara-Mechanize
- about / Capybara-Mechanize
- URL / Capybara-Mechanize
- Capybara-WebKit
- about / Capybara-WebKit
- URL / Capybara-WebKit
- Capybara outside of Cucumber's world
- capybara_minitest_spec
- URL / MiniTest::Spec
- checkboxes / Checkboxes and radio buttons
- check method / Checkboxes and radio buttons
- choose method / Checkboxes and radio buttons
- class attribute / Gotchas
- click_on method / Finders, scoping, and multiple matches
- components
- testing, in situ / Testing components "in situ"
- computed styles / Using the native method
- CSS
- elements, locating with / Locating elements with XPath and CSS, A helping hand with selectors
- used, for Capybara / Default selector in Capybara
- Cucumber
- installing / Installing Cucumber and Selenium
- URL / Installing Cucumber and Selenium
- Cucumber-Rails / Cucumber-Rails
D
- Database Cleaner
- div element / Finders, scoping, and multiple matches, Checking attribute values, Testing components "in situ", Using the native method
- driver
- using / Which driver to use and when?
- accessing / Advanced interactions and accessing the driver directly
- native method, using / Using the native method
- driver configuration / Advanced driver configuration
- driver ecosystem
- Capybara-WebKit / Capybara-WebKit
- Poltergeist / Poltergeist
- Capybara-Mechanize / Capybara-Mechanize
- Capybara-Celerity / Capybara-Celerity
- driver methods
- accessing, browser.manage used / Accessing driver methods using browser.manage
E
- elements
- locating, with XPath / Locating elements with XPath and CSS, A helping hand with selectors
- locating, with CSS / Locating elements with XPath and CSS, A helping hand with selectors
- visibility / Element visibility
- evaluate_script method / Testing components "in situ"
- External Interface API
- URL / Flash
F
- $first option / Matching strategies
- field_labeled finder method / Finders, scoping, and multiple matches
- fill_in method / Your first scenario – a YouTube search
- finders
- refining / Refining finders and matchers
- find method / Finders, scoping, and multiple matches, Gotchas
- find_button finder method / Finders, scoping, and multiple matches
- find_by_id finder method / Finders, scoping, and multiple matches
- find_field finder method / Finders, scoping, and multiple matches
- find_link finder method / Finders, scoping, and multiple matches
- Firebug
- FirePath
- Flash
- about / Flash
- FlashVars
- URL / Flash
- form.erb / Form template – form.erb
- forms
- submitting / Submitting forms
- checkboxes / Checkboxes and radio buttons
- radio buttons / Checkboxes and radio buttons
G
- gems
- installing, with RubyGems / Installing gems with RubyGems
- installing, with Bundler / Installing gems with Bundler
- getElementById property / Exposing a testable API
- getElementsByTagName property / Exposing a testable API
- gotchas / Gotchas
H
- has_button? / Matchers and RSpec
- has_field? / Matchers and RSpec
- has_link? / Matchers and RSpec
- has_select? / Matchers and RSpec
- has_table? / Matchers and RSpec
- hover property / Advanced interactions and accessing the driver directly, Using the native method
I
- id attribute / Locating elements with XPath and CSS, Clicking on links or buttons, Submitting forms, Checkboxes and radio buttons, Checking attribute values
- inline style / Using the native method
- input element / Clicking on links or buttons
J
- jQuery library
L
- label element / Submitting forms
- Load Images button / Capybara and asynchronous JavaScript
- locator argument / Matchers and RSpec
M
- main class / Testing with Rack::Test
- matchers
- about / Matchers and RSpec
- refining / Refining finders and matchers
- MiniTest$$Spec / MiniTest::Spec
- modules
- including / Including the modules
- mouse.move_to method / Advanced interactions and accessing the driver directly
- multiple matches / Multiple matches
N
- name attribute / Your first scenario – a YouTube search, Submitting forms, Checkboxes and radio buttons
- native method / Advanced interactions and accessing the driver directly
- used, for accessing driver / Using the native method
- about / Using the native method
- navigation
- about / Navigation
- links, clicking / Clicking on links or buttons
- buttons, clicking / Clicking on links or buttons
- Nokogiri gem / Installing gems with Bundler
O
- $one option / Matching strategies
P
- $prefer_exact option / Matching strategies
- Page Object
- pages
- testing / Test pages – behold the power!
- Poltergeist
- about / Poltergeist
- URL / Poltergeist
Q
- query methods / Asserting and querying, Refining finders and matchers
R
- Rack
- Rack$$Test
- about / Capybara and Rack::Test
- testing with / Testing with Rack::Test
- Rack interface
- about / Understanding the Rack interface
- radio buttons / Checkboxes and radio buttons
- reset! method / Cucumber
- result.erb / Results template – result.erb
- Rhino
- URL / Capybara-Celerity
- RSpec
- URL / Your first scenario – a YouTube search
- about / Matchers and RSpec
- RSpec matchers
- using / Asserting and querying
- Ruby bindings
- Ruby DevKit
- installing, URL / Installing system libraries
- RubyGems
- about / Installing gems with RubyGems
- gems, installing with / Installing gems with RubyGems
- used, for installing Capybara / Using RubyGems
S
- $smart option / Matching strategies
- scoping / Scoping
- script tag / Locating elements with XPath and CSS
- Search button / Your first scenario – a YouTube search
- Selenium
- installing / Installing Cucumber and Selenium
- Selenium WebDriver
- session
- using / Using the session directly
- session instance / Using the session directly
- session object / Using the session directly
- Sinatra application
- testing / Testing a Sinatra application
- app.rb file / Sinatra application file – app.rb
- form.erb / Form template – form.erb
- result.erb / Results template – result.erb
- situ
- components, testing / Testing components "in situ"
- src element / Exposing a testable API
- state property / Testing components "in situ"
- step definition / Installing Cucumber and Selenium
- strategies
- matching / Matching strategies
- style method / Using the native method
- system
- preparing / Preparing your system
- gems, installing with RubyGems / Installing gems with RubyGems
- gems, installing with Bundler / Installing gems with Bundler
- system libraries
- installing / Installing system libraries
T
- teardown method / Test::Unit
- Test$$Unit / Test::Unit
- testable API
- exposing / Exposing a testable API
- test frameworks
- Cucumber / Cucumber
- RSpec / RSpec
- Test$$Unit / Test::Unit
- MiniTest$$Spec / MiniTest::Spec
- Thin
- title attribute / Clicking on links or buttons
U
- uncheck method / Checkboxes and radio buttons
- unselect method / Checkboxes and radio buttons
V
- value attribute / Clicking on links or buttons
- visible? method / Gotchas
- visit method / Testing with Rack::Test
W
- WAI-ARIA
- wait_for function / Testing components "in situ"
- wait_for method / Gotchas
- within method / Scoping
- within_fieldset argument / Scoping
- within_frame(frame_id) argument / Scoping
- within_table argument / Scoping
- within_window argument / Scoping
X
- XPath
- elements, locating with / Locating elements with XPath and CSS, A helping hand with selectors
Y
- YouTube search / Your first scenario – a YouTube search