Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
K
M
O
P
R
S
T
U
W
A
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.
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()].
C
CommandProcessor
- interface com.thoughtworks.selenium.
CommandProcessor
.
Provides a
doCommand
method, which sends the command to the browser to be performed.
check(String)
- Method in class com.thoughtworks.selenium.
DefaultSelenium
check(String)
- Method in interface com.thoughtworks.selenium.
Selenium
Check a toggle-button (checkbox/radio)
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.
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.
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
- Variable in class com.thoughtworks.selenium.
DefaultSelenium
D
DEBUG
- Static variable in class com.thoughtworks.selenium.
SeleniumLogLevels
DefaultSeleneseCommand
- class com.thoughtworks.selenium.
DefaultSeleneseCommand
.
The default implementation of the SeleneseCommand interface
DefaultSeleneseCommand(String, String[])
- Constructor for class com.thoughtworks.selenium.
DefaultSeleneseCommand
DefaultSelenium
- class com.thoughtworks.selenium.
DefaultSelenium
.
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
doCommand(String, String[])
- Method in interface com.thoughtworks.selenium.
CommandProcessor
Send the specified Selenese command to the browser to be performed
doCommand(String, String[])
- Method in class com.thoughtworks.selenium.
HttpCommandProcessor
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 "on
event
" 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.
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.
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.
DefaultSeleneseCommand
getCommandURLString()
- Method in interface com.thoughtworks.selenium.
SeleneseCommand
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.
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.
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.
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.
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.
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.
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(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).
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
HttpCommandProcessor
- class com.thoughtworks.selenium.
HttpCommandProcessor
.
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?
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.
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
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.
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.
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.
P
parse(String)
- Static method in class com.thoughtworks.selenium.
DefaultSeleneseCommand
Factory method to create a SeleneseCommand from a wiki-style input string
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.
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.
S
SeleneseCommand
- interface com.thoughtworks.selenium.
SeleneseCommand
.
Represents a single Selenese action
Selenium
- interface com.thoughtworks.selenium.
Selenium
.
Defines an object that runs Selenium commands.
SeleniumCommandTimedOutException
- exception com.thoughtworks.selenium.
SeleniumCommandTimedOutException
.
Thrown to indicate that the remote process failed to respond within a specified timeout.
SeleniumCommandTimedOutException()
- Constructor for class com.thoughtworks.selenium.
SeleniumCommandTimedOutException
SeleniumException
- exception com.thoughtworks.selenium.
SeleniumException
.
Thrown when a Selenium command fails.
SeleniumException(String)
- Constructor for class com.thoughtworks.selenium.
SeleniumException
SeleniumException(Exception)
- Constructor for class com.thoughtworks.selenium.
SeleniumException
SeleniumException(String, Exception)
- Constructor for class com.thoughtworks.selenium.
SeleniumException
SeleniumLogLevels
- class com.thoughtworks.selenium.
SeleniumLogLevels
.
An enumeration of logging levels
SeleniumLogLevels()
- Constructor for class com.thoughtworks.selenium.
SeleniumLogLevels
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.
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.
setContext(String, String)
- Method in class com.thoughtworks.selenium.
DefaultSelenium
setContext(String, 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.
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.
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
toString()
- Method in class com.thoughtworks.selenium.
DefaultSeleneseCommand
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.
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)
urlEncode(String)
- Static method in class com.thoughtworks.selenium.
DefaultSeleneseCommand
Encodes the text as an URL using UTF-8.
W
WARN
- Static variable in class com.thoughtworks.selenium.
SeleniumLogLevels
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".
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.
A
C
D
E
F
G
H
I
K
M
O
P
R
S
T
U
W
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2006 null. All Rights Reserved.