public final class DropDown
extends org.testatoo.core.component.DropDown
| Constructor and Description |
|---|
DropDown(HtmlEvaluator evaluator,
String id)
Class constructor specifying the evaluator to use and the id of the "select" element we want to test.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.testatoo.core.Selection<String> |
listSelectedValues()
To get a Selection content the selected value in the list
|
void |
select(String value)
To select a given value in the list.
|
String |
selectedValue()
To get the selected value in the list.
|
org.testatoo.core.Selection<String> |
values()
To get the values in the list.
|
public DropDown(HtmlEvaluator evaluator, String id)
evaluator - a UI Test engine specific html evaluatorid - the id (unique) of the "select" elementorg.testatoo.core.ComponentException - if the id is a multiple selectpublic org.testatoo.core.Selection<String> values()
values in class org.testatoo.core.component.ListModelpublic void select(String value)
select in class org.testatoo.core.component.ListModelvalue - the value we want to selectpublic String selectedValue()
selectedValue in interface org.testatoo.core.nature.SimpleSelectableselectedValue in class org.testatoo.core.component.DropDownprotected org.testatoo.core.Selection<String> listSelectedValues()
listSelectedValues in class org.testatoo.core.component.ListModelCopyright © 2008-2012 Ovea. All Rights Reserved.