Class Overview
This class is pageobject for DropdownSelect.js object
Summary
Public Constructors |
|
DropdownSelect(PageElement context, By triggerLocator, By dropdownLocator)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Fields
protected
PageElementActions
actions
protected
PageElementFinder
elementFinder
Public Constructors
public
DropdownSelect
(PageElement context, By triggerLocator, By dropdownLocator)
Public Methods
public
void
pickOption
(String onListId)
List.js used in DropdownSelect.js creates (not very reliable) IDs for every list item.
IDs are stored as classes "aui-list-item-li-{onListId}". For test purposes it is enough to locate element.
Example:
public
void
waitForClose
()
public
void
waitForOpen
()
Protected Methods
protected
PageElement
dropDown
()
protected
PageElement
getDropDownItem
(By locator)
protected
PageElement
trigger
()