public abstract class AbstractPopupMenu extends Object implements PopupMenu, AdvancedVisibleComponentIteractions<AbstractPopupMenu.AdvancedPopupMenuInteractions>
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPopupMenu.AdvancedPopupMenuInteractions |
| Constructor and Description |
|---|
AbstractPopupMenu() |
| Modifier and Type | Method and Description |
|---|---|
abstract AbstractPopupMenu.AdvancedPopupMenuInteractions |
advanced() |
protected String |
getNameOfFragment()
Returns the name of the actual page fragment.
|
protected org.openqa.selenium.WebElement |
getRootElement() |
void |
selectItem(ChoicePicker picker)
Selects the menu item according to the rules defined in the
picker param. |
void |
selectItem(ChoicePicker picker,
org.openqa.selenium.WebElement target)
Selects the menu item according to the rules defined in the
picker param. |
void |
selectItem(int index)
Selects the menu item according to its index in the list of all menu items.
|
void |
selectItem(int index,
org.openqa.selenium.WebElement target)
Selects the menu item according to its index in the list of all menu items.
|
void |
selectItem(String header)
Selects the menu item according to the exact match of its text representation with passed
header param. |
void |
selectItem(String header,
org.openqa.selenium.WebElement target)
Selects the menu item according to the exact match of its text representation with passed
header param. |
protected String getNameOfFragment()
protected org.openqa.selenium.WebElement getRootElement()
public abstract AbstractPopupMenu.AdvancedPopupMenuInteractions advanced()
advanced in interface AdvancedInteractions<AbstractPopupMenu.AdvancedPopupMenuInteractions>public void selectItem(ChoicePicker picker)
PopupMenupicker param.selectItem in interface PopupMenupicker - for defining the rules by which the item will be selectedpublic void selectItem(String header)
PopupMenuheader param.selectItem in interface PopupMenuheader - text representation of the menu item to be selectedpublic void selectItem(int index)
PopupMenuselectItem in interface PopupMenuindex - zero based index of the item to be selectedpublic void selectItem(ChoicePicker picker, org.openqa.selenium.WebElement target)
PopupMenupicker param.selectItem in interface PopupMenupicker - for defining the rules by which the item will be selectedtarget - for defining the popup menu which will be invoked and from which the item will be selectedpublic void selectItem(String header, org.openqa.selenium.WebElement target)
PopupMenuheader param.selectItem in interface PopupMenuheader - text representation of the menu item to be selectedtarget - for defining the popup menu which will be invoked and from which the item will be selectedpublic void selectItem(int index,
org.openqa.selenium.WebElement target)
PopupMenuselectItem in interface PopupMenuindex - zero based index of the item to be selectedtarget - for defining the popup menu which will be invoked and from which the item will be selectedCopyright © 2014 JBoss by Red Hat. All Rights Reserved.