daveayan.gherkinsalad.components.jqueryui.tabs
Class DefaultTabSelector

java.lang.Object
  extended by daveayan.gherkinsalad.AutomationObject
      extended by daveayan.gherkinsalad.components.core.BaseBrowserElement
          extended by daveayan.gherkinsalad.components.jqueryui.tabs.DefaultTabSelector
All Implemented Interfaces:
BrowserElement, CanBeDisabled, CanBeEnabled, Nullable, Tabs

public class DefaultTabSelector
extends BaseBrowserElement
implements Tabs


Field Summary
 
Fields inherited from class daveayan.gherkinsalad.AutomationObject
_name, browser, random
 
Method Summary
static Tabs find(By root)
           
 void remove_tab(String tab_to_remove)
           
 void select_tab(String tab_name)
           
 void selected_tab_should_be(String expected_selected_tab)
           
 void selected_tab_should_not_be(String expected_selected_tab)
           
 
Methods inherited from class daveayan.gherkinsalad.components.core.BaseBrowserElement
findElement, findElements, found, getText, has_text, isDisabled, isDisplayed, isEnabled, isNotDisplayed, name, 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface daveayan.gherkinsalad.components.core.Nullable
is_not_null, is_null
 

Method Detail

find

public static Tabs find(By root)

select_tab

public void select_tab(String tab_name)
Specified by:
select_tab in interface Tabs

selected_tab_should_be

public void selected_tab_should_be(String expected_selected_tab)
Specified by:
selected_tab_should_be in interface Tabs

selected_tab_should_not_be

public void selected_tab_should_not_be(String expected_selected_tab)
Specified by:
selected_tab_should_not_be in interface Tabs

remove_tab

public void remove_tab(String tab_to_remove)
Specified by:
remove_tab in interface Tabs


Copyright © 2013. All Rights Reserved.