public class TableLocator extends AbstractLocator
WebTable
ready for more
assertions. It also returns the Node
that makes up the table as well as its combined text.AbstractLocator.LocatorTextOperation
nodes, originalWebResponse, tester
Constructor and Description |
---|
TableLocator(net.sourceforge.jwebunit.WebTester tester,
String tableId) |
Modifier and Type | Method and Description |
---|---|
Node[] |
getNodes()
A
Locator may return 0 nodes, 1 node or multiple nodes. |
com.meterware.httpunit.WebTable |
getTable()
This will return the
WebTable using the tableId passed in on contruction of this Locator. |
allMatches, betterNode, containsNode, exists, getDOM, getHTML, getHTML, getNode, getNodesTextImpl, getNodeTextImpl, getRawText, getRawText, getText, getText, getWebResponse, hasNodes, iterator, toStringImpl
public TableLocator(net.sourceforge.jwebunit.WebTester tester, String tableId)
public Node[] getNodes()
Locator
Locator
may return 0 nodes, 1 node or multiple nodes.
public com.meterware.httpunit.WebTable getTable()
WebTable
using the tableId passed in on contruction of this Locator.WebTable
with the specified idRuntimeException
- if the underlying WebTester
is not in a good place.Copyright © 2002-2015 Atlassian. All Rights Reserved.