daveayan.gherkinsalad.components.jqueryui.selectmenu
Class DefaultSelectMenu
java.lang.Object
daveayan.gherkinsalad.AutomationObject
daveayan.gherkinsalad.components.core.BaseBrowserElement
daveayan.gherkinsalad.components.core.Component
daveayan.gherkinsalad.components.html.impl.SingleOptionSelectableDropDown
daveayan.gherkinsalad.components.jqueryui.selectmenu.DefaultSelectMenu
- All Implemented Interfaces:
- BrowserElement, CanBeDisabled, CanBeEnabled, Nullable, SingleOptionSelectable
public class DefaultSelectMenu
- extends SingleOptionSelectableDropDown
- implements SingleOptionSelectable
| Methods inherited from class daveayan.gherkinsalad.components.core.BaseBrowserElement |
findElement, findElements, found, getText, has_text, isDisabled, isDisplayed, isNotDisplayed, name, root_element, root_elements, should_be_disabled, should_be_displayed, should_be_enabled, should_have_text, should_not_be_displayed, should_not_have_text, toString |
| Methods inherited from class daveayan.gherkinsalad.AutomationObject |
action, and, ask, close_browser, error, execute_async_javascript, execute_javascript, feature, given, goto_url, info, is_not_null, is_not_null, is_null, is_null, javascript_authentication, javascript_popup_click_ok, javascript_popup_dismiss, launch_browser, scenario, switch_to_default_window, switch_to_window_with_name, takeScreenshot, task, then, thisIsNamedElement, verify_profile, wait_between_steps_plus, wait_between_steps, wait_for_seconds, warn, when |
| Methods inherited from interface daveayan.gherkinsalad.components.core.BrowserElement |
found, getText, has_text, isDisplayed, isNotDisplayed, name, should_be_disabled, should_be_displayed, should_be_enabled, should_have_text, should_not_be_displayed, should_not_have_text |
DefaultSelectMenu
public DefaultSelectMenu()
find
public static DefaultSelectMenu find(By locator)
get_all_options
public Strings get_all_options()
- Specified by:
get_all_options in interface SingleOptionSelectable- Overrides:
get_all_options in class SingleOptionSelectableDropDown
get_selected_option_text
public String get_selected_option_text()
- Specified by:
get_selected_option_text in interface SingleOptionSelectable- Overrides:
get_selected_option_text in class SingleOptionSelectableDropDown
select_code_if_enabled
public void select_code_if_enabled(String arg0)
- Specified by:
select_code_if_enabled in interface SingleOptionSelectable- Overrides:
select_code_if_enabled in class SingleOptionSelectableDropDown
select_option_if_enabled
public void select_option_if_enabled(String option)
- Specified by:
select_option_if_enabled in interface SingleOptionSelectable- Overrides:
select_option_if_enabled in class SingleOptionSelectableDropDown
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled in interface CanBeEnabled- Overrides:
isEnabled in class BaseBrowserElement
Copyright © 2013. All Rights Reserved.