public static class ComboBox.SapSelect_ComboBox extends ComboBox.AbstractSelect
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME_AUTOCOMPLETE |
static java.lang.String |
CLASS_NAME_COMBOBOX |
static java.lang.String |
CLASS_NAME_DROPDOWNBOX |
static java.lang.String |
CLASS_NAME_M_ACTIONSELECT |
static java.lang.String |
CLASS_NAME_M_COMBOBOX |
static java.lang.String |
CLASS_NAME_M_COMBOBOXBASE |
static java.lang.String |
CLASS_NAME_M_SELECT |
static java.lang.String[] |
supportedClazzes
sap.ui.commons.ComboBox
sap.m.Select
sap.m.ComboBoxBase
|
CLASS_NAME, isMulti
parent
Constructor and Description |
---|
SapSelect_ComboBox(Component component) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
getOptionsJSObject()
Execute javascript function to get a set of option object.
Normally the option javascript object will contain a few of properties, this object will be returned as a java Map object. |
java.lang.String[] |
getSupportedClassNames() |
void |
hidePopup() |
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.
|
void |
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_COMBOBOX
public static final java.lang.String CLASS_NAME_AUTOCOMPLETE
public static final java.lang.String CLASS_NAME_DROPDOWNBOX
public static final java.lang.String CLASS_NAME_M_SELECT
public static final java.lang.String CLASS_NAME_M_ACTIONSELECT
public static final java.lang.String CLASS_NAME_M_COMBOBOXBASE
public static final java.lang.String CLASS_NAME_M_COMBOBOX
public static final java.lang.String[] supportedClazzes
public SapSelect_ComboBox(Component component) throws SeleniumPlusException
webelement
- SeleniumPlusException
public java.lang.String[] getSupportedClassNames()
getSupportedClassNames
in interface Supportable
getSupportedClassNames
in class ComboBox.HtmlSelect
org.safs.selenium.webdriver.lib.SapSelect#getSupportedClassNames()
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.HtmlSelect
element
- WebElement, the element to check.org.safs.selenium.webdriver.lib.HtmlSelect#isSupported(WebElement)
protected boolean selectOption(java.lang.Object optionObject)
selectOption
in class ComboBox.HtmlSelect
protected java.lang.Object getOptionsJSObject()
getOptionsJSObject
in class ComboBox.AbstractSelect
ComboBox.AbstractSelect.getOptions()
public void hidePopup() throws SeleniumPlusException
hidePopup
in interface ComboBox.Selectable
hidePopup
in class ComboBox.HtmlSelect
SeleniumPlusException
public void showPopup() throws SeleniumPlusException
showPopup
in interface ComboBox.Selectable
showPopup
in class ComboBox.HtmlSelect
SeleniumPlusException
Copyright © SAS Institute. All Rights Reserved.