protected static class ComboBox.DojoSelect_ComboBox extends ComboBox.DojoSelect
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_DOJO_COMBOBOX |
static java.lang.String |
CLASS_DOJO_COMBOBOX_BUTTON |
static java.lang.String |
CLASS_DOJO_COMBOBOX_INPUT |
static java.lang.String |
CLASS_DOJO_COMBOBOX_MENU |
static java.lang.String |
CLASS_DOJO_COMBOBOX_MENUITEM |
static java.lang.String |
CLASS_DOJO_COMBOBOX_POPUP |
static java.lang.String |
CLASS_NAME |
static java.lang.String |
CLASS_POPUP_NAME |
static java.lang.String[] |
supportedClazzes |
static java.lang.String |
TAG_DOJO_COMBOBOX |
static java.lang.String |
TAG_DOJO_COMBOBOX_POPUP |
popup
isMulti
parent
Constructor and Description |
---|
DojoSelect_ComboBox(Component component) |
Modifier and Type | Method and Description |
---|---|
protected org.openqa.selenium.WebElement |
getPopup()
Some DOJO combo-box has an associated popup-menu, which can be used to select/click/count item.
This function will click the combo-box's button to load and show the associated popup-menu, then find the popup-menu. |
java.lang.String[] |
getSupportedClassNames() |
boolean |
isSupported(org.openqa.selenium.WebElement element)
The element will be used to create an instance of class
ComboBox.HtmlSelect or subclass. |
protected boolean |
selectOption(java.lang.Object optionObject)
Select an option of a combo box.
Set the attribute 'value' doesn't work for dijit/form/ComboBox, so try to set 'item' object. |
dojo_HasDropDown_closeDropDown, dojo_HasDropDown_isLoaded, dojo_HasDropDown_loadAndOpenDropDown, dojo_HasDropDown_openDropDown, getOptionsJSObject, hidePopup, showPopup
getOptions, selectByVisibleText
clearCache, deselectAll, deselectByIndex, deselectByValue, deselectByVisibleText, escapeQuotes, getAllSelectedOptions, getAllSelectedOptionsText, getFirstSelectedOption, getItemByIndex, getLongestSubstringWithoutSpace, getOptionsValue, getOptionsVisibleText, getOptionValue, getOptionVisibleText, isMultiple, isSelected, selectByIndex, selectByValue, setSelected
isShowOnPage, refresh, webelement
public static final java.lang.String CLASS_NAME
public static final java.lang.String CLASS_DOJO_COMBOBOX
public static final java.lang.String TAG_DOJO_COMBOBOX
public static final java.lang.String CLASS_DOJO_COMBOBOX_INPUT
public static final java.lang.String CLASS_DOJO_COMBOBOX_BUTTON
public static final java.lang.String CLASS_POPUP_NAME
public static final java.lang.String CLASS_DOJO_COMBOBOX_POPUP
public static final java.lang.String TAG_DOJO_COMBOBOX_POPUP
public static final java.lang.String CLASS_DOJO_COMBOBOX_MENU
public static final java.lang.String CLASS_DOJO_COMBOBOX_MENUITEM
public static final java.lang.String[] supportedClazzes
public DojoSelect_ComboBox(Component component) throws SeleniumPlusException
SeleniumPlusException
public boolean isSupported(org.openqa.selenium.WebElement element)
ComboBox.HtmlSelect
ComboBox.HtmlSelect
or subclass. HtmlSelect#HtmlSelect(WebElement)
or constructor of subclass,ComboBox.HtmlSelect
or subclass.isSupported
in interface Supportable
isSupported
in class ComboBox.DojoSelect
element
- WebElement, the element to check.org.safs.selenium.webdriver.lib.HtmlSelect#isSupported(WebElement)
public java.lang.String[] getSupportedClassNames()
getSupportedClassNames
in interface Supportable
getSupportedClassNames
in class ComboBox.HtmlSelect
org.safs.selenium.webdriver.lib.DojoSelect#getSupportedClassNames()
protected org.openqa.selenium.WebElement getPopup()
ComboBox.DojoSelect
getPopup
in class ComboBox.DojoSelect
org.safs.selenium.webdriver.lib.DojoSelect#getPopup()
protected boolean selectOption(java.lang.Object optionObject)
selectOption
in class ComboBox.DojoSelect
Copyright © SAS Institute. All Rights Reserved.