daveayan.gherkinsalad.components.tinymce
Class TinyMceEditor

java.lang.Object
  extended by daveayan.gherkinsalad.AutomationObject
      extended by daveayan.gherkinsalad.components.core.BaseBrowserElement
          extended by daveayan.gherkinsalad.components.core.Component
              extended by daveayan.gherkinsalad.components.tinymce.TinyMceEditor
All Implemented Interfaces:
BrowserElement, CanBeDisabled, CanBeEnabled, Nullable, Clickable, TextEnterable

public class TinyMceEditor
extends Component
implements TextEnterable


Field Summary
 
Fields inherited from class daveayan.gherkinsalad.AutomationObject
_name, browser, random
 
Constructor Summary
TinyMceEditor()
           
 
Method Summary
 void append_text_if_enabled(String text)
           
 void click_if_enabled()
           
 void click_if_exists_and_enabled()
           
 void enter_text_if_enabled(String text)
           
static TinyMceEditor find_iframe(String nameOrId)
           
 String getText()
           
 boolean isEnabled()
           
 
Methods inherited from class daveayan.gherkinsalad.components.core.Component
find
 
Methods inherited from class daveayan.gherkinsalad.components.core.BaseBrowserElement
findElement, findElements, found, has_text, isDisabled, isDisplayed, 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.BrowserElement
found, 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
 
Methods inherited from interface daveayan.gherkinsalad.components.core.CanBeDisabled
isDisabled
 
Methods inherited from interface daveayan.gherkinsalad.components.core.Nullable
is_not_null, is_null
 

Constructor Detail

TinyMceEditor

public TinyMceEditor()
Method Detail

find_iframe

public static TinyMceEditor find_iframe(String nameOrId)

getText

public String getText()
Specified by:
getText in interface BrowserElement
Overrides:
getText in class BaseBrowserElement

click_if_enabled

public void click_if_enabled()
Specified by:
click_if_enabled in interface Clickable

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface CanBeEnabled
Overrides:
isEnabled in class BaseBrowserElement

enter_text_if_enabled

public void enter_text_if_enabled(String text)
Specified by:
enter_text_if_enabled in interface TextEnterable

append_text_if_enabled

public void append_text_if_enabled(String text)
Specified by:
append_text_if_enabled in interface TextEnterable

click_if_exists_and_enabled

public void click_if_exists_and_enabled()
Specified by:
click_if_exists_and_enabled in interface Clickable


Copyright © 2013. All Rights Reserved.