public interface HtmlEvaluator
extends org.testatoo.core.Evaluator<com.thoughtworks.selenium.Selenium>
| Modifier and Type | Method and Description |
|---|---|
org.testatoo.core.Selection<Area> |
areas(Map map)
To get the areas on a given map.
|
String |
attribute(String id,
Attribute attribute)
To get the value of an attribute of the html element with a given id
|
Caption |
caption(Table table)
To get the caption of a given table
|
org.testatoo.core.Selection<Colgroup> |
colgroups(Table table)
To get the columns groups of a given table
|
org.testatoo.core.Selection<Col> |
cols(Colgroup colgroup)
To get the columns in a given colgroup
|
org.testatoo.core.Selection<Col> |
cols(Table table)
To get the columns of a given table
|
String |
content(org.testatoo.core.component.Component component)
To get the content of a given component
|
String |
content(Option option)
To get the content of a given option.
|
String[] |
elementsId(String path)
To get the ids of the html elements corresponding to a given path
|
Boolean |
exist(String id,
Attribute attribute)
To know if an attribute is present for a given component.
|
HtmlElementType |
htmlElementType(String id)
To get the html type of the element with a given id
|
Boolean |
isReadOnly(org.testatoo.core.component.Field field)
To know if a field is read-only.
|
String |
label(Option option)
To get the label of a given option.
|
String |
label(OptionGroup optionGroup)
To get the label of a given option group.
|
String |
nodename(org.testatoo.core.component.Component component)
To know the nodename for a given component.
|
String |
nodeTextContent(org.testatoo.core.component.Component component)
To get the content of a given component.
|
void |
open(String url)
To open the page corresponding to the given url
|
org.testatoo.core.Selection<OptionGroup> |
optionGroups(Select select)
To get the option groups in a given select.
|
org.testatoo.core.Selection<Option> |
options(OptionGroup optionGroup)
To get the options in a given option group.
|
org.testatoo.core.Selection<Option> |
options(Select select)
To get the options in a given select.
|
String |
pageId() |
String |
pageSource()
To get the current page source
|
org.testatoo.core.Selection<Param> |
params(Object object)
To get the parameters of a given object.
|
void |
reset(Form form)
To reset a given form.
|
Boolean |
selected(Option option)
To know if an option is selected.
|
org.testatoo.core.Selection<Option> |
selectedOptions(Select select)
To get the selected options in a given select
|
void |
submit(Form form)
To submit a given form.
|
TBody |
tbody(Table table)
To get the Tbody of a given table
|
org.testatoo.core.Selection<Td> |
td(Tr tr)
To get the td elements of a given Tr
|
TFoot |
tfoot(Table table)
To get the Tfoot of a given table
|
org.testatoo.core.Selection<Th> |
th(Tr tr)
To get the th elements of a given Tr
|
THead |
thead(Table table)
To get the Thead of a given table
|
org.testatoo.core.Selection<Tr> |
tr(org.testatoo.core.component.Component component)
To get the tr elements of a given component (Table, TBody, THead or TFoot)
|
buttons, buttons, cells, check, click, close, columns, componentType, contains, doubleClick, dragAndDrop, evaluate, existComponent, focusOn, hasFocus, icon, implementation, isChecked, isEnabled, isVisible, keyDown, label, maxLength, message, message, message, mouseOut, mouseOver, name, press, reference, release, release, reset, rows, select, selectedFilePath, selectedValues, selectFilePath, setI18nCharConverter, source, text, title, type, unCheck, unselect, unselectAll, value, valuesString attribute(String id, Attribute attribute)
id - the id of the html elementattribute - the attributevoid open(String url)
open in interface org.testatoo.core.Evaluator<com.thoughtworks.selenium.Selenium>url - the url of the pageString pageSource()
pageSource in interface org.testatoo.core.Evaluator<com.thoughtworks.selenium.Selenium>org.testatoo.core.Selection<Option> options(Select select)
select - the given selectorg.testatoo.core.Selection<OptionGroup> optionGroups(Select select)
select - the given selectorg.testatoo.core.Selection<Option> selectedOptions(Select select)
select - the listorg.testatoo.core.Selection<Option> options(OptionGroup optionGroup)
optionGroup - the given option grouporg.testatoo.core.Selection<Param> params(Object object)
object - the given objectorg.testatoo.core.Selection<Area> areas(Map map)
map - the given mapBoolean selected(Option option)
option - the given optionString content(Option option)
option - the given optionString label(Option option)
option - the given optionString label(OptionGroup optionGroup)
optionGroup - the given option groupvoid submit(Form form)
form - the given formvoid reset(Form form)
form - the given formBoolean isReadOnly(org.testatoo.core.component.Field field)
field - the given fieldString[] elementsId(String path)
path - the path for the html elementsHtmlElementType htmlElementType(String id)
id - the id of the html elementorg.testatoo.core.Selection<Col> cols(Colgroup colgroup)
colgroup - the given colgroupCaption caption(Table table)
table - the given tableString content(org.testatoo.core.component.Component component)
component - the given componentTHead thead(Table table)
table - the given tableTBody tbody(Table table)
table - the given tableorg.testatoo.core.Selection<Col> cols(Table table)
table - the given tableorg.testatoo.core.Selection<Colgroup> colgroups(Table table)
table - the given tableTFoot tfoot(Table table)
table - the given tableorg.testatoo.core.Selection<Tr> tr(org.testatoo.core.component.Component component)
component - the given componentorg.testatoo.core.Selection<Td> td(Tr tr)
tr - the given Trorg.testatoo.core.Selection<Th> th(Tr tr)
tr - the given TrString nodeTextContent(org.testatoo.core.component.Component component)
component - the given componentBoolean exist(String id, Attribute attribute)
id - the id of the componentattribute - the attribute we want to know if presentString nodename(org.testatoo.core.component.Component component)
component - the given componentString pageId()
Copyright © 2008-2012 Ovea. All Rights Reserved.