public final class Table extends org.testatoo.core.component.datagrid.DataGrid implements Coreattrs, I18n, org.testatoo.core.nature.Container
| Constructor and Description |
|---|
Table(HtmlEvaluator evaluator,
String id)
Class constructor specifying the evaluator to use and the id of the table element we want to test.
|
| Modifier and Type | Method and Description |
|---|---|
int |
border()
To get the border attribute of the table (width in pixels of the frame around a table).
|
Caption |
caption()
To get the "caption" element corresponding to the table.
|
String |
cellpadding()
To get the cellpadding attribute of the table.
|
String |
cellspacing()
To get the cellspacing attribute of the table.
|
String |
classname()
To get the class attribute of an html element
|
org.testatoo.core.Selection<Colgroup> |
colgroups()
To get the groups of columns of the table.
|
org.testatoo.core.Selection<Col> |
cols()
To get the columns of the table.
|
Boolean |
contains(org.testatoo.core.component.Component... components)
To know if the table contains all the given components.
|
Direction |
direction()
To get the direction attribute of the html element
|
TFrame |
frame()
To get the frame attribute of the table.
|
String |
language()
To get the language attribute of the html element
|
TRules |
rules()
To get the rules attribute of the table.
|
String |
style()
To get the style attribute of an html element
|
String |
summary()
To get the summary attribute of the table (summary of the data represented in the table).
|
TBody |
tbody()
To get the tbody attribute of the table (table rows grouped into a body section).
|
TFoot |
tfoot()
To get the tfoot attribute of the table (table rows grouped into a foot section).
|
THead |
thead()
To get the thead attribute of the table (table rows grouped into a head section).
|
String |
title()
To get the title attribute of an html element
|
org.testatoo.core.Selection<Tr> |
tr()
To get the list of rows ("tr" elements) of the table.
|
String |
width()
To get the width attribute of the table.
|
column, columns, row, rows, toStringcheckIsExpectedComponent, equals, hasFocus, hashCode, id, isDisabled, isEnabled, isVisiblepublic Table(HtmlEvaluator evaluator, String id)
evaluator - a UI Test engine specific html evaluatorid - the id (unique) of the table elementorg.testatoo.core.ComponentException - if the given id does not correspond to a "table" elementpublic String classname()
Coreattrsclassname in interface CoreattrsCoreAttributeSupportpublic String style()
Coreattrsstyle in interface CoreattrsCoreAttributeSupportpublic String title()
Coreattrstitle in interface CoreattrsCoreAttributeSupportpublic String language()
I18nlanguage in interface I18nI18nAttributeSupportpublic Direction direction()
I18ndirection in interface I18nI18nAttributeSupportpublic Boolean contains(org.testatoo.core.component.Component... components)
contains in interface org.testatoo.core.nature.Containercomponents - components we want to know if contained in the tablepublic String summary()
public String width()
public int border()
public TFrame frame()
public TRules rules()
public String cellspacing()
public String cellpadding()
public Caption caption()
public THead thead()
public TBody tbody()
public TFoot tfoot()
public org.testatoo.core.Selection<Col> cols()
public org.testatoo.core.Selection<Colgroup> colgroups()
public org.testatoo.core.Selection<Tr> tr()
Copyright © 2008-2012 Ovea. All Rights Reserved.