|
Ajocado Implementation 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.ajocado.locator.option.OptionLocatorFactory
public final class OptionLocatorFactory
Utility class simplifying creation of option locators of various types providing it's factories.
| Method Summary | |
|---|---|
static OptionIdLocator |
optionId(String id)
Locates the select option with specified id. |
static OptionIndexLocator |
optionIndex(int index)
Locates the select option based on its index (offset from zero). |
static OptionLabelLocator |
optionLabel(String label)
Locates select options based on their labels, i.e. |
static OptionValueLocator |
optionValue(String value)
Locates select options based on their values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static OptionIdLocator optionId(String id)
id - the id of select option
public static OptionIndexLocator optionIndex(int index)
index - the index of select option (offset from zero)
public static OptionLabelLocator optionLabel(String label)
Locates select options based on their labels, i.e. the visible text.
Can be regular expression: "regexp:^[Oo]ther"
label - the label for the select options (visible text).
public static OptionValueLocator optionValue(String value)
value - the value matching select options
|
Ajocado Implementation 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||