Package | Description |
---|---|
net.sourceforge.jwebunit.api | |
net.sourceforge.jwebunit.htmlunit | |
net.sourceforge.jwebunit.junit | |
net.sourceforge.jwebunit.webdriver |
Modifier and Type | Method and Description |
---|---|
IElement |
IElement.getElement(String xpath)
Get an element from this element by xpath.
|
IElement |
ITestingEngine.getElementByID(String id)
Get an element wrapper for a given ID.
|
IElement |
ITestingEngine.getElementByXPath(String xpath)
Get an element wrapper for a given xpath.
|
IElement |
IElement.getParent()
Get the parent element, or
null if none exists. |
Modifier and Type | Method and Description |
---|---|
List<IElement> |
IElement.getChildren()
Get direct child elements of this element.
|
List<IElement> |
IElement.getElements(String xpath)
Get all elements from this element by xpath.
|
List<IElement> |
ITestingEngine.getElementsByXPath(String xpath)
Get a list of all elements that match the given xpath.
|
Modifier and Type | Class and Description |
---|---|
class |
HtmlUnitElementImpl
HtmlUnit implementation of IElement wrapper.
|
Modifier and Type | Method and Description |
---|---|
IElement |
HtmlUnitElementImpl.getElement(String xpath) |
IElement |
HtmlUnitTestingEngineImpl.getElementByID(String id) |
IElement |
HtmlUnitTestingEngineImpl.getElementByXPath(String xpath) |
IElement |
HtmlUnitElementImpl.getParent() |
Modifier and Type | Method and Description |
---|---|
List<IElement> |
HtmlUnitElementImpl.getChildren() |
List<IElement> |
HtmlUnitElementImpl.getElements(String xpath) |
List<IElement> |
HtmlUnitTestingEngineImpl.getElementsByXPath(String xpath) |
Modifier and Type | Method and Description |
---|---|
IElement |
WebTester.getElementById(String id)
Get an element for a particular ID.
|
IElement |
WebTestCase.getElementById(String id)
Deprecated.
Get an element for a particular ID.
|
static IElement |
JWebUnit.getElementById(String id)
Get an element for a particular ID.
|
IElement |
WebTester.getElementByXPath(String xpath)
Get an element for a particular xpath.
|
IElement |
WebTestCase.getElementByXPath(String xpath)
Deprecated.
Get an element for a particular xpath.
|
static IElement |
JWebUnit.getElementByXPath(String xpath)
Get an element for a particular xpath.
|
Modifier and Type | Method and Description |
---|---|
List<IElement> |
WebTester.getElementsByXPath(String xpath)
Get elements for a particular xpath.
|
List<IElement> |
WebTestCase.getElementsByXPath(String xpath)
Deprecated.
Get elements for a particular xpath.
|
static List<IElement> |
JWebUnit.getElementsByXPath(String xpath)
Get elements for a particular xpath.
|
List<IElement> |
WebTester.getFieldsForLabel(IElement label)
Get all the fields of type
input , textarea or select
that are referenced or contained in a particular label. |
List<IElement> |
WebTestCase.getFieldsForLabel(IElement label)
Deprecated.
Get all the fields of type
input , textarea or select
that are referenced or contained in a particular label. |
static List<IElement> |
JWebUnit.getFieldsForLabel(IElement label)
Get all the fields of type
input , textarea or select
that are referenced or contained in a particular label. |
Modifier and Type | Method and Description |
---|---|
List<IElement> |
WebTester.getFieldsForLabel(IElement label)
Get all the fields of type
input , textarea or select
that are referenced or contained in a particular label. |
List<IElement> |
WebTestCase.getFieldsForLabel(IElement label)
Deprecated.
Get all the fields of type
input , textarea or select
that are referenced or contained in a particular label. |
static List<IElement> |
JWebUnit.getFieldsForLabel(IElement label)
Get all the fields of type
input , textarea or select
that are referenced or contained in a particular label. |
String |
WebTester.getLabeledFieldValue(String identifier,
IElement label)
Get the current value of a given labelled field.
|
String |
WebTestCase.getLabeledFieldValue(String identifier,
IElement label)
Deprecated.
Get the current value of a given labelled field.
|
static String |
JWebUnit.getLabeledFieldValue(String identifier,
IElement label)
Get the current value of a given labelled field.
|
Modifier and Type | Class and Description |
---|---|
class |
WebDriverElementImpl
Webdriver implementation of IElement wrapper.
|
Modifier and Type | Method and Description |
---|---|
IElement |
WebDriverElementImpl.getElement(String xpath) |
IElement |
WebDriverTestingEngineImpl.getElementByID(String id) |
IElement |
WebDriverTestingEngineImpl.getElementByXPath(String xpath) |
IElement |
WebDriverElementImpl.getParent() |
Modifier and Type | Method and Description |
---|---|
List<IElement> |
WebDriverElementImpl.getChildren() |
List<IElement> |
WebDriverElementImpl.getElements(String xpath) |
List<IElement> |
WebDriverTestingEngineImpl.getElementsByXPath(String xpath) |
Copyright © 2002-2015 JWebUnit. All Rights Reserved.