org.seleniuminspector.html
Class TableRowInspector

java.lang.Object
  extended by org.seleniuminspector.ElementInspector
      extended by org.seleniuminspector.ElementByReferenceInspector
          extended by org.seleniuminspector.html.TableRowInspector

public class TableRowInspector
extends ElementByReferenceInspector


Constructor Summary
TableRowInspector(TableSectionInspector section, ElementInspector row)
           
TableRowInspector(TableSectionInspector section, int rowIndex)
           
 
Method Summary
 void assertCellParams(TableCellParams[] cellParamsArray)
          Ensures that this row's cells are specified correctly according to the passed parameters.
 void assertCellStyles(java.lang.String style)
          Checks that all of the CSS property declarations specified in the passed style are actually applied to all of this row's cells.
 TableCellInspector cell(int cellIndex)
           
 int cellCount()
           
protected  TableSectionInspector getSection()
           
 
Methods inherited from class org.seleniuminspector.ElementByReferenceInspector
getElementReferenceExpression, toString
 
Methods inherited from class org.seleniuminspector.ElementInspector
adaptColorString, adaptFontWeightString, asSeleniumLocator, assertAttribute, assertAttributeStartsWith, assertContainsText, assertElementExists, assertElementExists, assertExpressionEquals, assertExpressionEquals, assertExpressionEquals, assertExpressionEquals, assertExpressionStartsWith, assertHeight, assertHeight, assertNodeName, assertPosition, assertPosition, assertSize, assertSize, assertStyle, assertSubtext, assertText, assertVisible, assertWidth, assertWidth, attribute, calculateStyleProperty, childNodes, childNodesByName, className, click, clickAndWait, clickAndWait, doubleClick, dragAndDrop, elementExists, escapeStringForJS, escapeStringForJSAndQuote, evalBooleanExpression, evalExpression, evalIntExpression, evalSeleniumInspectorExpression, executeSeleniumCommand, fireEvent, fireEvent, firstChild, focus, getElementsByScript, getElementsByTagName, getSelenium, hasChildNodes, id, isCommentNode, isDocumentNode, isTextNode, isVisible, keyDown, keyDown, keyPress, keyPress, keyUp, keyUp, lastChild, mouseDown, mouseMove, mouseOut, mouseOver, mouseUp, nextSibling, nodeName, nodeValue, parentNode, position, previousSibling, rectangle, selectByLabel, selectOptions, setCursorPosition, size, sleep, subElement, text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableRowInspector

public TableRowInspector(TableSectionInspector section,
                         int rowIndex)

TableRowInspector

public TableRowInspector(TableSectionInspector section,
                         ElementInspector row)
Method Detail

getSection

protected TableSectionInspector getSection()

assertCellParams

public void assertCellParams(TableCellParams[] cellParamsArray)
Ensures that this row's cells are specified correctly according to the passed parameters.

Parameters:
cellParamsArray - that contains expected parameters for all of the row's cells. The size of this array should be the same as the number of cells in this row.

cell

public TableCellInspector cell(int cellIndex)

cellCount

public int cellCount()

assertCellStyles

public void assertCellStyles(java.lang.String style)
Checks that all of the CSS property declarations specified in the passed style are actually applied to all of this row's cells.



Copyright © 1998-2009 TeamDev Ltd. All Rights Reserved.