Index
A
- add-ons
- about / Add-ons
- creating / Time for action – creating a basic add-on
- AJAX
- about / Selenium tests against AJAX applications
- working, on pages / Time for action – working on pages with AJAX
- AJAX applications
- working with / Time for action – working with AJAX applications
- ant -Dport=5555 launch-remote-control command / Time for action – adding a remote control with the defaults
- Ant file
- creating / Time for action – creating an Ant file
- ant launch-hub command / Time for action – launching the hub
- ant sanity-check command / Time for action – doing a sanity check on Selenium Grid
- Apache Ant
- URL, for downloading / Important preliminary points
B
- browser
- accessing, with JavaScript / Accessing the browser with JavaScript
- Selenium Remote Control, adding for / Adding Selenium Remote Control for different browsers, What just happened?
- browserbot
- about / Accessing the browser with JavaScript
- page, accessing / Time for action – accessing the page with browserbot, What just happened?
- JavaScript evaluation, verifying / Time for action – verifying a JavaScript evaluation with browserbot, What just happened?
- using / Time for action – using browserbot from within an extension, What just happened?
- browserbot object / Working with JavaScript in Selenium 2
- browser interaction, Selenium 2 / How will the browser interaction change?
- browser support, Selenium 2 / Starting a Selenium 2 browser instance
C
- * character
- pattern, finding / Time for action – using * to find a basic pattern, What just happened?
- ? character
- using, in glob pattern / Time for action – using ? in a glob pattern, What just happened?
- captureEntirePageScreenshot call / Capturing the entire page
- captureNetworkTraffic call / Capturing network traffic
- captureScreenshot call / captureScreenshot call, Time for action – capturing screenshots
- captureScreenshotToString() function / Time for action – capturing a screenshot to string
- Castro
- about / Capturing video
- character classes
- child nodes
- elements, finding / Using child nodes to find the element
- commands
- comments
- adding, to test / Time for action – adding Selenium IDE comments, What just happened?
- configuration, Selenium Grid
- Continuous Integration server
- tests, setting up / Setting our tests up in a Continuous Integration server, Time for action – creating an Ant file
- Ant file, creating / Time for action – creating an Ant file
- cookies
- about / Cookie handling, Time for action – getting a cookie off the page
- handling / Cookie handling, Time for action – getting a cookie off the page
- getting, on page / Time for action – getting all cookies on the page
- deleting / Deleting cookies, What just happened?
- cookies handling
- CSS class attributes
- using, in CSS selectors / Using CSS class attributes in CSS selectors
- CSS selectors
- elements, finding / Time for action – finding elements by CSS
- CSS class attributes, using / Using CSS class attributes in CSS selectors
- element IDs, using / Using element IDs in CSS selectors
- nth element, finding / Finding the nth element with CSS
D
- -Denvironment argument / Adding Selenium Remote Control for different browsers
- -Dhost argument / Adding Selenium Remote Controls for different machines, What just happened?
- -DhubURL argument / Adding Selenium Remote Controls for different machines, What just happened?
- date
- verifying, with regular expressions / Time for action – using basic regular expressions to check the date, What just happened?
- DeepTest
- about / Important preliminary points
- DefaultSelenium object / What just happened?
- deleteCookie method / Deleting cookies, What just happened?
- downloading
- Apache Ant / Important preliminary points
E
- echo command / What just happened?, Time for action – storing the result of JavaScript in a variable
- element attributes
- using, in XPath queries / Using element attributes in XPath queries
- element IDs
- using, in CSS selectors / Using element IDs in CSS selectors
- elements
- storing, from page / Storing information from the page in the test, Time for action – storing elements from the page
- locating, by ID attribute / Locating elements by ID, What just happened?, What just happened?
- ID, finding with Firebug / Time for action – finding IDs of elements on the page with Firebug
- moving, on page / Moving elements on the page
- finding, by name / Time for action – finding elements by name
- finding, by link text / Time for action – finding elements by link text
- finding, by XPath / Time for action – finding elements by XPath, What just happened?, Finding elements with XPath, What just happened?
- finding, by text / Finding an element by the text it contains
- finding, XPath axis used / Using XPath axis to find elements
- finding, by CSS / Time for action – finding elements by CSS
- finding, child nodes used / Using child nodes to find the element
- finding, sibling nodes used / Using sibling nodes to find the element
- finding, by attributes / Finding elements by their attributes
- nth element, finding with CSS / Finding the nth element with CSS
- finding, by inner text / Finding an element by its inner text
- interacting with / Accessing elements on the page and interacting with them
- accessing, on page / Accessing elements on the page and interacting with them
- hidden elements, working with / Time for action – working with hidden elements throws errors
- elements, finding
- DOM, calling via JavaScript / Time for action – finding elements by accessing the DOM through JavaScript
- entire page screenshot
- capturing, to string / Time for action – capturing the entire page screenshot to a string
- events
- firing / Firing events
- exact* prefix
- about / Verifying exact text
- text, verifying / Time for action – verifying text, What just happened?
- using, on links / Time for action – using exact: on links, What just happened?
- using, in locators / Have a go hero – using exact: in locators
- exact text
- verifying / Verifying exact text, What just happened?
- executeScript method / Working with JavaScript in Selenium 2
- extensions
- Selenium variables, using / Time for action – using Selenium variables in extensions, What just happened?
- creating / Time for action – using Selenium variables in extensions
- locators, using / Time for action – using locators in extensions, What just happened?
F
- -firefoxProfileTemplate argument / -firefoxProfileTemplate
- features, Selenium Grid / Understanding Selenium Grid
- filling-in forms
- about / Typing into input fields
- filters
- adding, to element name / Adding filters to the name
- findElement() method
- findElements method
- about / Finding multiple elements
- Firebug
- about / Important preliminary points
- URL / Important preliminary points
- elements IDs, finding / Time for action – finding IDs of elements on the page with Firebug
- Firefinder
- URL / Important preliminary points
- about / Important preliminary points
G
- getCookie() function
- using / Getting all cookies
- getEval command / Time for action – using browserbot from within an extension
- globbing
- about / Using globs in our tests
- character classes, used / Time for action – using character classes in globbing, What just happened?
- glob pattern
- ? character, using / Time for action – using ? in a glob pattern, What just happened?
- globs
- about / Using globs in our tests
- using, in tests / Time for action – using globs in tests, What just happened?
- Google Chrome
- about / Running your Selenium IDE tests in Google Chrome
- Selenium IDE tests, running / Time for action – running Selenium IDE tests within Google Chrome, What just happened?
- Google Chrome Developer Tools
- about / Important preliminary points
- grids
- tests, writing against / Running tests against the Grid, What just happened?
H
- -htmlsuite argument
- hidden elements
- working with / Time for action – working with hidden elements throws errors
I
- icons, Selenium IDE / Selenium IDE icons
- ID attribute
- elements, locating / Locating elements by ID, What just happened?, What just happened?
- IDEA Intellij
- downloading, URL / Important preliminary points
- IE Developer Tools
- about / Important preliminary points
- independent tests / Independent tests
- installation, Selenium IDE / Time for action – installing Selenium IDE
- installation, user extension / Time for action – installing a user extension
- instances
- adding, to Selenium Grid Hub / Adding instances to the hub
- Internet Explorer
- about / Running your Selenium IDE tests in Internet Explorer
- Selenium IDE tests, running / Time for action – running our tests in Internet Explorer, What just happened?
- items
- asserting, on page / Updating a test to assert items are on the page
- verifying, on page / Time for action – updating a test to verify items on the page
J
- Java JRE
- URL, for downloading / Important preliminary points
- JavaScript
- about / Using JavaScript as our test language
- using / Using JavaScript as our test language
- text, entering into field / Time for action – using JavaScript to enter text into a field
- multiple statements, using / Time for action – using multiple statements in your JavaScript
- result, storing in variable / Time for action – storing the result of JavaScript in a variable, What just happened?
- Selenium variables, using / Using Selenium variables with JavaScript, Time for action – using Selenium variables with JavaScript
- value, asserting / Time for action – JavaScript within a verify or assert, What just happened?
- value, verifying / Time for action – JavaScript within a verify or assert, What just happened?
- browser, accessing / Accessing the browser with JavaScript
- evaluation, verifying with browserbot / Time for action – verifying a JavaScript evaluation with browserbot, What just happened?
- using, in Selenium 2 / Time for action – using JavaScript in Selenium 2
- JavaScript events
- onFocus / Firing events
- onBlur / Firing events
- onChange / Firing events
- onSubmit / Firing events
- onMouseOut / Firing events
- onMouseOver / Firing events
- JavaScriptExecutor object / Working with JavaScript in Selenium 2
- JavaScript REPL
- about / Important preliminary points
- Java test case
- Selenium IDE tests, converting to / Time for action – converting Selenium IDE tests to a language, What just happened?
- JSON
- jUnit
- downloading, URL / Important preliminary points
- JUnit 3
- Selenium instance, creating / Time for action – creating a Selenium instance with JUnit 3
- JUnit 4
- Selenium instance, creating / Time for action – creating a Selenium instance with JUnit 4
K
- Konquerer
- about / What just happened?
L
- links
- exact* prefix, using / Time for action – using exact: on links, What just happened?
- clicking on / Time for action – finding a link and clicking it
- searching / Time for action – finding a link and clicking it
- location strategy
- locators
- exact* prefix, using / Have a go hero – using exact: in locators
- using, in extensions / Time for action – using locators in extensions, What just happened?
M
- mouseOver event
- multiple elements
- finding, on page / Finding multiple elements, Time for action – finding multiple elements on the page
- multiple windows
N
- network traffic
- new browsers, Selenium 2
- Nose
- about / Important preliminary points
O
- object
- returning, from executing JavaScript to tests / Time for action – returning from executing JavaScript, What just happened?
- onBlur event
- onChange event / Firing events
- onFocus event / Firing events
- onMouseOut event / Firing events
- onMouseOver event / Firing events
- onSubmit event / Firing events
- open command / What just happened?
- Opera
- about / What just happened?
P
- -port argument / -port
- @Parameters() annotation / Time for action – adding the parameters to our tests
- page
- accessing, with browserbot / Time for action – accessing the page with browserbot, What just happened?
- multiple elements, searching on / Finding multiple elements, Time for action – finding multiple elements on the page
- Page Object Pattern
- tests, designing / Time for action – using the Page Object Pattern to design tests, Pop quiz
- parallel testing / Parallel testing
- parameters
- using, in tests / Getting our tests to use parameters, What just happened?
- partial match
- performing, on attribute content / Doing a partial match on attribute content
- performing, on attributes / Partial matches on attributes
- pNunit
- about / Important preliminary points
- POJO
Q
- quit() method / Starting a Selenium 2 browser instance, What just happened?
R
- regular expressions
- using / Using regular expressions
- date, verifying / Time for action – using basic regular expressions to check the date, What just happened?
- regular expression wildcards
- RemoteWebDriver
- about / Important preliminary points
- REPL
- about / Important preliminary points
- requisites
- verifying, for Selenium Grid / Checking that we have the necessary items for Selenium Grid, Time for action – doing a sanity check on Selenium Grid
S
- screenshots
- SeleneseTestCase setUp()
- Selenium instance, creating / Time for action – creating a Selenium instance with SeleneseTestCase setUp()
- Selenium
- globs / Using globs in our tests
- JavaScript / Using JavaScript as our test language
- mouseOver event, firing / Time for action – firing a mouseOver event, What just happened?
- onBlur event, firing / Time for action – firing an onBlur event in Selenium, What just happened?
- user extension / User extensions
- add-ons / Add-ons
- cookie handling / Cookie handling, Time for action – getting a cookie off the page
- location strategy, adding / Adding a new location strategy, Time for action – adding a new location strategy, What just happened?
- network traffic, capturing / Capturing network traffic, Time for action – capturing network traffic, What just happened?
- screenshots, capturing / Capturing screenshots, What just happened?
- Selenium 1 tests
- converting, to Selenium 2 tests / Converting Selenium 1 tests to Selenium 2, Time for action – converting tests to Selenium 2 using WebDriverBackedSelenium, What just happened?
- Selenium 2
- browser interaction / How will the browser interaction change?
- new browsers, instantiating / Starting a Selenium 2 browser instance, Time for action – instantiating new browsers and closing them, What just happened?
- browser support / Starting a Selenium 2 browser instance
- JavaScript, using / Time for action – using JavaScript in Selenium 2
- Selenium and WebDriver
- merging, advantages / Why Selenium and WebDriver are being merged
- merging, limitations / Why Selenium and WebDriver are being merged
- Selenium community
- Selenium Grid
- URL, for downloading / Important preliminary points
- about / Understanding Selenium Grid
- features / Understanding Selenium Grid
- example / Understanding Selenium Grid
- requisites, verifying for / Checking that we have the necessary items for Selenium Grid, Time for action – doing a sanity check on Selenium Grid
- working / Selenium Grid Hub, Time for action – launching the hub, What just happened?
- hub / Selenium Grid Hub, Time for action – launching the hub, What just happened?
- configuration, updating / Updating the Selenium Grid Configuration, Time for action – adding new items to the Grid Configuration
- Selenium Grid hub
- launching / What just happened?
- Selenium Grid Hub
- about / Selenium Grid Hub
- launching / Time for action – launching the hub
- instances, adding / Adding instances to the hub
- Selenium IDE
- about / What is Selenium IDE, Selenium IDE
- need for / What is Selenium IDE
- installing / Time for action – installing Selenium IDE
- icons / Selenium IDE icons
- first test, recording / Time for action – recording your first test with Selenium IDE, What just happened?
- Selenium IDE, installing / Time for action – installing Selenium IDE
- Selenium IDE icons / Selenium IDE icons
- Selenium IDE tests
- running, with Selenium Remote Control / Running Selenium IDE tests with Selenium Remote Control, Time for action – running Selenium IDE tests with Selenium Remote Control
- running, in Internet Explorer / Time for action – running our tests in Internet Explorer, What just happened?
- running, in Google Chrome / Time for action – running Selenium IDE tests within Google Chrome, What just happened?
- running, with user extensions / Running your Selenium IDE tests with the User Extensions, Time for action – running Selenium IDE tests with User Extensions
- converting, to Java test case / Time for action – converting Selenium IDE tests to a language, What just happened?
- writing, from scratch / Writing Selenium tests from scratch, Time for action – creating a test from scratch
- setting up / Time for action – setting up the test
- designing, Page Object Pattern used / Time for action – using the Page Object Pattern to design tests, Pop quiz
- setting up, in Continuous Integration server / Setting our tests up in a Continuous Integration server, Time for action – creating an Ant file
- Selenium instance
- creating, with JUnit 3 / Time for action – creating a Selenium instance with JUnit 3
- creating, with SeleneseTestCase setUp() / Time for action – creating a Selenium instance with SeleneseTestCase setUp()
- creating, with JUnit 4 / Time for action – creating a Selenium instance with JUnit 4
- creating, with TestNG / Time for action – creating a Selenium instance with TestNG
- Selenium Remote control
- about / Understanding Selenium Grid
- Selenium Remote Control
- about / What is Selenium Remote Control, Setting up Selenium Remote Control
- origin / What is Selenium Remote Control
- working / What is Selenium Remote Control
- URL, for downloading / Time for action – setting up Selenium Remote Control
- setting up / Time for action – setting up Selenium Remote Control, What just happened?
- Selenium IDE tests, running / Running Selenium IDE tests with Selenium Remote Control, Time for action – running Selenium IDE tests with Selenium Remote Control
- arguments / Selenium Remote Control arguments, -userExtensions
- best practises / Selenium Remote Control best practises, Time for action – moving Selenium steps into Private methods to make tests maintainable, Time for action – using the Page Object Pattern to design tests, What just happened?
- launching / Time for action – adding a remote control with the defaults, What just happened?
- adding, for different machines / Adding Selenium Remote Controls for different machines, Time for action – adding Selenium Remote Controls for different machines
- adding, for different browsers / Adding Selenium Remote Control for different browsers, What just happened?
- Selenium Remote Control, arguments
- about / Selenium Remote Control arguments
- -port / -port
- -userExtensions / -userExtensions
- -firefoxProfileTemplate / -firefoxProfileTemplate
- Selenium Remote Control server
- about / How will the browser interaction change?
- making, optional in Selenium 2 / How will the browser interaction change?
- Selenium variables
- using, with JavaScript / Using Selenium variables with JavaScript, Time for action – using Selenium variables with JavaScript
- sendKeys method
- about / What just happened?
- sibling nodes
- elements, finding / Using sibling nodes to find the element
- storedVars dictionary / Using Selenium variables with JavaScript
- storeText command / Using Selenium variables with JavaScript
T
- <test> node / Parameters in the configuration file
- tearDown() method
- Telerik RADEditor / Time for action – using browserbot from within an extension
- TestNG
- about / Time for action – creating a Selenium instance with TestNG, Important preliminary points, Setting up TestNG
- Selenium instance, creating / Time for action – creating a Selenium instance with TestNG
- URL / Important preliminary points
- setting up / Time for action – starting to create the test suite
- testng.xml file
- parameters, adding / Parameters in the configuration file
- about / Parameters in the configuration file
- TestNG configuration
- test node, creating / Time for action – creating a test node in the TestNG configuration, What just happened?
- test node
- creating, in TestNG configuration / Time for action – creating a test node in the TestNG configuration, What just happened?
- tests
- recording / Time for action – recording your first test with Selenium IDE, What just happened?
- updating / Updating a test to assert items are on the page, Time for action – updating a test to verify items on the page
- comments, adding to / Time for action – adding Selenium IDE comments, What just happened?
- debugging / Debugging tests
- saving / Saving tests, What you cannot record
- creating, with globs / Time for action – using globs in tests, What just happened?
- writing, against grids / Running tests against the Grid, What just happened?
- parameters, using / Getting our tests to use parameters, What just happened?
- running, in parallel / Tips and tricks for running tests in parallel
- cleaning up / Cleaning up tests
- test suites
- creating / Time for action – creating test suites
- text
- verifying, exact* prefix used / Time for action – verifying text, What just happened?
- entering, into field / Time for action – using JavaScript to enter text into a field
- text box
- typing into / Time for action – typing into a text box
- thread-count attribute / Parallel testing
U
- -userExtensions argument / -userExtensions
- user extension
- about / User extensions
- creating / User extensions
- installing / Time for action – installing a user extension
- Selenium IDE tests, running with / Running your Selenium IDE tests with the User Extensions, Time for action – running Selenium IDE tests with User Extensions
V
- variable
- JavaScript result, storing / Time for action – storing the result of JavaScript in a variable, What just happened?
- using, in extensions / Time for action – using Selenium variables in extensions, What just happened?
- verifyAlert method / Have a go hero – using the IDE
- verifyAttribute method / Have a go hero – using the IDE
- verifyChecked method / Have a go hero – using the IDE
- verifyElementNotPresent method / Have a go hero – using the IDE
- verifyElementPresent method / Have a go hero – using the IDE
- verifyText method / Have a go hero – using the IDE
- verifyTextNotPresent command / What just happened?
- verifyTitle method / Have a go hero – using the IDE
- video
- capturing / Capturing video
- recording, in test / Time for action – recording a video in a test
- VNC
- about / Capturing video
- setting up / Time for action – setting up the environment to capture video
W
- waitFor commands
- about / What just happened?
- waitForAlertNotPresent / What just happened?
- waitForAlertPresent / What just happened?
- waitForElementPresent / What just happened?
- waitForElementNotPresent / What just happened?
- waitForTextPresent / What just happened?
- waitForTextNotPresent / What just happened?
- waitForPageToLoad / What just happened?
- waitForFrameToLoad / What just happened?
- waitForCondition
- WebDriver
- WebDriver and Selenium
- merging, advantages / Why Selenium and WebDriver are being merged
- merging, limitations / Why Selenium and WebDriver are being merged
- WebDriverBackedSelenium object
- about / Converting Selenium 1 tests to Selenium 2, What just happened?
- Selenium 1 tests, converting to Selenium 2 tests / Time for action – converting tests to Selenium 2 using WebDriverBackedSelenium, What just happened?
- WebElement object
- WYSIWYG editors / Why Selenium and WebDriver are being merged
X
- XPath
- elements, finding / Time for action – finding elements by XPath, What just happened?, Finding elements with XPath, What just happened?
- about / Time for action – finding elements by XPath
- creating / Time for action – finding elements by XPath
- using, in test / Using direct XPath in your test
- nth element, finding / Using XPath to find the nth element of a type
- XPath axis
- elements, finding / Using XPath axis to find elements
- XPath queries
- element attributes, using / Using element attributes in XPath queries
- XPCOM object