com.atlassian.jira.functest.framework.locator
Class TableCellLocator
java.lang.Object
com.atlassian.jira.functest.framework.locator.AbstractLocator
com.atlassian.jira.functest.framework.locator.TableCellLocator
- All Implemented Interfaces:
- Locator
public class TableCellLocator
- extends AbstractLocator
Locator to run test assertions on a single table cell.
Constructor Summary |
TableCellLocator(net.sourceforge.jwebunit.WebTester tester,
String tableId,
int row,
int col)
|
Methods inherited from class com.atlassian.jira.functest.framework.locator.AbstractLocator |
allMatches, betterNode, containsNode, exists, getDOM, getHTML, getHTML, getNode, getNodesTextImpl, getNodeTextImpl, getRawText, getRawText, getText, getText, getWebResponse, hasNodes, iterator, toStringImpl |
TableCellLocator
public TableCellLocator(net.sourceforge.jwebunit.WebTester tester,
String tableId,
int row,
int col)
getTableCell
public com.meterware.httpunit.TableCell getTableCell()
getNodes
public Node[] getNodes()
- Description copied from interface:
Locator
- A
Locator
may return 0 nodes, 1 node or multiple nodes.
- Returns:
- a non null array of Nodes that match, or a zero sized array of no matches are made
getRow
public int getRow()
getCol
public int getCol()
toString
public String toString()
- Description copied from interface:
Locator
- A meaningful "debugging" representation of this Locator to help when test fail.
- Specified by:
toString
in interface Locator
- Overrides:
toString
in class Object
- Returns:
- A meaningful "debugging" representation of this Locator to help when test fail.
Copyright © 2002-2014 Atlassian. All Rights Reserved.