Package | Description |
---|---|
net.sourceforge.jwebunit.api | |
net.sourceforge.jwebunit.htmlunit | |
net.sourceforge.jwebunit.junit |
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 |
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.getElementById(String id)
Get an element for a particular ID.
|
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.
|
IElement |
WebTester.getElementByXPath(String xpath)
Get an element for a particular xpath.
|
Modifier and Type | Method and Description |
---|---|
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.getElementsByXPath(String xpath)
Get elements for a particular xpath.
|
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. |
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. |
Modifier and Type | Method and Description |
---|---|
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. |
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. |
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.
|
String |
WebTester.getLabeledFieldValue(String identifier,
IElement label)
Get the current value of a given labelled field.
|
Copyright © 2002–2016 JWebUnit. All rights reserved.