Class Overview
This will locate HTML tables by 'tableId' and return the com.meterware.httpunit.WebTable ready for more
assertions. It also returns the org.w3c.dom.Node that makes up the table as well as its combined text.
Summary
Public Methods |
Node[]
|
getNodes()
|
WebTable
|
getTable()
This will return the com.meterware.httpunit.WebTable using the tableId passed in on contruction of this Locator.
|
Public Constructors
public
TableLocator
(WebTester tester, String tableId)
Public Methods
public
Node[]
getNodes
()
public
WebTable
getTable
()
This will return the com.meterware.httpunit.WebTable using the tableId passed in on contruction of this Locator.
Returns
- a com.meterware.httpunit.WebTable with the specified id
Throws
RuntimeException
| if the underlying net.sourceforge.jwebunit.WebTester is not in a good place.
|