Skip navigation links
B C E G H I N R S T U 

B

beginAt(URL, TestContext) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Begin a dialog with an initial URL and test client context.

C

checkCheckbox(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Select a specified checkbox.
checkCheckbox(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
clickButton(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Click the indicated button (input type=button).
clickButtonWithText(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Clicks the first button that contains the specified text as its label.
clickElementByXPath(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
clickLink(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Navigate by submitting a request based on a link with a given ID.
clickLinkWithExactText(String, int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
clickLinkWithImage(String, int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Navigate by submitting a request based on a link with a given image file name.
clickLinkWithText(String, int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
clickRadioOption(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Clicks a radio option.
closeBrowser() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Close the browser and check that all expected Javascript alerts, confirms and prompts have been taken care of.
closeWindow() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Close the current window.
createWebClient() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Create the WebClient that will be used for this test.

E

equals(Object) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 

G

getAllHeaders() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Deprecated.
getAttribute(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 
getButtonWithText(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Returns the first button that contains the specified text as its label.
getChildren() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 
getComments() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Get all the comments in a document, as a list of strings.
getCookies() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getCurrentPage() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getCurrentPageTitle() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return the page title of the current response page, encoded as specified by the current TestContext.
getCurrentWindow() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return the currently opened window (issue 2697234).
getDefaultBrowserVersion() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
An alternative to setting the user agent string manually is to provide it with all the information for a complete browser version.
getElement(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 
getElementAttributByXPath(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getElementByID(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getElementByXPath(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getElements(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 
getElementsByXPath(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getElementTextByXPath(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getForm() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return the current form active for the dialog.
getHeader(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getHiddenFieldValue(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return the current value of a hidden input element with name paramName.
getHtmlElement() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
Return the unwrapped HtmlUnit element that this IElement represents.
getInputStream() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getInputStream(URL) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getName() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 
getPageSource() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getPageText() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getPageTitle() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getPageURL() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getParent() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 
getResetButton(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getResponseHeaders() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getSelectedOptions(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getSelectedOptions(String, int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getSelectedRadio(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getSelectOptionLabelForValue(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getSelectOptionLabelForValue(String, int, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getSelectOptionValueForLabel(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getSelectOptionValueForLabel(String, int, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getSelectOptionValues(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return a string array of select box option values.
getSelectOptionValues(String, int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return a string array of the Nth select box option values.
getServerResponse() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getServerResponseCode() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getSubmitButton(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return the HtmlUnit submit button with a given name.
getSubmitButton(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return the HtmlUnit submit button with a given name and value.
getTable(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getTestContext() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
getTextContent() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 
getTextFieldValue(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return the current value of a text input element with name paramName.
getWebClient() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return the current web client (issue 2697234).
getWebResponse() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Get the last WebResponse from HtmlUnit.
getWindow(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return the window with the given name in the current conversation.
getWindowCount() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
gotoFrame(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
gotoPage(URL) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Go to a particular page.
gotoRootWindow() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
gotoWindow(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Make the window with the given name in the current conversation active.
gotoWindow(int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
gotoWindowByTitle(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Goto first window with the given title.

H

hasButton(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Returns if the button identified by buttonId is present.
hasButtonWithText(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Checks whether a button containing the specified text as its label exists.
hasElement(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
hasElementByXPath(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
hasForm() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return true if the current response contains a form.
hasForm(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return true if the current response contains a specific form.
hasForm(String, int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
hasFormParameterNamed(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
hasFormSelectNamed(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return true if a form parameter (input element) is present on the current response.
hasFrame(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
hashCode() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 
hasLink(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return true if a link is present in the current response with the specified id.
hasLinkWithExactText(String, int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
hasLinkWithImage(String, int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
hasLinkWithText(String, int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return true if a link is present in the current response containing the specified text (note that HttpUnit uses contains rather than an exact match - if this is a problem consider using ids on the links to uniquely identify them).
hasRadioOption(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return true if a radio group contains the indicated option.
hasResetButton() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
hasResetButton(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
hasSelectOption(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return true if a select box contains the indicated option.
hasSelectOption(String, int, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return true if the Nth select box contains the indicated option.
hasSelectOptionValue(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return true if a select box contains the indicated option.
hasSelectOptionValue(String, int, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return true if the Nth select box contains the indicated option.
hasSubmitButton() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
hasSubmitButton(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
hasSubmitButton(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
hasTable(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
hasWindow(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
hasWindowByTitle(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
HtmlUnitElementImpl - Class in net.sourceforge.jwebunit.htmlunit
HtmlUnit implementation of IElement wrapper.
HtmlUnitElementImpl(DomElement) - Constructor for class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 
HtmlUnitTestingEngineImpl - Class in net.sourceforge.jwebunit.htmlunit
Acts as the wrapper for HtmlUnit access.
HtmlUnitTestingEngineImpl() - Constructor for class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Initializes default HtmlUnit testing engine implementation.

I

isCheckboxSelected(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
isCheckboxSelected(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
isMatchInElement(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
isTextInElement(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
isTextInTable(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Return true if given text is present in a specified table of the response.

N

net.sourceforge.jwebunit.htmlunit - package net.sourceforge.jwebunit.htmlunit
 

R

reset() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Reset the current form.

S

selectOptions(String, String[]) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Select the specified set of options in the select element with the provided name.
selectOptions(String, int, String[]) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Select the specified set of options in the select element with the provided name.
setAttribute(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 
setAttribute(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 
setDefaultBrowserVersion(BrowserVersion) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
An alternative to setting the user agent string manually is to provide it with all the information for a complete browser version.
setExpectedJavaScriptAlert(JavascriptAlert[]) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
setExpectedJavaScriptConfirm(JavascriptConfirm[]) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
setExpectedJavaScriptPrompt(JavascriptPrompt[]) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
setHiddenField(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Set a form hidden element to the provided value.
setIgnoreFailingStatusCodes(boolean) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
setRefreshHandler(RefreshHandler) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
setScriptingEnabled(boolean) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
setTextContent(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 
setTextField(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Set a form text, password input element or textarea to the provided value.
setThrowExceptionOnScriptError(boolean) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
setTimeout(int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
setWorkingForm(int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
setWorkingForm(String, int) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
submit() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Submit the current form with the default submit button.
submit(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Submit the current form with the specified submit button.
submit(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Submit the current form with the specifed submit button (by name and value).

T

toString() - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitElementImpl
 

U

uncheckCheckbox(String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
Deselect a specified checkbox.
uncheckCheckbox(String, String) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
unselectOptions(String, String[]) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
unselectOptions(String, int, String[]) - Method in class net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl
 
B C E G H I N R S T U 
Skip navigation links

Copyright © 2002–2015 JWebUnit. All rights reserved.