A C D E F G H I K M O P R S T U V W

A

addLocationStrategy(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
addLocationStrategy(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Defines a new function for Selenium to locate elements on the page.
addSelection(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
addSelection(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Add a selection to the set of selected options in a multi-select element using an option locator.
allowNativeXpath(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
allowNativeXpath(String) - Method in interface com.thoughtworks.selenium.Selenium
Specifies whether Selenium should use the native in-browser implementation of XPath (if any native version is available); if you pass "false" to this function, we will always use our pure-JavaScript xpath library.
altKeyDown() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
altKeyDown() - Method in interface com.thoughtworks.selenium.Selenium
Press the alt key and hold it down until doAltUp() is called or a new page is loaded.
altKeyUp() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
altKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
Release the alt key.
answerOnNextPrompt(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
answerOnNextPrompt(String) - Method in interface com.thoughtworks.selenium.Selenium
Instructs Selenium to return the specified answer string in response to the next JavaScript prompt [window.prompt()].
assertEquals(Object, Object) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Like JUnit's Assert.assertEquals, but knows how to compare string arrays
assertEquals(String, String) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Like JUnit's Assert.assertEquals, but handles "regexp:" strings like HTML Selenese
assertEquals(String, String[]) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Like JUnit's Assert.assertEquals, but joins the string array with commas, and handles "regexp:" strings like HTML Selenese
assertEquals(String[], String[]) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Asserts that two string arrays have identical string contents
assertNotEquals(Object, Object) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Asserts that two objects are not the same (compares using .equals())
assertNotEquals(boolean, boolean) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Asserts that two booleans are not the same
assignId(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
assignId(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Temporarily sets the "id" attribute of the specified element, so you can locate it in the future using its ID rather than a slow/complicated XPath.

C

captureScreenshot(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
captureScreenshot(String) - Method in interface com.thoughtworks.selenium.Selenium
Captures a PNG screenshot to the specified file.
check(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
check(String) - Method in interface com.thoughtworks.selenium.Selenium
Check a toggle-button (checkbox/radio)
checkForVerificationErrors() - Method in class com.thoughtworks.selenium.SeleneseTestCase
Asserts that there were no verification errors during the current test, failing immediately if any are found
chooseCancelOnNextConfirmation() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
chooseCancelOnNextConfirmation() - Method in interface com.thoughtworks.selenium.Selenium
By default, Selenium's overridden window.confirm() function will return true, as if the user had manually clicked OK; after running this command, the next call to confirm() will return false, as if the user had clicked Cancel.
chooseOkOnNextConfirmation() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
chooseOkOnNextConfirmation() - Method in interface com.thoughtworks.selenium.Selenium
Undo the effect of calling chooseCancelOnNextConfirmation.
clearVerificationErrors() - Method in class com.thoughtworks.selenium.SeleneseTestCase
Clears out the list of verification errors
click(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
click(String) - Method in interface com.thoughtworks.selenium.Selenium
Clicks on a link, button, checkbox or radio button.
clickAt(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
clickAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Clicks on a link, button, checkbox or radio button.
close() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
close() - Method in interface com.thoughtworks.selenium.Selenium
Simulates the user clicking the "close" button in the titlebar of a popup window or tab.
com.thoughtworks.selenium - package com.thoughtworks.selenium
Provides the Selenium Java Client Driver classes.
CommandProcessor - Interface in com.thoughtworks.selenium
Provides a doCommand method, which sends the command to the browser to be performed.
commandProcessor - Variable in class com.thoughtworks.selenium.DefaultSelenium
 
controlKeyDown() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
controlKeyDown() - Method in interface com.thoughtworks.selenium.Selenium
Press the control key and hold it down until doControlUp() is called or a new page is loaded.
controlKeyUp() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
controlKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
Release the control key.
createCookie(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
createCookie(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Create a new cookie whose path and domain are same with those of current page under test, unless you specified a path for this cookie explicitly.

D

DEBUG - Static variable in class com.thoughtworks.selenium.SeleniumLogLevels
 
DEFAULT_INTERVAL - Static variable in class com.thoughtworks.selenium.Wait
The interval to pause between checking; the default is 500 milliseconds
DEFAULT_TIMEOUT - Static variable in class com.thoughtworks.selenium.Wait
The amount of time to wait before giving up; the default is 30 seconds
DefaultRemoteCommand - Class in com.thoughtworks.selenium
The default implementation of the RemoteCommand interface
DefaultRemoteCommand(String, String[]) - Constructor for class com.thoughtworks.selenium.DefaultRemoteCommand
 
DefaultSelenium - Class in com.thoughtworks.selenium
The default implementation of the Selenium interface; end users will primarily interact with this object.
DefaultSelenium(String, int, String, String) - Constructor for class com.thoughtworks.selenium.DefaultSelenium
Uses a CommandBridgeClient, specifying a server host/port, a command to launch the browser, and a starting URL for the browser.
DefaultSelenium(CommandProcessor) - Constructor for class com.thoughtworks.selenium.DefaultSelenium
Uses an arbitrary CommandProcessor
deleteCookie(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
deleteCookie(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Delete a named cookie with specified path.
doCommand(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
Send the specified remote command to the browser to be performed
doCommand(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
doubleClick(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
doubleClick(String) - Method in interface com.thoughtworks.selenium.Selenium
Double clicks on a link, button, checkbox or radio button.
doubleClickAt(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
doubleClickAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Doubleclicks on a link, button, checkbox or radio button.
dragAndDrop(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
dragAndDrop(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Drags an element a certain distance and then drops it
dragAndDropToObject(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
dragAndDropToObject(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Drags an element and drops it on another element
dragdrop(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
dragdrop(String, String) - Method in interface com.thoughtworks.selenium.Selenium
deprecated - use dragAndDrop instead

E

ERROR - Static variable in class com.thoughtworks.selenium.SeleniumLogLevels
 
executeCommandOnServlet(String) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
Sends the specified command string to the bridge servlet

F

fireEvent(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
fireEvent(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Explicitly simulate an event, to trigger the corresponding "onevent" handler.

G

getAlert() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAlert() - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the message of a JavaScript alert generated during the previous action, or fail if there were no alerts.
getAllButtons() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAllButtons() - Method in interface com.thoughtworks.selenium.Selenium
Returns the IDs of all buttons on the page.
getAllFields() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAllFields() - Method in interface com.thoughtworks.selenium.Selenium
Returns the IDs of all input fields on the page.
getAllLinks() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAllLinks() - Method in interface com.thoughtworks.selenium.Selenium
Returns the IDs of all links on the page.
getAllWindowIds() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAllWindowIds() - Method in interface com.thoughtworks.selenium.Selenium
Returns the IDs of all windows that the browser knows about.
getAllWindowNames() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAllWindowNames() - Method in interface com.thoughtworks.selenium.Selenium
Returns the names of all windows that the browser knows about.
getAllWindowTitles() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAllWindowTitles() - Method in interface com.thoughtworks.selenium.Selenium
Returns the titles of all windows that the browser knows about.
getAttribute(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAttribute(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the value of an element attribute.
getAttributeFromAllWindows(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getAttributeFromAllWindows(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns every instance of some attribute from all known windows.
getBodyText() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getBodyText() - Method in interface com.thoughtworks.selenium.Selenium
Gets the entire text of the page.
getBoolean(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getBoolean(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getBooleanArray(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getBooleanArray(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getCommandURLString() - Method in class com.thoughtworks.selenium.DefaultRemoteCommand
 
getCommandURLString() - Method in interface com.thoughtworks.selenium.RemoteCommand
Return the URL query string which will be sent to the browser
getConfirmation() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getConfirmation() - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the message of a JavaScript confirmation dialog generated during the previous action.
getCookie() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getCookie() - Method in interface com.thoughtworks.selenium.Selenium
Return all cookies of the current page under test.
getCursorPosition(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getCursorPosition(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the text cursor position in the given input element or textarea; beware, this may not work perfectly on all browsers.
getElementHeight(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getElementHeight(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the height of an element
getElementIndex(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getElementIndex(String) - Method in interface com.thoughtworks.selenium.Selenium
Get the relative index of an element to its parent (starting from 0).
getElementPositionLeft(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getElementPositionLeft(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the horizontal position of an element
getElementPositionTop(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getElementPositionTop(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the vertical position of an element
getElementWidth(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getElementWidth(String) - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the width of an element
getEval(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getEval(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the result of evaluating the specified JavaScript snippet.
getExpression(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getExpression(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns the specified expression.
getHtmlSource() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getHtmlSource() - Method in interface com.thoughtworks.selenium.Selenium
Returns the entire HTML source between the opening and closing "html" tags.
getLocation() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getLocation() - Method in interface com.thoughtworks.selenium.Selenium
Gets the absolute URL of the current page.
getMouseSpeed() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getMouseSpeed() - Method in interface com.thoughtworks.selenium.Selenium
Returns the number of pixels between "mousemove" events during dragAndDrop commands (default=10).
getNumber(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getNumber(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getNumberArray(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getNumberArray(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getPrompt() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getPrompt() - Method in interface com.thoughtworks.selenium.Selenium
Retrieves the message of a JavaScript question prompt dialog generated during the previous action.
getSelectedId(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getSelectedId(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets option element ID for selected option in the specified select element.
getSelectedIds(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getSelectedIds(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets all option element IDs for selected options in the specified select or multi-select element.
getSelectedIndex(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getSelectedIndex(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets option index (option number, starting at 0) for selected option in the specified select element.
getSelectedIndexes(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getSelectedIndexes(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets all option indexes (option number, starting at 0) for selected options in the specified select or multi-select element.
getSelectedLabel(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getSelectedLabel(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets option label (visible text) for selected option in the specified select element.
getSelectedLabels(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getSelectedLabels(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets all option labels (visible text) for selected options in the specified select or multi-select element.
getSelectedValue(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getSelectedValue(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets option value (value attribute) for selected option in the specified select element.
getSelectedValues(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getSelectedValues(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets all option values (value attributes) for selected options in the specified select or multi-select element.
getSelectOptions(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getSelectOptions(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets all option labels in the specified select drop-down.
getSpeed() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getSpeed() - Method in interface com.thoughtworks.selenium.Selenium
Get execution speed (i.e., get the millisecond length of the delay following each selenium operation).
getString(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getString(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getStringArray(String, String[]) - Method in interface com.thoughtworks.selenium.CommandProcessor
 
getStringArray(String, String[]) - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
getTable(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getTable(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the text from a cell of a table.
getText(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getText() - Method in class com.thoughtworks.selenium.SeleneseTestCase
Returns the body text of the current page
getText(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the text of an element.
getTitle() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getTitle() - Method in interface com.thoughtworks.selenium.Selenium
Gets the title of the current page.
getValue(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getValue(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets the (whitespace-trimmed) value of an input field (or anything else with a value parameter).
getWhetherThisFrameMatchFrameExpression(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getWhetherThisFrameMatchFrameExpression(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Determine whether current/locator identify the frame containing this running code.
getWhetherThisWindowMatchWindowExpression(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getWhetherThisWindowMatchWindowExpression(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Determine whether currentWindowString plus target identify the window containing this running code.
getXpathCount(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
getXpathCount(String) - Method in interface com.thoughtworks.selenium.Selenium
Returns the number of nodes that match the specified xpath, eg.
goBack() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
goBack() - Method in interface com.thoughtworks.selenium.Selenium
Simulates the user clicking the "back" button on their browser.

H

highlight(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
highlight(String) - Method in interface com.thoughtworks.selenium.Selenium
Briefly changes the backgroundColor of the specified element yellow.
HttpCommandProcessor - Class in com.thoughtworks.selenium
Sends commands and retrieves results via HTTP.
HttpCommandProcessor(String, int, String, String) - Constructor for class com.thoughtworks.selenium.HttpCommandProcessor
Specifies a server host/port, a command to launch the browser, and a starting URL for the browser.
HttpCommandProcessor(String, String, String) - Constructor for class com.thoughtworks.selenium.HttpCommandProcessor
Specifies the URL to the CommandBridge servlet, a command to launch the browser, and a starting URL for the browser.

I

INFO - Static variable in class com.thoughtworks.selenium.SeleniumLogLevels
 
isAlertPresent() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isAlertPresent() - Method in interface com.thoughtworks.selenium.Selenium
Has an alert occurred?
isCaptureScreetShotOnFailure() - Method in class com.thoughtworks.selenium.SeleneseTestCase
 
isChecked(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isChecked(String) - Method in interface com.thoughtworks.selenium.Selenium
Gets whether a toggle-button (checkbox/radio) is checked.
isConfirmationPresent() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isConfirmationPresent() - Method in interface com.thoughtworks.selenium.Selenium
Has confirm() been called?
isEditable(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isEditable(String) - Method in interface com.thoughtworks.selenium.Selenium
Determines whether the specified input element is editable, ie hasn't been disabled.
isElementPresent(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isElementPresent(String) - Method in interface com.thoughtworks.selenium.Selenium
Verifies that the specified element is somewhere on the page.
isOrdered(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isOrdered(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Check if these two elements have same parent and are ordered siblings in the DOM.
isPromptPresent() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isPromptPresent() - Method in interface com.thoughtworks.selenium.Selenium
Has a prompt occurred?
isSomethingSelected(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isSomethingSelected(String) - Method in interface com.thoughtworks.selenium.Selenium
Determines whether some option in a drop-down menu is selected.
isTextPresent(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isTextPresent(String) - Method in interface com.thoughtworks.selenium.Selenium
Verifies that the specified text pattern appears somewhere on the rendered page shown to the user.
isVisible(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
isVisible(String) - Method in interface com.thoughtworks.selenium.Selenium
Determines if the specified element is visible.

K

keyDown(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
keyDown(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing a key (without releasing it yet).
keyPress(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
keyPress(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing and releasing a key.
keyUp(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
keyUp(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user releasing a key.

M

metaKeyDown() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
metaKeyDown() - Method in interface com.thoughtworks.selenium.Selenium
Press the meta key and hold it down until doMetaUp() is called or a new page is loaded.
metaKeyUp() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
metaKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
Release the meta key.
mouseDown(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
mouseDown(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
mouseDownAt(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
mouseDownAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing the mouse button (without releasing it yet) at the specified location.
mouseMove(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
mouseMove(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
mouseMoveAt(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
mouseMoveAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
mouseOut(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
mouseOut(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user moving the mouse pointer away from the specified element.
mouseOver(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
mouseOver(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates a user hovering a mouse over the specified element.
mouseUp(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
mouseUp(String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding the button down) on the specified element.
mouseUpAt(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
mouseUpAt(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates the event that occurs when the user releases the mouse button (i.e., stops holding the button down) at the specified location.

O

open(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
open(String) - Method in interface com.thoughtworks.selenium.Selenium
Opens an URL in the test frame.
openWindow(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
openWindow(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Opens a popup window (if a window with that ID isn't already open).

P

parse(String) - Static method in class com.thoughtworks.selenium.DefaultRemoteCommand
Factory method to create a RemoteCommand from a wiki-style input string
parseCSV(String) - Static method in class com.thoughtworks.selenium.HttpCommandProcessor
Convert backslash-escaped comma-delimited string into String array.
pause(int) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Sleeps for the specified number of milliseconds

R

refresh() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
refresh() - Method in interface com.thoughtworks.selenium.Selenium
Simulates the user clicking the "Refresh" button on their browser.
RemoteCommand - Interface in com.thoughtworks.selenium
Represents a single remote action
removeAllSelections(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
removeAllSelections(String) - Method in interface com.thoughtworks.selenium.Selenium
Unselects all of the selected options in a multi-select element.
removeSelection(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
removeSelection(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Remove a selection from the set of selected options in a multi-select element using an option locator.
runBare() - Method in class com.thoughtworks.selenium.SeleneseTestCase
Runs the bare test sequence, capturing a screenshot if a test fails
runScript(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
runScript(String) - Method in interface com.thoughtworks.selenium.Selenium
Creates a new "script" tag in the body of the current test window, and adds the specified text into the body of the command.

S

select(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
select(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Select an option from a drop-down using an option locator.
selectFrame(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
selectFrame(String) - Method in interface com.thoughtworks.selenium.Selenium
Selects a frame within the current window.
selectWindow(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
selectWindow(String) - Method in interface com.thoughtworks.selenium.Selenium
Selects a popup window; once a popup window has been selected, all commands go to that window.
SeleneseTestCase - Class in com.thoughtworks.selenium
Provides a JUnit TestCase base class that implements some handy functionality for Selenium testing (you are not required to extend this class).
SeleneseTestCase() - Constructor for class com.thoughtworks.selenium.SeleneseTestCase
 
SeleneseTestCase(String) - Constructor for class com.thoughtworks.selenium.SeleneseTestCase
 
selenium - Variable in class com.thoughtworks.selenium.SeleneseTestCase
Use this object to run all of your selenium tests
Selenium - Interface in com.thoughtworks.selenium
Defines an object that runs Selenium commands.
SeleniumCommandTimedOutException - Exception in com.thoughtworks.selenium
Thrown to indicate that the remote process failed to respond within a specified timeout.
SeleniumCommandTimedOutException() - Constructor for exception com.thoughtworks.selenium.SeleniumCommandTimedOutException
 
seleniumEquals(String, String) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Compares two strings, but handles "regexp:" strings like HTML Selenese
seleniumEquals(Object, Object) - Static method in class com.thoughtworks.selenium.SeleneseTestCase
Compares two objects, but handles "regexp:" strings like HTML Selenese
SeleniumException - Exception in com.thoughtworks.selenium
Thrown when a Selenium command fails.
SeleniumException(String) - Constructor for exception com.thoughtworks.selenium.SeleniumException
 
SeleniumException(Exception) - Constructor for exception com.thoughtworks.selenium.SeleniumException
 
SeleniumException(String, Exception) - Constructor for exception com.thoughtworks.selenium.SeleniumException
 
SeleniumLogLevels - Class in com.thoughtworks.selenium
An enumeration of logging levels
SeleniumLogLevels() - Constructor for class com.thoughtworks.selenium.SeleniumLogLevels
 
setBrowserLogLevel(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
setBrowserLogLevel(String) - Method in interface com.thoughtworks.selenium.Selenium
Sets the threshold for browser-side logging messages; log messages beneath this threshold will be discarded.
setCaptureScreetShotOnFailure(boolean) - Method in class com.thoughtworks.selenium.SeleneseTestCase
 
setContext(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
setContext(String) - Method in interface com.thoughtworks.selenium.Selenium
Writes a message to the status bar and adds a note to the browser-side log.
setCursorPosition(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
setCursorPosition(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Moves the text cursor to the specified position in the given input element or textarea.
setMouseSpeed(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
setMouseSpeed(String) - Method in interface com.thoughtworks.selenium.Selenium
Configure the number of pixels between "mousemove" events during dragAndDrop commands (default=10).
setSpeed(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
setSpeed(String) - Method in interface com.thoughtworks.selenium.Selenium
Set execution speed (i.e., set the millisecond length of a delay which will follow each selenium operation).
setTimeout(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
setTimeout(String) - Method in interface com.thoughtworks.selenium.Selenium
Specifies the amount of time that Selenium will wait for actions to complete.
setUp() - Method in class com.thoughtworks.selenium.SeleneseTestCase
Calls this.setUp(null)
setUp(String) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Calls this.setUp with the specified url and a default browser.
setUp(String, String) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Creates a new DefaultSelenium object and starts it using the specified baseUrl and browser string
shiftKeyDown() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
shiftKeyDown() - Method in interface com.thoughtworks.selenium.Selenium
Press the shift key and hold it down until doShiftUp() is called or a new page is loaded.
shiftKeyUp() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
shiftKeyUp() - Method in interface com.thoughtworks.selenium.Selenium
Release the shift key.
start() - Method in interface com.thoughtworks.selenium.CommandProcessor
Starts a new Selenium testing session
start() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
start() - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
start() - Method in interface com.thoughtworks.selenium.Selenium
Launches the browser with a new Selenium session
stop() - Method in interface com.thoughtworks.selenium.CommandProcessor
Ends the current Selenium testing session (normally killing the browser)
stop() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
stop() - Method in class com.thoughtworks.selenium.HttpCommandProcessor
 
stop() - Method in interface com.thoughtworks.selenium.Selenium
Ends the test session, killing the browser
submit(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
submit(String) - Method in interface com.thoughtworks.selenium.Selenium
Submit the specified form.

T

tearDown() - Method in class com.thoughtworks.selenium.SeleneseTestCase
checks for verification errors and stops the browser
toString() - Method in class com.thoughtworks.selenium.DefaultRemoteCommand
 
type(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
type(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Sets the value of an input field, as though you typed it in.
typeKeys(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
typeKeys(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Simulates keystroke events on the specified element, as though you typed the value key-by-key.

U

uncheck(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
uncheck(String) - Method in interface com.thoughtworks.selenium.Selenium
Uncheck a toggle-button (checkbox/radio)
until() - Method in class com.thoughtworks.selenium.Wait
Returns true when it's time to stop waiting
urlEncode(String) - Static method in class com.thoughtworks.selenium.DefaultRemoteCommand
Encodes the text as an URL using UTF-8.

V

verifyEquals(Object, Object) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertEquals, but fails at the end of the test (during tearDown)
verifyEquals(boolean, boolean) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertEquals, but fails at the end of the test (during tearDown)
verifyEquals(String[], String[]) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Asserts that two string arrays have identical string contents (fails at the end of the test, during tearDown)
verifyFalse(boolean) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertFalse, but fails at the end of the test (during tearDown)
verifyNotEquals(Object, Object) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertNotEquals, but fails at the end of the test (during tearDown)
verifyNotEquals(boolean, boolean) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertNotEquals, but fails at the end of the test (during tearDown)
verifyTrue(boolean) - Method in class com.thoughtworks.selenium.SeleneseTestCase
Like assertTrue, but fails at the end of the test (during tearDown)

W

Wait - Class in com.thoughtworks.selenium
A utility class, designed to help the user automatically wait until a condition turns true.
Wait() - Constructor for class com.thoughtworks.selenium.Wait
 
wait(String) - Method in class com.thoughtworks.selenium.Wait
Wait until the "until" condition returns true or time runs out.
wait(String, long) - Method in class com.thoughtworks.selenium.Wait
Wait until the "until" condition returns true or time runs out.
wait(String, long, long) - Method in class com.thoughtworks.selenium.Wait
Wait until the "until" condition returns true or time runs out.
Wait.WaitTimedOutException - Exception in com.thoughtworks.selenium
 
Wait.WaitTimedOutException() - Constructor for exception com.thoughtworks.selenium.Wait.WaitTimedOutException
 
Wait.WaitTimedOutException(String, Throwable) - Constructor for exception com.thoughtworks.selenium.Wait.WaitTimedOutException
 
Wait.WaitTimedOutException(String) - Constructor for exception com.thoughtworks.selenium.Wait.WaitTimedOutException
 
Wait.WaitTimedOutException(Throwable) - Constructor for exception com.thoughtworks.selenium.Wait.WaitTimedOutException
 
waitForCondition(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
waitForCondition(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Runs the specified JavaScript snippet repeatedly until it evaluates to "true".
waitForFrameToLoad(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
waitForFrameToLoad(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Waits for a new frame to load.
waitForPageToLoad(String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
waitForPageToLoad(String) - Method in interface com.thoughtworks.selenium.Selenium
Waits for a new page to load.
waitForPopUp(String, String) - Method in class com.thoughtworks.selenium.DefaultSelenium
 
waitForPopUp(String, String) - Method in interface com.thoughtworks.selenium.Selenium
Waits for a popup window to appear and load up.
WARN - Static variable in class com.thoughtworks.selenium.SeleniumLogLevels
 
windowFocus() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
windowFocus() - Method in interface com.thoughtworks.selenium.Selenium
Gives focus to the currently selected window
windowMaximize() - Method in class com.thoughtworks.selenium.DefaultSelenium
 
windowMaximize() - Method in interface com.thoughtworks.selenium.Selenium
Resize currently selected window to take up the entire screen

A C D E F G H I K M O P R S T U V W

Copyright © {inceptionYear}-2007 null. All Rights Reserved.